Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 1997 14:04:45 +0000
From:      Brian Somers <brian@shift.lan.awfulhak.org>
To:        hans@brandinnovators.com (Hans Zuidam)
Cc:        sos@ravenock.cybercity.dk, brian@awfulhak.demon.co.uk, brian@utell.co.uk, freebsd-hackers@freebsd.org
Subject:   Re: Backspace = ^H 
Message-ID:  <199703251404.OAA00250@shift.lan.awfulhak.org>
In-Reply-To: Your message of "Tue, 25 Mar 1997 14:09:02 %2B0100." <199703251309.OAA09331@truk.brandinnovators.com> 

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)

Yep - I guess you're right.  So my problem remains: why is the "erase"
character set to ^? by default ?

>     (global-set-key '[(control h)] 'delete-backward-char)
>     (global-set-key '[(control x) (\h)] 'help-command)
> 
> in your .emacs and you're done.

Yep - it'd work the same for emacs.

> 				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

-- 
Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>;
Don't _EVER_ lose your sense of humour !





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