[ale] Reply to your message.

James W. Lynch jwl at atlanta.cray.com
Wed Jul 24 09:10:07 EDT 1996


---------  Received message begins Here  ---------

> From ale-owner at cc.gatech.edu Wed Jul 24 08:37 EDT 1996
> Date: Wed, 24 Jul 1996 05:35:43 -0700
> From: matthew at nas.nasa.gov (Matthew Avery)
> To: ale at cc.gatech.edu
> X-Display-Position: 0
> 
> I'm sure someone knows the answer to this one:
> 
> When I rsh to one of our SGI's from my Linux machine the
> arrow keys don't work correctly in vi.  For the most part they
> do the right thing but every so often they insert an 'A' or 'B'
> on a new line. Any suggestions?

Yes, don't use them.  The function keys (such as the arrow keys)
are sending multiple characters, like ESC[A or ESC[B, and when vi 
sees the ESC, it listens for a brief period to see if it is followed
by a known sequence, such as the [A.  If not, it assumes that the 
ESC was not a part of a sequence and treats it and subsequent characters
as if they were typed in individually.  TCP/IP being what it is can
cause a delay sometimes in transmitting characters.  If it sends
the ESC in one packet and the next character(s) in the next packet, it
may take longer than vi is willing to wait.  In any case you need to
tell the communications to hurry up or vi to slow down.  I don't know
if you can do either of those things.

Jim.
------------------------------------------------------------------------
Jim Lynch, Sales Analyst,  SGI/Cray Research, Inc. / ARS: K4GVO
Southeast District, Phone: (770) 631-2254, Email: jwl at cray.com
Suite 270, 200 Westpark Drive, Peachtree City, GA 30269






More information about the Ale mailing list