Received: (at submit) by bugs.debian.org; 19 Jan 1997 22:26:31 +0000 Received: (qmail 4028 invoked from network); 19 Jan 1997 22:26:28 -0000 Received: from tekla.ing.umu.se (root@130.239.117.80) by master.debian.org with SMTP; 19 Jan 1997 22:26:27 -0000 Received: from thelma.ing.umu.se (nikke@thelma.ing.umu.se [130.239.117.81]) by tekla.ing.umu.se (8.8.4/8.8.4) with SMTP id XAA04131 for <submit@bugs.debian.org>; Sun, 19 Jan 1997 23:23:19 +0100 Date: Sun, 19 Jan 1997 23:23:23 +0100 (MET) From: Niklas Edmundsson <nikke@ing.umu.se> To: submit@bugs.debian.org Subject: Bad X keybindings. Message-ID: <Pine.LNX.3.95.970119230526.21350B-100000@thelma.ing.umu.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Package: xbase Version: 3.2-1.1 The following lines in /etc/X11/Xresources are unnecessary since they break the motif-keybindings (netscaoe amongst others). It is clearly stated in the netscape-faq that you should NOT do this ! ! ! Fix Motif client handling of backspace/delete ! *XmText.translations: #override\n\ <Key>osfDelete: delete-previous-character() *XmTextField.translations: #override\n\ <Key>osfDelete: delete-previous-character() The lines in /etc/X11/Xmodmap maps the backspace and delete-key correctly. The quirk with mapping the keymap correctly is that you have to press Delete to get a backspace in most programs running in an Xterm. This is because the Backspace-key is mapped to delete in a text-console (see the keyboard-faq.) A sollution is to add the following lines to your /usr/X11R6/lib/X11/app-defaults/XTerm .XTerm.VT100.Translations: #override\n\ <Key>BackSpace: string(0x7F)\n\ <Key>Delete: string(0x04)\n\ <Key>Home: string(0x01)\n\ <Key>End: string(0x05) This maps the Backspace-key to the Delete-key, the Delete-key to CTRL-D (yes, it's mapped to delete in most applications, set ignoreeof in tcsh), the Home-key to CTRL-A, and the End-key to CTRL-E. These are the settings we are currently using at our institution. /Nikke -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Niklas Edmundsson, Admin @ ing.umu.se | nikke@ing.umu.se --------------------------------------------------------------------------- Black Holes were created when God divided by zero! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=