Subject: Re: delete key
To: None <port-i386@netbsd.org>
From: Geoff Wing <gcw@pobox.com>
List: port-i386
Date: 01/24/2001 17:49:24
Christos Zoulas <christos@zoulas.com> typed:
:>    i tracked this down.   the problem was introduced in 
:>rev 1.2 of sys/dev/pckbc/wskbdmap_mfii.c partly in response 
:>to PR#6089 (i say "partly" because the real issue with that 
:>PR was the backspace key, not the delete key).
:>i'm ok with what was done except for the delete key.   i would
:>like to apply the following diff to revert the behavior of the
:>delete key back to what it was before.  (and what it currently
:>is with pccons...)
:Yeah, I suppose we should keep the delete key as the standard delete
:and not the keypad delete. Go ahead.

Except the backarrow key still produces 0x7f on my system.

The wscons driver is in vt100 emulation mode.

On the vt100 there's a BACKSPACE key (left of the BREAK key)
which produces 0x08 and a DELETE key (below BREAK) which
produces 0x7f
On the vt220, which has a keyboard similar in layout to common PC
keyboards, the backarrow key produces 0x7f and the REMOVE key
(in the same location as the PC keyboard's DELETE key) produces
ESC [ 3 ~

So, it was set up (before the change) to be like a vt220 - even
though it was claiming to be some (extended) vt100.  Now's it's
in some weirdo hybrid mode :-)

Regards,
-- 
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff  : <gcw@zsh.org>