Thread View: comp.os.linux.misc
3 messages
3 total messages
Started by John Krivitsky
Sat, 25 May 1996 00:00
How to make backspace key be backspace?
Author: John Krivitsky
Date: Sat, 25 May 1996 00:00
Date: Sat, 25 May 1996 00:00
11 lines
900 bytes
900 bytes
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. Any advice? Please CC me an e-mail. Thanks! jk
Re: How to make backspace key be backspace?
Author: Mike Holland
Date: Sat, 25 May 1996 00:00
Date: Sat, 25 May 1996 00:00
30 lines
1665 bytes
1665 bytes
John Krivitsky (jk@cs.curtin.edu.au) wrote:
: 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.
--
Mike Holland <myk@cygnus.uwa.edu.au> (UWA is just my ISP)
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
Re: How to make backspace key be backspace?
Author: Andries Brouwer
Date: Sun, 26 May 1996 00:00
Date: Sun, 26 May 1996 00:00
13 lines
1099 bytes
1099 bytes
jk@cs.curtin.edu.au (John Krivitsky) writes: : 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. Opinions are divided about what should be done. Read the Keyboard HOWTO and the Backspace HOWTO for a lot of details. [One possible answer is: make sure that things are as you want them on the console, and when X is booted it mimicks the console keymap as far as possible. On the console you use loadkeys.]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads