On 3/04/2012, at 3:35 PM, Opera wrote: > Hlo, > The reason for putting this on top is that I have data that are showing that I can not blame the Shuttle. > > Here is the brief infos- > > When using a USB keyboard [native USB or with an adaptor for ps2] the keypad Del key works perfectly but when NumLock is on that key > does not change its output to Dot when working with any version > of OpenBSD that I have tried. Turning NumLock off and using the shift key does not work either. > > There are no other keys affected. > > The problem exists on every computer that I try. > > Windows 7 or XP and NetBSD both work perfectly. > > There is now some tension in the evidence. > > (I) It would seem that there is a little bug in OpenBSD that will affect any box running with USB keyboard. > > (II) I can't believe that this can not have been noticed before if clause (I) is true. >
IIRC then yes, I have noticed this (or something very similar.) Trying to run an emulator program on OpenBSD. Worked fine on my laptop, but using a USB keyboard failed - it was returning a different value for the "same" key. This was a couple of months ago, so my memory might be playing tricks on me. > Well maybe that no OBSD person uses USB keyboard? Or doesn't use that Dot key on the keypad? > > > > > On 31/03/2012 04:07, Steffen Daode Nurpmeso wrote: >> Opera wrote [2012-03-30 12:58+0200]: >>> Using the same keyboard where I first saw the bug but connected to a >>> plain old PC. >>> >>> I use hexdump like this: >>> # hexdump -C >>> tap the problem key, then hit return and then Cntrol-D >>> >>> With numlock off I see: >>> ^[[3~ >>> 00000000 1b 5b 33 7e 0a >>> 00000005 >>> With numlock on: >>> . >>> 00000000 2e 0a >>> 00000002 >>> >>> Using the same keyboard with a ps2-USB adaptor I see the same >>> result as the numlock off test above whether numlock is on or off. >>> >>> This is what I see on the Shuttle also but it has no ps2 sockets >>> so on it I'm stuck with no working dot key on the numpad and >>> of course old habits die hard so I mess up lots of ip addresses. >>> >>> Is there something in wsconsctl or such that would let me patch >>> it? I've been hunting through various related man pages but I >>> have not hit on a hint so far. >> >> Hey, baaaaaaaa-by! >> >> Just recently i've posted a patch to tech@ that let's you examine >> the scancode of a key via wsconsctl!!! >> Then you can use basic wsconsctl features to set the key to >> whatever you want, now that you can identify it!! >> >> By the way - Marco Peereboom has posted a great ksh(1) to tech@ on >> 2011-09-06 that let you do graceful multi-character-sequence key >> binding, which may also be of interest to you. >> Was for me. >> >> And YOU ARE THE FIRST Windows NT user i know of who cares about >> keyboard scancodes! >> This is just a FANTASTIC EXPERIENCE for me. >> THANK YOU!!!! >> >> (P.S.: there is a X program which gives you even more info, so >> that you can adjust your .xmodmaprc or so.) >> >> --steffen >> Forza Figa!