Kristian Ellingsen <kellings(a)online.no> writes in xemacs-beta(a)xemacs.org:
* Jan Vroonhof
| linux.el thinks the delete key should generate
|
| "\e[3~"
|
| You can test this by typing "cat >testfile" in a shell on a console
| and typing delete, RET, C-d and then lookin at that file.
The file doesn't contain anything. How can I change what my DEL
button
should generate on a Red Hat Linux 5.1 system?
I've seen this behavior before. My `Home' and `End' keys don't
generate anything on the console either without special tweaking.
Check to see if you have the kbd package installed. Grep through
/etc/rc.d/init.d for usage of the loadkeys program. I have
Debian-style sysvinit scripts and it looks like:
#
# Load the keymaps *as soon as possible*
#
if [ -r /etc/kbd/default.map.gz ]
then
loadkeys /etc/kbd/default.map.gz
fi
in /etc/init.d/boot.
The documentation of kbd contains information on how to change the
keyboard map, and provides clues as to what kinds of keyboard maps are
already available -- there are quite a few that you can just plug in.
I use the Stig emacs2 map with the Backspace to Delete reversal
taken out.
The Linux console key mappings are very flexible and you can do just
about anything you want with them once you figure out the magic
incantation.
Perhaps someone should update Stig's ancient emacs mapfile for
newer XEmacs.