My ubuntu linux is version 7.10. I installed Gvim (Vim for X Window) yesterday, but it has a serious problem: I cannot enter correct character with keyboard. For instance, I press 'g', but it shows 'h'. I've searched this problem on Google and found a very simple solution.
Just use your favourite text editor to open /etc/vim/gvimrc and find the lines:
set guifont=Bitstream\ Vera\ Sans\ Mono\ 12
The five lines should be commented with quotes. Just remove it. Now save it and restart Gvim. If everything is OK, it should work.