By way of example, the "Help" key sends "esc [ 2 8 ~". I put in my
my init file (.emacs_keys) the following:
M-[ ^R Prefix Character For Function Keys
M-[ 2 ^R Prefix Character For Function Keys
M-[ 2 8 ^R Prefix Character For Function Keys
M-[ 2 8 ~ ^R Help
This works, but it means two lines in the init file for every key I
want to support, plus one more line for every group of 10. It seems like
there has to be a better way. The other, equally ugly, alternative is to
reprogram the keys. I could reprogram "Help" to send "esc X C-R Help
return" but that seems a bit absurd. Can anybody think of a nicer way to
do this?
--
Roy Smith <allegra!phri!roy>
System Administrator, Public Health Research Institute
455 First Avenue, New York, NY 10016
\e [ 1 9 4 Goto Beginning
The 'z' is automatically thrown away by EMACS. Note that you still have
to have the normal prefix character commands for the first several
characters.
Steve Zimmerman
Not only that, but on a real VT-220, the function keys have to be
shifted to send user defined sequences.
--
This may not even represent *my* opinion.
Phil Ngai +1 408 749 5720
UUCP: {ucbvax,decwrl,ihnp4,allegra}!amdcad!phil
ARPA: amdcad!ph...@decwrl.dec.com