Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 14:09:02 +0100 (MET)
From:      hans@brandinnovators.com (Hans Zuidam)
To:        brian@shift.lan.awfulhak.org (Brian Somers)
Cc:        sos@ravenock.cybercity.dk, brian@awfulhak.demon.co.uk, brian@utell.co.uk, freebsd-hackers@freebsd.org
Subject:   Re: Backspace = ^H
Message-ID:  <199703251309.OAA09331@truk.brandinnovators.com>
In-Reply-To: <199703251211.MAA29866@shift.lan.awfulhak.org> from Brian Somers at "Mar 25, 97 12:11:25 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Brian Somers wrote:
> > In reply to Brian Somers who wrote:
> > *SIGH*, why does this come up again and again??
> 'cos it doesn't make sense (*stir* *stir* *stir*).

> > BS = BACKSPACE = 0x08
> > DEL = DELETE = 0x7f
> > Why on earth should they be reversed contradicting their names ??
> 
> So that emacs' help system can work.  Why would reversing them
> contradict their names ?
Because man 7 ascii tells me that:

	010 bs   011 ht   012 nl   013 vt   014 np   015 cr   016 so   017 si
	    ..
	170  x   171  y   172  z   173  {   174  |   175  }   176  ~   177 del
	                                                                   ...

which maps nicely to their ^ variants...  Please, just because
their is this one editor which gets it wrong doesn't mean there is
a reason to change the basic character encoding of the rest of the
system.  Put this (for xemacs, dunno about emacs)

    (global-set-key '[(control h)] 'delete-backward-char)
    (global-set-key '[(control x) (\h)] 'help-command)

in your .emacs and you're done.

				Hans

-- 
H. Zuidam                        E-Mail: hans@brandinnovators.com
Brand Innovators B.V.            P-Mail: P.O. Box 1377
de Pinckart 54                   5602 BJ Eindhoven, The Netherlands
5674 CC Nuenen                   Tel. +31 40 2631134, Fax. +31 40 2831138



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703251309.OAA09331>