Article View: comp.os.linux.misc
Article #589Re: How to make backspace key be backspace?
From: 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
Technical Details
Message-ID:
<4o60fe$3ur@styx.uwa.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4o5rrg$ai7@info.curtin.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,c86bc57fc573a8a0 X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,c86bc57fc573a8a0 X-Google-Attributes: gid102983,public From: myk@cygnus.uwa.edu.au (Mike Holland) Subject: Re: How to make backspace key be backspace? Date: 1996/05/25 Message-ID: <4o60fe$3ur@styx.uwa.edu.au> X-Deja-AN: 156717195 references: <4o5rrg$ai7@info.curtin.edu.au> followup-to: comp.os.linux.misc,aus.computers.linux organization: The University of Western Australia newsgroups: comp.os.linux.misc,aus.computers.linux