Hugh Sasse wrote: >> provide the right entries that allow the key sequences output by the >> arrow keys to be bound to the motion commands you want. You can do >> this yourself; the easiest way to find out the key sequence output by >> an arrow key is to use `cat -v'. > > Where should I look to see how the correct "out of the box" behaviour > is defined? If I'm to modify PuTTY's terminfo till it works correctly, > I will need to know what the definition of "correct" is. I know that > bash allows subsequent key bindings, and that I can customise things > afterwards.
I'm not sure I understand the question. If the termcap/terminfo entries contain the key sequences output by the arrow keys (in termcap, they're the `ku', `kd', `kr', and `kl' capabilities), bash will bind them and use them `out of the box'. I guess the answer is to find the appropriate key sequences and make sure they're assigned to the terminfo equivalents. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash