Subject: Re: -key "introduction"
To: Zbigniew Baniewski <zb@ispid.com.pl>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 03/29/2005 16:43:03
In message <20050329214751.GA1282@ispid.com.pl>, Zbigniew Baniewski writes:
>On Tue, Mar 29, 2005 at 09:09:33PM +0000, dieter wrote:
>
>> When I connect a PS2 keyboard, both backspace and delete give ^?.
>
>Can't understand that. It seems, you've got two <Delete>-s now - but
>I've got a problem having two <Backspace>-s (it has <Control>-<H> code).
>
I also see both giving ^? (that is, \177) on a PS2 keyboard and on my
laptop. I have a USB keyboard at home; I'll see what it gives.)
My test was
stty -icanon; cat >/tmp/xx
followed by 'od -c' (and, of course, stty sane). I don't have any stty
calls in my .profile, though I do use
PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
in my kernel config file.
--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb