Subject: Re: Backspace vs Delete on Console in 1.5.3
To: Jonathan Perkin <sketch@rd.bbc.co.uk>
From: Herb Peyerl <hpeyerl@beer.org>
List: port-i386
Date: 09/06/2002 07:30:25
Jonathan Perkin <sketch@rd.bbc.co.uk> wrote:
> > To make the backspace key send ^H change KS_Delete to KS_BackSpace
> > in keycode 14. You can also do this with wsconsctl without
> > changing the kernel, for the details have a look at the excellent
> > mail on this subject a few days ago by Greg A. Woods.
>
> Indeed, have put that in my wscons.conf (and yes, Greg's email has
> cleared a lot of stuff up, but I'm still clued out on a few things).
>
> > Don't forget to put the stty erase '^H' in your shell startup
> > file.
My favourite answer to this is something that Dean Huxley showed me:
alias ^H stty erase ^H
alias ^? stty erase ^?
where "^H" and "^?" are the actual control characters themselves. Then
after you login to a machine, the first thing you do is hit the key you
want to be the backspace key, and viola.