It is currently Tue, 30 Nov 2021 17:58:33 GMT



 
Author Message
 Interpreting key bindings of tcsh - Help
Greetings,
     From my tcsh 'bindkey' command ( in vi mode ) , I see the
following bindings , but unable to figure out what the "^[[A" &
similar stuff means ? Can someone help ? Is there a doc or unix
command that can help me figure ?

Multi-character bindings
"^[[A"         -> up-history
"^[[B"         -> down-history
"^[[C"         -> forward-char

Cheers



 Thu, 27 Apr 2006 23:18:11 GMT   
 Interpreting key bindings of tcsh - Help
Le 09-11-2003, Mike <mikelarr...@yahoo.com> a crit?:

Hi,
these mean respectively up-arrow, down-arrow et right-arrow. They're
bound to previous and next line in sh'history, and next char on
command-line. But i can't tell you more about the encoding, sorry.
I'd be also /really/ interested in a thorough explanation of these
encodings and all the mecanics relating to console i/o, etc.

Have a nice day,
Francis.



 Fri, 28 Apr 2006 00:08:54 GMT   
 Interpreting key bindings of tcsh - Help

^something means ctol somthing, in this cae ^[ is control [, which is
esacpe.
The othe characters are literal.
A vt100 and derived keyboards sends the 3 characters
        escape [ A
when you press the up-arrow.

A quick way to see what is sent is to run
        od -xc
and press the key you are interested in, followed by newline and control D.



 Fri, 28 Apr 2006 01:38:22 GMT   
 Interpreting key bindings of tcsh - Help
Le 09-11-2003, Icarus Sparry <use...@icarus.freeuk.com> a crit?:

Tnx ! i've been looking for such a tool for long to ensure my configs
were OK, etc.

Have a nice day,
Francis.



 Fri, 28 Apr 2006 15:16:47 GMT   
 
   [ 4 post ] 

Similar Threads

1. changing the key bindings for tcsh

2. cygwin tcsh key bindings for arrows

3. tcsh, emacs key bindings, SHIFT-arrow possible?

4. tcsh key bindings

5. binding function keys in tcsh

6. Arrow keys bindings in tcsh after using vi

7. Binding a Meta key in tcsh

8. tcsh: Useful key bindings

9. tcsh binding of function keys

10. KDE 2.X key binding to Multimedia Keys


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software