PDA

View Full Version : Problem in Linux console


kishorekumar
Nov 30, 2006, 10:05 PM
Hi,

I connected to a linux server (cvs server) from windows using Putty.exe by telnet or SSH.
And I opened a file using vi command. But the problem is when I press functional keys(del key, arrow keys) and number keys... it is displaying some characters or some sequence character. It became a problem to me when I want to move the cursor or want to delete a character. Please Help me...

cajalat
Dec 14, 2006, 05:16 AM
You probably have figured this out by now but in case you didn't (or if someone else is having a similar problem) the problem might be with the use of VI. VI does not understand the Del key unless you are in Insert mode. To delete a character in VI you press the lowercase X. There is a good cheat-sheet for VI here:

http://www.lagmonster.org/docs/vi.html

Casey