Subject: =?ISO-8859-1?Q?Keypad_with_wrong_keysyms_?=
To: None <netbsd-help@netbsd.org>
From: Zafer Aydogan <zafer@gmx.org>
List: netbsd-help
Date: 08/13/2005 20:34:52
Aloha List,

My Keypad Keys (PC-102), when pressed are printing this:

Insert: ^[[2
Delete: ^[[3
Pos1: ^[[7
End: ^[[8
PageUp: ^[[5
PageDown: ^[[6

but they should print:

Insert: ^[[L
Delete: ^[[?
Pos1: ^[[H
End: ^[[F
PageUp: ^[[I
PageDown: ^[[G

I can map the keys with:
wsconsctl -w map+="keycode 199 = KP_Home" (for example)
but I don't know the Values for L,H,F,I,G.
How can I read the Keyboard ? 
I took a look at wscons/wkksymdef.h [1], but I couldn't find a definiton
that produces H,F,I,G on my Keypad.

And Ideas ?
Z.





[1]
http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/~checkout~/src/sys/dev/wscons/wsksymdef.h?rev=1.47.8.1.2.3;content-type=text%2Fplain