Article View: news.software.nn
Article #3455Re: Esc key seems slower with latest nn 6.4.18?
From: David E A Wilson
Date: Thu, 03 Dec 1992 23:17
Date: Thu, 03 Dec 1992 23:17
20 lines
1728 bytes
1728 bytes
Chaw@cs.Stanford.edu (Sudarshan S. Chawathe) writes: >As indicated in the :man, I mapped my escape key to ^G so that I can >use it to back out of many things, as I was used to doing on nn 6.4.5. >However, I notice that there is a delay of about 1 sec after I press >Esc before nn backs out of the mail/forward/save etc. If I use ^G >directly, the effect is immediate? At a guess you are using an ANSI terminal (eg vt100 etc). On an ANSI terminal the arrow & function keys send escape sequences - eg ESC [ A is the up arrow key. If you press ESC, curses (and hence nn) does not know if this is the ESC key or the first character of an escape sequence. The only way to find out is to wait a short period of time. If no more characters arrive then it was the ESC key. If a [ arrives then it is the start of an escape sequence and it waits for the next character. In summary - it is unavoidable if you have any function keys that start with ESC. -- David Wilson +61 42 213802 voice, +61 42 213262 fax Dept Comp Sci, Uni of Wollongong david@cs.uow.edu.au
Technical Details
Message-ID:
<1992Dec3.231736.9003@cs.uow.edu.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!munnari.oz.au!metro!cs.uow.edu.au!davidReferences:
<chaw.723336890@Pluto.Stanford.EDU>Show Full Headers
Complete Article Headers
Message-ID: <1992Dec3.231736.9003@cs.uow.edu.au> Subject: Re: Esc key seems slower with latest nn 6.4.18? Date: Thu, 3 Dec 1992 23:17:36 GMT From: david@cs.uow.edu.au (David E A Wilson) References: <chaw.723336890@Pluto.Stanford.EDU> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!munnari.oz.au!metro!cs.uow.edu.au!david Newsgroups: news.software.nn Keywords: nn help Organization: Dept of Computer Science, Wollongong University, Australia Lines: 20