Subj : Re: ansi escape detection To : Digital Man From : Tracker1 Date : Sun Aug 28 2005 09:58 pm Digital Man 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. > > Because arrow keys are sent as ANSI escape sequences (e.g. ESC[A is the up > arrow). If there is > 500ms latency between the ESC and the '[', then the user > is exited from the menu rather than changing the selection up, like they > intended. I understand that, but what is the probability of having a > 500ms ping/latency, or having it be that long between one packet and the next (if the sequence was in and of itself split)? I mean even dialup is usually under a 400ms ping time... 700ms may be a much safer number, but still under a full second. -- 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 .