Re: The escape key
Posted in 1993
Robert Read Asks.... >We are currently using RS-6000s and SCO boxes, and on these platforms >(at least) there is about a 1-2 second delay whenever a user hits the >escape key. Does anyone know the reason for this delay? More >importantly, does anyone know how to avoid this delay? I believe the reason for the delay, (although 1-2 seconds seems long) is that the engine is waiting to see if anything follows the ESC key. Some systems use an "ESC something" to map function keys etc, so the engine waits a period of time to see if anything else follows, if it doesn't then it is evaluated as an ESC. What we do here (Using informix 4gl) is to use the options command to re-map the escape key to a function key. "OPTIONS ACCEPT KEY F1" This allows the user to press "F1" instead of "ESC" to accept a screen and causes immediate execution of the command. You can also remap it to just about any valid control key sequence if Function Keys are not available on your system. ------------------------------------------------------------------------------ % | %/% | Tom Lahey E-mail: tlahey@avid.com %/%/% | Systems Analyst Voice : 508.640.3036 %/%/%/% | Avid Technology, Inc. FAX : 508.640.1505 =/===/=/= | One Park West %%%%%%%%%%% | Tewksbury, MA 01876 (Standard Disclaimers Apply) A - V - I - D | Caveat lector. ------------------------------------------------------------------------------