GNU emacs key remapping
Brian A. Kell
bk7295 at leah.Albany.Edu
Sun Aug 12 02:17:30 AEST 1990
While we're on the subject of GNU emacs key mapping, I've been having
another problem with the iris keyboard. Iris uses ctrl-h as the
backspace character, but does not use the delete key (DEL or ctrl-?).
This is just the opposite of many other teminals, notable DEC's vt
series. I can handle this as far as rlogin'ing to other machines,
but it butts head-on against Richard Stallman's choice of ^h as the
help character.
I've been trying to remap things in GNU emacs to make my iris keyboard
consistant with the vt100 terminals also used at my location. It's
quite easy to redefine the backspace key to actually delete characters:
(define-key global-map "\C-h" 'delete-backward-char)
but it's much more difficult to come up with an alternate help character,
such as the delete key (^?). This seems to be because ^h is defined
somewhere as a special 'prefix character', similarly to ^x, ^c, esc-x,
etc.
So, how does one go about changing the help-prefix key from ^h to something
else (like ^?) ? I've tried a lot of things, with only partial success.
I would like to so this in a terminal-specific manner (i.e. in a file
called `iris.el') so that vt100 users are not effected.
I'm using GNU emacs 18.55
Thanks in advance for any help that I might get. I'll post a summary
if I get anything.
Brian A. Kell
SUNY/Albany Department of Computer Science
brian at isadora.albany.edu or bk7295 at leah.albany.edu
More information about the Comp.sys.sgi
mailing list