Subject: Re: delete key
To: None <port-i386@netbsd.org>
From: Chuck Cranor <chuck@xxx.research.att.com>
List: port-i386
Date: 01/23/2001 13:54:12
In article <G7J6yJ.JqK@tac.nyc.ny.us>,
Christos Zoulas <christos@tac.gw.com> wrote:
>I suspected that it was X because the new xterm on RH7.0 did exactly
>the same thing for me. But of course, if it is happening on the console,
>it is wscons related.

hi christos-

    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).

    see:

	http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=6089
	http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/dev/pckbc/wskbdmap_mfii.c

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...)

chuck



Index: wskbdmap_mfii.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pckbc/wskbdmap_mfii.c,v
retrieving revision 1.19
diff -c -r1.19 wskbdmap_mfii.c
*** wskbdmap_mfii.c	2000/12/20 14:53:18	1.19
--- wskbdmap_mfii.c	2001/01/23 18:49:13
***************
*** 149,155 ****
      KC(208),			KS_Down,
      KC(209),			KS_Next,
      KC(210),			KS_Insert,
!     KC(211),			KS_KP_Delete,
      KC(219),			KS_Meta_L,
      KC(220),			KS_Meta_R,
      KC(221),			KS_Menu,
--- 149,155 ----
      KC(208),			KS_Down,
      KC(209),			KS_Next,
      KC(210),			KS_Insert,
!     KC(211),			KS_Delete,
      KC(219),			KS_Meta_L,
      KC(220),			KS_Meta_R,
      KC(221),			KS_Menu,



-- 
Chuck Cranor                            http://www.research.att.com/info/chuck
Senior Technical Staff Member		chuck@research.att.com
Internet and Networking Systems Research Lab
AT&T Labs-Research, Florham Park, NJ