From owner-freebsd-hackers Wed May 10 06:19:42 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA20172 for hackers-outgoing; Wed, 10 May 1995 06:19:42 -0700 Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id GAA20166 for ; Wed, 10 May 1995 06:19:41 -0700 Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA02720; Wed, 10 May 95 13:19:14 GMT Received: from junco.fsl.noaa.gov by yarmouth.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA20784; Wed, 10 May 1995 09:19:36 -0400 Date: Wed, 10 May 1995 09:19:36 -0400 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9505101319.AA20784@yarmouth.fsl.noaa.gov> Received: by junco.fsl.noaa.gov (1.37.109.16/SMI-4.1 (1.37.109.16)) id AA139161974; Wed, 10 May 1995 07:19:34 -0600 To: gibbs@estienne.CS.Berkeley.EDU Cc: terryl@cs.stanford.edu, freebsd-hackers@FreeBSD.org In-Reply-To: <199505100737.AAA17566@estienne.cs.berkeley.edu> (gibbs@estienne.cs.berkeley.edu) Subject: Re: Backspace and delete problem in X/Netscape Sender: hackers-owner@FreeBSD.org Precedence: bulk >>>>> "Justin" == Justin T Gibbs writes: >> But... I'm using the us.iso.kbd keymap so that the backspace >> key is really delete. As I'm sure most of you know, this get's >> emacs working right, but netscape is now screwed up. Justin> Sure, don't use del as your backspace character. Just do Justin> something like this in your .emacs: Justin> ;; key bindings Justin> (global-set-key "\C-h" 'backward-delete-char) Justin> (setq search-delete-char (string-to-char "\C-h")) Justin> (global-set-key "\C-_" 'help-command) Justin> (setq help-char (string-to-char "\C-_")) This works for the casual Emacs user, but not for the diehard: What about ange-ftp and comint that directly compare a key value with delete and backspace, or bookmark-mode's meaning of delete, or buffer-menu-mode's, or c-mode's augmentation of delete, or cc-mode's, or command-history-mode's, or dired, or the keyboard macro editor, or gnus' and rmail's and info's interpretation of delete as scroll-down, or ... It's a pain in the butt to fix them all. It's easier to just swap the two keys. -- Sean Kelly NOAA Forecast Systems Lab, Boulder Colorado USA I wonder if angels believe in ghosts. -- Jack Handey