From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17041 invoked by alias); 2 Jul 2010 13:27:26 -0000 Received: (qmail 17029 invoked by uid 22791); 2 Jul 2010 13:27:25 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=BAYES_50,TW_KB,TW_XK X-Spam-Check-By: sourceware.org Received: from mailin2.pco.gc.ca (HELO MAILIN2.pco.gc.ca) (198.103.111.115) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Jul 2010 13:27:19 +0000 Received: from SMTPAVSPM1 ([192.168.73.120]) by MAILIN2.pco.gc.ca with InterScan Message Security Suite; Fri, 02 Jul 2010 09:45:52 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CB19EA.48D2A320" Subject: RE: Using the Canadian Multilingual Standard keyboard with WindowsXP Date: Fri, 02 Jul 2010 13:27:00 -0000 Message-ID: <6B9C55F15278D64198962D45C8AA3CCA02B4B312@BCL4EXC4.b.net> In-Reply-To: <4C2CAB16.1000009@dronecode.org.uk> References: <6B9C55F15278D64198962D45C8AA3CCA02B4B2E8@BCL4EXC4.b.net> <4C2CAB16.1000009@dronecode.org.uk> From: "Young, George" To: Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2010-07/txt/msg00012.txt.bz2 ------_=_NextPart_001_01CB19EA.48D2A320 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 4281 Hello Jon, With WIN XP keyboard set to Canadian Multilingual Standard: Run xev, press Right Alt KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175760620, (207,-35), root:(383,197), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: False KeyPress event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175760620, (207,-35), root:(383,197), state 0x4, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175760720, (207,-35), root:(383,197), state 0x84, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes:=20 XFilterEvent returns: False press Right Ctrl KeyRelease event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175766418, (207,-35), root:(383,197), state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes:=20 XFilterEvent returns: False press Right Ctrl again KeyPress event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175776102, (207,-35), root:(383,197), state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175776182, (207,-35), root:(383,197), state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES, XLookupString gives 0 bytes:=20 XFilterEvent returns: False With WIN XP keyboard set to US: Run xev, press Right Alt KeyPress event, serial 24, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175606538, (643,593), root:(775,767), state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175606608, (643,593), root:(775,767), state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes:=20 XFilterEvent returns: False press Right Ctrl KeyPress event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175613939, (643,593), root:(775,767), state 0x0, keycode 109 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0xa00001, root 0x101, subw 0x0, time 175614009, (643,593), root:(775,767), state 0x20, keycode 109 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES, XLookupString gives 0 bytes:=20 XFilterEvent returns: False The latter seems correct. Regards, George Young =20 -----Original Message----- From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk]=20 Sent: July 1, 2010 10:50 AM To: cygwin-xfree@cygwin.com Cc: Young, George Subject: Re: Using the Canadian Multilingual Standard keyboard with WindowsXP On 03/06/2010 21:17, Young, George wrote: > Using Windows XP and cygwin started with the command %RUN% XWin=20 > -multiwindow -clipboard -silent-dup-error -xkblayout ca -xkbvariant=20 > multix -xkbmodel pc104 > > If the Windows keyboard is set to US, cygwin works fine. If the=20 > Windows keyboard is set to Canadian Multilingual Standard, cygwin=20 > doesn't get the RightAlt and RightControl inputs. I couldn't reproduce this. Checking with xev, the right alt and right control keys generate key events when the Windows keyboard layout is Canadian Multilingual Standard, although it seems that right control generates the same X keysym as left control with that layout for some reason. Can you clarify how you are checking for the keypresses? Please attach your /var/log/XWin.0.log as well. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer ------_=_NextPart_001_01CB19EA.48D2A320 Content-Type: application/octet-stream; name="XWin.0.log" Content-Transfer-Encoding: base64 Content-Description: XWin.0.log Content-Disposition: attachment; filename="XWin.0.log" Content-length: 6723 V2VsY29tZSB0byB0aGUgWFdpbiBYIFNlcnZlcgpWZW5kb3I6IFRoZSBDeWd3 aW4vWCBQcm9qZWN0ClJlbGVhc2U6IDEuOC4wLjAgKDEwODAwMDAwKQpCdWls ZCBEYXRlOiAyMDEwLTA0LTAyCgpDb250YWN0OiBjeW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NC4zNDVdIHdpbkNsaXBib2FyZFByb2MgLSBYRGVzdHJveVdpbmRvdyBz dWNjZWVkZWQuClsxNzYwMTQuMzU1XSB3aW5DbGlwYm9hcmRJT0Vycm9ySGFu ZGxlciEKCg== ------_=_NextPart_001_01CB19EA.48D2A320 Content-Type: text/plain; charset=us-ascii Content-length: 223 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ ------_=_NextPart_001_01CB19EA.48D2A320--