[Gllug] Tab-complete and cursor keys in SSH sessions?

Tethys sta296 at astradyne.co.uk
Sat Sep 26 09:34:19 UTC 2009


--------

"general_email at technicalbloke.com" writes:

>When I SSH into another machine I've noticed the cursor keys don't act
>as they do in my normal terminal (gnome-terminal) and hitting tab seems
>to just print a control/escape character rather than completing the line.

We used to get this in the good old days on slow links. There's a
timeout setting that controls how long you have between the receipt
of a control character and the rest of the control sequence. If the
remaining characters didn't arrive before the timeout, the initial
control character (and thus the rest of the control sequence) would
be treated as a literal, and you'd see a ^[ and whatever else was
in the control sequence on the terminal. It used to be a balancing
act to try and tune the timeout to the speed of your line.

>They are all on a local Megabit, soon to be Gigabit LAN.

This would normally rule out the slow link theory, unless you have
the timeout set to an exceptionally short amount. Of course, my
memory is fading with age, and I'm buggered if I can remember where
the timeout is held or how to change it :-(

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list