Xref: utzoo comp.editors:2140 comp.sys.hp:7032 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!mucs!logitek!grep!vic From: vic@grep.co.uk (Victor Gavin) Newsgroups: comp.editors,comp.sys.hp Subject: Re: vi doubleescape feature Message-ID: <1990Dec04.093400.4703@grep.co.uk> Date: 4 Dec 90 09:34:00 GMT References: <90333.192627QQ11@LIVERPOOL.AC.UK> Reply-To: vic@grep.co.uk (Victor Gavin) Organization: Grep Limited, LEEDS, UK Lines: 28 In article tmb@bambleweenie57.ai.mit.edu (Thomas M. Breuel) writes: >In article <90333.192627QQ11@LIVERPOOL.AC.UK> QQ11@LIVERPOOL.AC.UK writes: > This is available with vi under HP-UX 7.0 (and HP-UX 6.5 and before (??)). > When set, 2 consecutive ESCs are required to exit from input mode. > >Sounds unnecessary: vi already disambiguates arrow keys from >user input by using timing information. > >Unless you have a very slow connection and are a very fast typist, >this should not present a problem. HP also provide a ``set'' option to specify the max amount of time between receiving the ESC key and a following key. If nothing is received in this time, you get an ESC operation otherwise you get a softkey operation. This lets people on slow dialups or network connections have proper working keyboards without affecting people on consoles or fast serial lines (who can shorten their timeouts to next to nothing). As to the double escape feature: it's there to prevent you accidently typing the escape sequence sent out by a softkey (eg on HP keyboards, the up arrow sends out the sequence ^[A, which can be quite easily typed in manually when you are in insert mode and want to append at the end of the line). vic -- Victor Gavin Grep Limited, Kirkfields Business Centre, Kirk Lane, Leeds, UK, LS19 7LX Brought to you by Super Global Mega Corp .com