Subject: Re: Strange boot message
To: Andrew Brown <atatat@atatdot.net>
From: Frederick Bruckman <fredb@immanent.net>
List: port-i386
Date: 01/21/2003 07:59:26
On Tue, 21 Jan 2003, Andrew Brown wrote:

> >> laggy network also sounds reasonable, except until you consider that
> >> when i press the up arrow, all three characters are sent *at once*. i
> >> just don't get it.

> (5) ssh handles it as a single packet, and writes it out to the master
> side of the pty as "^[[B".
>
> (6) vi is now the application (on the remote machine), and it should
> get the three characters in a single read.

"vi" uses a timer, of course, to recognize mapped sequences. It
doesn't know or care about packets. So now, the workaround is to set
"escapetime" in ~/.exrc. I have `set escapetime=6', and it works well
enough with "ssh" over a slow dial-up.

Frederick