> normally, the entire escape sequence goes out in a single packet
> so lag between packets shouldn't affect them at all.

I just tried a tcpdump. For up-arrow the sequence ESC [ A
is transmitted. The first packet contains ESC only, 1 byte;
the second package contains [ A, 2 bytes.
This is using rsh and an xterm.

So, yes, net delay can separate the ESC from the following bytes.

> I'd assume there's something wrong with your environment

Possibly, but this is a fairly standard X, xterm, rsh environment.
Linux on the sending side.

I have not looked at the source, but with some fantasy one might
conjecture that a single write goes out in a single packet,
and that xterm uses two writes.

Andries
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to