Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!mailgzrz!opal!czahl From: czahl@opal.cs.tu-berlin.de (Christian Zahl) Newsgroups: comp.unix.aix Subject: Re: Mapping DEL to ^? (\127) Keywords: keymap, delete, backspace Message-ID: <3511@opal.cs.tu-berlin.de> Date: 29 May 91 08:05:28 GMT References: <3502@opal.cs.tu-berlin.de> <1991May28.175449.8365@hou.amoco.com> Sender: news@opal.cs.tu-berlin.de Lines: 29 Nntp-Posting-Host: troll zjdg11@hou.amoco.com (Jim Graham) writes: >In article <3502@opal.cs.tu-berlin.de> czahl@opal.cs.tu-berlin.de (Christian Zahl) writes: >>flint@cutmcvax.cs.curtin.edu.au (Daniel Baldoni) writes: >> >>> How can I remap the key on a HFT terminal so that >>> it actually registers as a character (decimal 127)? >> >>On a PS/2 there is a program called "defkey" which is interactive driven. >There is an even easier way to do it....just enter the following commands >(note: the ^? is --- same for the ^H) >$ stty intr '^?' >$ stty erase '^H' >and, of course, the $ is your prompt. this could be added to your .profile >(or .login, .cshrc, .bashrc, etc.) and would be executed each time someone >logs on. 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. Chris. ------------------------------------------------------------------------------- Christian Zahl - pure student ! Technische Universitaet Berlin, Germany EMAIL: czahl@opal.cs.tu-berlin.de