: My Linux system has a really annoying problem - the backspace key maps to the
: delete key. In an Xterm I can use `stty erase ^?', but in any other X program
: it's still the delete key.
: I'm sure this is in a FAQ somewhere, but I have been unable to find it. I'd
: rather not remap the delete key to a ^H because then the delete key won't work.
Look in the mini-HOWTOs
I have in my ".xinitrc" file:
##### Fix for Motif, etc. Backspace problem:
xmodmap -e " keycode 22 = BackSpace "
xmodmap -e "keycode 107 = Delete"
and in .Xdefaults:
! In an Xterm we want '<-' to be DEL, and 'delete' to be VT100 'remove'.
*.VT100.Translations: #override <Key>BackSpace: string(0x7F)\n\
<Key>Delete: string(0x1b) string("[3~") \n\
And .emacs, .zshrc have a few codes too.
Quotes are a burden to others, .signatures are a prison for one's self.
Finger for PGP. f'print = 31 3B D9 E9 DA 07 14 8B 5D A4 8B 25 FC 6B B8 55