Welcome! Log In Create A New Profile

Advanced

newbie/strange problem with vi

Posted by funtoy1001 
newbie/strange problem with vi
October 29, 2010 04:48PM
Installed uboot with http://jeff.doozan.com/debian/uboot/
installed debian squeeze with http://jeff.doozan.com/debian/uboot/
reboot to debian fine but have an issue with vi
When I start vi from putty on a Win7 machine, I can use the cursor keys to move around on my file. However, I can't do that any more if vi is in insert mode. upper arrow will insert a blank line over the cursor and display a upper A. Down arrow will do the same except B is displayed. Left arrow is D and right arrow is C.
With the same putty, I can use vi fine with another machine.
Is this a configuration issue?
Thanks.



Edited 2 time(s). Last edit at 10/30/2010 12:14AM by funtoy1001.
Re: newbie/strange problem with vi
October 30, 2010 12:06PM
Have you already installed vim on your dockstar? vim replaces vi with a more functional version.
apt-get install vim
Re: newbie/strange problem with vi
October 30, 2010 12:22PM
No, I have not tried vim because I am using nano. I just surprised why cursor keys work when in non-insert mode but not in insert mode.

I just installed vim and it works and has no issues with cursor keys! Thanks.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: