From owner-freebsd-hackers Tue Mar 25 06:05:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA13503 for hackers-outgoing; Tue, 25 Mar 1997 06:05:17 -0800 (PST) Received: from ui-gate.utell.co.uk (ui-gate.utell.co.uk [194.200.4.253]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA13491 for ; Tue, 25 Mar 1997 06:05:03 -0800 (PST) Received: from shift.lan.awfulhak.org (shift.utell.net [97.3.0.21]) by ui-gate.utell.co.uk (8.7.6/8.7.3) with ESMTP id OAA27268; Tue, 25 Mar 1997 14:04:46 GMT Received: from shift.lan.awfulhak.org (localhost [127.0.0.1]) by shift.lan.awfulhak.org (8.8.5/8.8.5) with ESMTP id OAA00250; Tue, 25 Mar 1997 14:04:45 GMT Message-Id: <199703251404.OAA00250@shift.lan.awfulhak.org> X-Mailer: exmh version 1.6.9 8/22/96 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 In-reply-to: Your message of "Tue, 25 Mar 1997 14:09:02 +0100." <199703251309.OAA09331@truk.brandinnovators.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Mar 1997 14:04:45 +0000 From: Brian Somers Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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 Don't _EVER_ lose your sense of humour !