Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP Path: utzoo!linus!philabs!prls!amdimage!amdcad!amdahl!drivax!alan From: alan@drivax.UUCP (Alan Fargusson) Newsgroups: net.unix,net.unix-wizards Subject: Re: help - escape key detection Message-ID: <236@drivax.UUCP> Date: Sat, 21-Sep-85 23:29:27 EDT Article-I.D.: drivax.236 Posted: Sat Sep 21 23:29:27 1985 Date-Received: Wed, 25-Sep-85 07:04:00 EDT References: <595@dicomed.UUCP> Organization: Digital Research, Monterey, CA Lines: 21 Xref: linus net.unix:5103 net.unix-wizards:12095 > > HELP: > > How do you distinguish between the actual escape key and > escape sequences generated by arrow keys, etc.? > Thing is, they arn't different. What vi does is wait for a little while to see if the character following an escape is a valid 'arrow' command. It is possible to confuse vi by typing something like escape-A real fast. This is unfortunate because I tend to do exactly that when I make a mistake, backup and correct, then continue on. With my terminal type I sometimes end up on the preveous line still in insert mode. Kind of confusing. I would like to be able to change the usage of escape in vi to something else, so only the arrow keys would use escape. Anyone at Berkley listening? -- Alan Fargusson. { ihnp4, amdahl, mot }!drivax!alan Brought to you by Super Global Mega Corp .com