Re: vi inserts odd characters when using cursor keys in insert mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, it works fine now, because I have the same problem, so I am just waitting for some answer

On Sat, Jun 19, 2004 at 11:33:18AM -0400, Sean Estabrooks wrote:
> On Sat, 19 Jun 2004 03:42:19 -0500
> "r sutton" <rdsutton_public@xxxxxxxxx> wrote:
> 
> > With my install of FC2 I find that vi now has odd behavior when using the cursor keys when in insert mode.  For example: move to the last character in the last line of text in a file -- the cursor is positioned over the last character and I press 'i' to select insert mode.  Now press the right cursor key, and instead of moving the cursor to the right by one position I find the line is moved down and a uppercase 'C' is inserted in the line above.  Pressing the 'up' cursor arrow on the keyboard inserts a new line with an uppercase 'A' -- left cursor inserts an uppercase 'D' -- 'down' cursor inserts a 'B'.  Is this a change in vi or is this caused by a change in tty for the shell?
> 
> 
> Works fine here.  Perhaps your TERM variable is set incorrectly?
> Try:
> 
> export TERM=xterm ; vi
> 
> - or if you're at a text console -
> 
> export TERM=linux ; vi
> 
> Good Luck,
> Sean
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

-- 
My first counsel is this: Posses a pure, kindly  and radiant heart, that
thine may be a sovereignty ancient, imperishable and everlasting. 
	  -- from "The HIDDEN WORDS"




 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux