Newsgroups: comp.unix.aix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!world!madd
From: madd@world.std.com (jim frost)
Subject: Re: Mapping DEL to ^? (\127)
Message-ID: <1991Jun3.221521.23693@world.std.com>
Keywords: keymap, delete, backspace
Organization: The World @ Software Tool & Die
References: <flint.675314269@cutmcvax> <3502@opal.cs.tu-berlin.de> <1991May28.175449.8365@hou.amoco.com> <3511@opal.cs.tu-berlin.de>
Date: Mon, 3 Jun 1991 22:15:21 GMT
Lines: 27

>>$ stty intr '^?'
>>$ stty erase '^H'

>That's only right while you are in the canonical Mode, where the lineediting
>is active. If you also need it in various programs so you have to remap it
>a described.

If you're using aixterm on 3.1.5 or later you must put in a
translation to get the delete key to look like delete instead of some
silly escape sequence.  Add this to your .Xdefaults:

aixterm*translations: <Key>Delete: string(0x7f)

Some people, like myself, remap the backspace key to delete (thus
making emacs work reasonably on the '6000).  Xmodmap used to work with
3.1.3 or earlier but aixterm seems to ignore it as of 3.1.5.  The fix
is the following translation:

aixterm*translations: <Key>BackSpace: string(0x7f)\n<Key>Delete: string(0x7f)

If you're using emacs on a 3151 you basically get to disable help to
get reasonable editting behavior.

Happy hacking,

jim frost
jimf@saber.com
