Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2003 17:01:16 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        stephanweaver@hotmail.com (Stephan Weaver)
Cc:        questions@freebsd.org
Subject:   Re: Screen and VI
Message-ID:  <200305252101.h4PL1GIr021382@clunix.cl.msu.edu>
In-Reply-To: <Law9-F346KZmcK8r6be000112b1@hotmail.com> from "Stephan Weaver" at May 24, 2003 10:11:15 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hello list! I am not suscribed to the list so PLEASE CC me at 
> stephanweaver@hotmail.com
> 
> Anyone know why, while in screen if i move the cursor (arrow key on 
> keyboard) right i get the letter C ? (inside vi)

Probably the arrow key sends ESC-C as its code.  something eats the ESC 
and that leaves C.    

All the extra keys such as arrows, page up, down, etc send ESC sequence 
codes -I don't know all the codes.  They're probably documented somewhere.    
Most are versions are probably based on the DEC VT100 and VT200 codes from
back in ancient history.
Generally we tell people not to use the arrow keys with in vi, but if 
your terminal configuration is set up right and your network is fast 
you can do it.    So, you have to figure out how to set up TERM.

Maybe someone else will know the actuall setting information.

////jerry

> 
> ssh client = securecrt
> same goes for putty
> 
> 
> Regards
> Stephan Weaver
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305252101.h4PL1GIr021382>