help - escape key detection
Alan Fargusson
alan at drivax.UUCP
Sun Sep 22 13:29:27 AEST 1985
>
> 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
More information about the Comp.unix.wizards
mailing list