Decent Unix Editors!! (one man's opinion, anyway)

Hamish Macdonald himacdon at maytag.uwaterloo.ca
Fri Apr 26 09:52:47 AEST 1991


>>>>> On 25 Apr 91 21:58:35 GMT,
>>>>> In message <frank.4582 at morpheus.UUCP>,
>>>>> frank at 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 at maytag.uwaterloo.ca                 watmath!maytag!himacdon



More information about the Comp.unix.amiga mailing list