Apps :: Vi Question



When I am using Vi and am in insert mode some keys are not working right. When I press the up arrow it displays a 'A' instead of moving up a line and the down arrow displays a 'B' instead of moving down a line.  Also I have to ssh into a red hat server for school. When using vi on there the backspace key displays '^?' instead of backspacing. This happens on both my desktop and laptop. Not sure what other information to provide but any help would be appreciated.
Are you using dsl embeded?  I was having this issue about a year ago, and it was with dsl embeded.  At the time people thought it was a qemu problem since dsl worked fine from the live cd.
Nope, I am using a 1.5 frugal install on both systems. When I am using the other system over ssh I have always had that problem, but for some reason it doesnt happen on my windows machine. On my own dsl systems it hadnt done it before and I just tried it by starting a new file and it isnt doing it now. Kinda wierd. Any ideas?
There's not problem, you're just using vi instead of vim. The original vi does not support the arrow keys or the backspace, just go to command mode and navigate or delete as needed. It may take some getting used to for the first few minutes, but after 10 minutes or so you won't even notice.
actually vi in DSL is vim, as far as i know...it just has some things not compiled into it to save space (and uses the "vi" command for some reason).
The backspace and arrow keys will work in insert mode, but i don't know exactly what causes them to not work in the default configuration. I'm guessing it has to do with .vimrc.  I copied mine from another system, and the settings in it allowed the use of backspace and arrows.

Next Page...
original here.