Subj : Re: ansi escape detection To : Deuce From : Tracker1 Date : Sun Aug 28 2005 09:53 pm Deuce wrote: >> Mainly in some of my scrolling list type menus, where you would use up/down >> arrow keys, but have escape as a back option.. why would it be a bad idea to >> reduce the poll/wait time for an escape followed by the ansi sequence. > > Mostly because some telnet clients may be stupid... or... packets may fragment > at exactly the wrong place. > > In practice, over TCP/IP, ESC sequences *should* arrive in the same packet. In > the case where they don't however, you would get all kinds of spurious ESCs... > that is to say, pressing UP would *sometimes* be identical to pressing ESC. > Which is behaviour you're almost guaranteed to not want. I understand that, and am not suggesting outright removal of the pause, just adjusting it to a value less than a full second.. since even a 1/2 second ping is increasingly rare, IMHO that would be a good place to have it (500ms) -- Michael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.net icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email) --- þ Synchronet þ theroughnecks.net - you know you want it .