Defining function keys in vi
Sundar R. Iyengar
sundar at cwruecmp.UUCP
Sun Jan 22 05:10:24 AEST 1984
The 'map' command could be used to bind function keys
on terminals to specialized and customized commands.
Is it possible to define in .exrc or EXINIT or some
other files, the bindings such that depending on the
terminal you are on, the mapped key stroke sequences
would leave the key stroke sequences meant for another
terminal unmapped? For instance, VT100 generates
OP for PF1. Zenith Data Systems generates S for F1.
When I am on VT100 I would like OP define as a certain
command, leaving S unmapped. Similarly, when I am on
Zenith Data Systems, I would like S mapped but OP
unmapped.
Thanks
Sundar Iyengar
decvax!cwruecmp!sundar
sundar.Case-Western at Rand-Relay
Posted: 2:09:27 pm, Saturday January 21, 1984.
More information about the Comp.unix
mailing list