Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Vi Question< Next Oldest | Next Newest >
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Nov. 06 2005,16:26 QUOTE

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.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Nov. 06 2005,16:58 QUOTE

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.
Back to top
Profile PM 
adssse Offline





Group: Members
Posts: 505
Joined: Mar. 2005
Posted: Nov. 07 2005,01:30 QUOTE

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?
Back to top
Profile PM 
supertrekkie
Unregistered






Posted: Nov. 10 2005,03:45 QUOTE

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.
Back to top
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 10 2005,04:21 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
9 replies since Nov. 06 2005,16:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Vi Question

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code