Newsgroups: comp.unix.amiga
Path: utzoo!utgpu!watserv1!maytag!maytag!himacdon
From: himacdon@maytag.uwaterloo.ca (Hamish Macdonald)
Subject: Re: Decent Unix Editors!! (one man's opinion, anyway)
In-Reply-To: frank@morpheus.UUCP's message of 25 Apr 91 21: 58:35 GMT
Message-ID: <1991Apr25.235247.27948@maytag.waterloo.edu>
Sender: news@maytag.waterloo.edu (News Owner)
Organization: University of Waterloo, Waterloo, Ontario
References: <846.280ca9ab@vger.nsu.edu>
	<CPETTERB.91Apr22112807@mickey.glacier.sim.es.com>
	<1991Apr25.083732.6664@zorch.SF-Bay.ORG> <frank.4582@morpheus.UUCP>
Date: Thu, 25 Apr 1991 23:52:47 GMT
Lines: 26

>>>>> On 25 Apr 91 21:58:35 GMT,
>>>>> In message <frank.4582@morpheus.UUCP>,
>>>>> frank@morpheus.UUCP (Frank McPherson) wrote:

Frank> So, here's what you do to use CTRL-H (more popularly known as
Frank> Backspace) for the purpose it was intended: add this line to
Frank> the file .emacs in your home directory and it'll map the
Frank> delete-backward-char function to the backspace key on your
Frank> Amiga.  Incidentally, the old assignment of
Frank> delete-backward-char to the delete key is still around, so you
Frank> can use either one.

Frank> (define-key global-map "\C-h" 'delete-backward-char)

The better solution is to swap BS and DEL at the lowest levels of
emacs input, using the keyboard-translate table.  This lets all emacs
code transparently think its getting a DEL, when what you are typing
is CTRL-H.

I'm not going to say how here, but if anyone wants to know, they can
send me email.

Hamish.
--
--------------------------------------------------------------------
himacdon@maytag.uwaterloo.ca                 watmath!maytag!himacdon
