[ATTN: Harold] RE: Problem with keymap under cygwin-xfree

Thomas Chadwick j_tetazoo@hotmail.com
Fri Nov 8 14:36:00 GMT 2002


Strange.  I was under the impression that pressing "1" gave you nothing.  
Given that you're pressing "1" and getting the same keycode as if you 
pressed "h" is definitely strange.  Time for Harold to get involved with 
this one.

>From: "Harris, Shane" <sharris@newedgenetworks.com>
>Reply-To: cygwin-xfree@cygwin.com
>To: "'cygwin-xfree@cygwin.com'" <cygwin-xfree@cygwin.com>
>Subject: RE: Problem with keymap under cygwin-xfree
>Date: Thu, 7 Nov 2002 13:18:49 -0800
>
>Device Manager identifies it as a Standard 101/102-Key.
>The problem with the workaround is that pressing the '1' key reports as
>keycode 43 and generates an h.
>Pressing an 'h' also reports as keycode 43 and generates an h.
>Hence, if I remap keycode 43, I now have a 1, but no h.
>This is so freakin mystifying. Why would two keys report the same keycode
>when pressed??
>
>
>-----Original Message-----
>From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com]
>Sent: Thursday, November 07, 2002 12:22 PM
>To: sharris@newedgenetworks.com; cygwin-xfree@cygwin.com
>Subject: RE: Problem with keymap under cygwin-xfree
>
>
>Looking at XWin.log, I can tell you're using an XF86Config file.  However,
>your settings seem to match mine, which is good, I think, since I don't use
>an XF86Config file at all (resulting in defaults).
>
>Since xev is telling us that the X server is at least getting the
>keystrokes, a work-around would be to systematically figure out the 
>keycodes
>
>using xev, and then add them to your .Xmodmap file.
>
>For instance, if xev reports that pressing the "1" key gives you keycode
>200, then put "keycode 200 = 1 exclam" in .Xmodmap.
>
>As for the root cause?  I'm at a loss to explain it.  However, I'm not
>exactly an expert on the subject, so hopefully someone else on the list may
>be able to figure it out.
>
>One other thought: Maybe your keyboard isn't a "standard 101/102-key
>keyboard"?  What does the Windows Device Manager identify your keyboard as?
>
> >From: "Harris, Shane" <sharris@newedgenetworks.com>
> >Reply-To: cygwin-xfree@cygwin.com
> >To: "'cygwin-xfree@cygwin.com'" <cygwin-xfree@cygwin.com>
> >Subject: RE: Problem with keymap under cygwin-xfree
> >Date: Thu, 7 Nov 2002 08:41:22 -0800
> >
> >Thank you. I have made sure NumLock And CapsLock are OFF. I have attached
> >the output of xev when I strike the keys 0-9, backspace, -, = and tab. I
> >included some of the standard letter keys which do, in fact, work.  Also
> >attached is /tmp/Xwin.log.
> >
> >One thing I did try in all of this was ensuring I had a valid 104 key us 
>pc
> >.Xmodmap in ~.
> >that produced exactly the same results I am seeing now.
> >
> >Thanks.
> >
> >-----Original Message-----
> >From: Thomas Chadwick [mailto:j_tetazoo@hotmail.com]
> >Sent: Wednesday, November 06, 2002 6:12 PM
> >To: cygwin-xfree@cygwin.com
> >Subject: Re: Problem with keymap under cygwin-xfree
> >
> >
> >Make sure NumLock and CapsLock are both OFF.  That can sometimes cause
> >problem with certain X clients.
> >
> >If that's not the culprit, try running xev and see if X is even getting 
>the
> >keypress events.  If xev spews a bunch of messages when pressing one of 
>the
> >keys in questions, cut-and-paste them to the list and we'll have a
> >look-see.
> >
> >One other thing, post the contents of /tmp/XWin.log.
> >
> > >From: "Harris, Shane" <sharris@newedgenetworks.com>
> > >Reply-To: cygwin-xfree@cygwin.com
> > >To: "'cygwin-xfree@cygwin.com'" <cygwin-xfree@cygwin.com>
> > >Subject: Problem with keymap under cygwin-xfree
> > >Date: Wed, 6 Nov 2002 15:35:37 -0800
> > >
> > >I have looked all over the list archive for the answer to this, with no
> > >results. So I am going to ask. Apologies if this has been covered
> >somewhere
> > >before.
> > >
> > >I am having a maddening problem with xfree86 not recognizing some keys 
>on
> > >my
> > >keyboard. And what is odd about this is that they are just the number
> >keys
> > >(not the number pad), the backspace key and the tab key that appear to
> >not
> > >be recognized. These keys work in other win32 applications, as well as
> >the
> > >cygwin bash shell. I am at a total loss on this. If anyone can help, it
> > >would be much appreciated.
> >
> >
> >_________________________________________________________________
> >Add photos to your messages with MSN 8. Get 2 months FREE*.
> >http://join.msn.com/?page=features/featuredemail
> >
> ><< XWin.log >>
> ><< xev.log >>
>
>
>_________________________________________________________________
>Protect your PC - get McAfee.com VirusScan Online
>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



More information about the Cygwin-xfree mailing list