3

vi can not show the first line!!!

view full story
linux-howto

http://www.linuxquestions.org – Hi all! I just use The traditional VI (http://ex-vi.sourceforge.net/) ex-050325.tar.bz2 as my editor. All things are going fine until yesterday. I found that 'vi myfile.txt' in command line (bash shell) can not display the first line of myfile.txt properly. The problem is that the first 20 characters (or so) of the first line do not show on my screen. So I can not edit them. All the other lines are fine. While 'cat myfile.txt' shows the content perfectly. Everything is fine if I issue 'vi myfile.txt' in an x-term (i.e. vi works pretty well within X Window) Any ideas to fix this problem? Thanks for your time!! (HowTos)