Date: Wed, 10 May 1995 09:00:27 -0400 From: kelly@fsl.noaa.gov (Sean Kelly) To: terryl@cs.stanford.edu Cc: freebsd-hackers@FreeBSD.org Subject: Re: Backspace and delete problem in X/Netscape Message-ID: <9505101300.AA18683@yarmouth.fsl.noaa.gov> In-Reply-To: <Pine.SUN.3.91.950509221924.8461K-100000@Xenon.Stanford.EDU> (message from Terry Lee on Tue, 9 May 1995 22:32:15 -0700 (PDT))
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Terry" == Terry Lee <terryl@cs.stanford.edu> writes: Terry> But... I'm using the us.iso.kbd keymap so that the Terry> backspace key is really delete. As I'm sure most of you Terry> know, this get's emacs working right, but netscape is now Terry> screwed up. Oh were it that RMS hadn't been so anal about the One True Meaning of BackSpace(tm) and the High Mnemonic Value of Control-H for Help(tm) ... I would just add some translations to your X resources or to Netscape's app-defaults file ... and take the opportunity to make it more Emacs-like: *XmTextField.translations: #override\n\ <Key>osfBackSpace: delete-previous-character()\n\ <Key>osfDelete: delete-previous-character()\n\ <Key>BackSpace: delete-previous-character()\n\ <Key>Delete: delete-previous-character()\n\ Ctrl<Key>h: delete-previous-character()\n\ Ctrl<Key>d: delete-next-character()\n\ Meta<Key>osfDelete: delete-previous-word()\n\ Meta<Key>osfBackSpace: delete-previous-word()\n\ Meta<Key>Delete: delete-previous-word()\n\ Meta<Key>BackSpace: delete-previous-word()\n\ Meta<Key>d: delete-next-word()\n\ Ctrl<Key>k: delete-to-end-of-line()\n\ Ctrl<Key>g: process-cancel()\n\ Ctrl<Key>b: backward-character()\n\ <Key>osfLeft: backward-character()\n\ Ctrl<Key>f: forward-character()\n\ <Key>osfRight: forward-character()\n\ Meta<Key>b: backward-word()\n\ Meta<Key>osfLeft: backward-word()\n\ Meta<Key>f: forward-word()\n\ Meta<Key>osfRight: forward-word()\n\ Ctrl<Key>e: end-of-line()\n\ Ctrl<Key>a: beginning-of-line()\n\ Ctrl<Key>w: cut-clipboard()\n\ Meta<Key>w: copy-clipboard()\n\ <Btn2Up>: copy-primary()\n
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9505101300.AA18683>