public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Young, George" <George.Young@pco-bcp.gc.ca>
To: <cygwin-xfree@cygwin.com>
Subject: RE: Using the Canadian Multilingual Standard keyboard with WindowsXP
Date: Fri, 02 Jul 2010 13:27:00 -0000 [thread overview]
Message-ID: <6B9C55F15278D64198962D45C8AA3CCA02B4B312@BCL4EXC4.b.net> (raw)
In-Reply-To: <4C2CAB16.1000009@dronecode.org.uk>
[-- Attachment #1: Type: text/plain, Size: 4361 bytes --]
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:
XmbLookupString gives 0 bytes:
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:
XmbLookupString gives 0 bytes:
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:
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:
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:
XmbLookupString gives 0 bytes:
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:
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:
XmbLookupString gives 0 bytes:
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:
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:
XmbLookupString gives 0 bytes:
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:
XFilterEvent returns: False
The latter seems correct.
Regards,
George Young
-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk]
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
> -multiwindow -clipboard -silent-dup-error -xkblayout ca -xkbvariant
> multix -xkbmodel pc104
>
> If the Windows keyboard is set to US, cygwin works fine. If the
> Windows keyboard is set to Canadian Multilingual Standard, cygwin
> 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
[-- Attachment #2: XWin.0.log --]
[-- Type: application/octet-stream, Size: 4957 bytes --]
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.8.0.0 (10800000)
Build Date: 2010-04-02
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
/usr/bin/XWin -multiwindow -clipboard -silent-dup-error
-xkblayout ca -xkbvariant multix -xkbmodel pc104
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - primary monitor w 1280 h 1024
winInitializeDefaultScreens - native DPI x 96 y 96
winInitializeDefaultScreens - Returning
[174791.186] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
[174791.186] _XSERVTransOpen: transport open failed for inet6/IBBB00822x06:0
[174791.186] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[174791.516] winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
[174791.516] (II) xorg.conf is not supported
[174791.516] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[174791.526] LoadPreferences: /home/g_young/.XWinrc not found
[174791.526] LoadPreferences: Loading /etc/X11/system.XWinrc
[174791.526] LoadPreferences: Done parsing the configuration file...
[174791.526] winGetDisplay: DISPLAY=:0.0
[174791.526] winDetectSupportedEngines - Windows NT/2000/XP
[174791.526] winDetectSupportedEngines - DirectDraw installed
[174791.526] winDetectSupportedEngines - DirectDraw4 installed
[174791.526] winDetectSupportedEngines - Returning, supported engines 00000007
[174791.526] winSetEngine - Multi Window or Rootless => ShadowGDI
[174791.526] winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
[174791.546] winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32
[174791.546] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[174791.546] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[174791.556] null screen fn ReparentWindow
[174791.556] null screen fn RestackWindow
[174791.556] InitQueue - Calling pthread_mutex_init
[174791.556] InitQueue - pthread_mutex_init returned
[174791.556] InitQueue - Calling pthread_cond_init
[174791.556] InitQueue - pthread_cond_init returned
[174791.566] winInitMultiWindowWM - Hello
[174791.566] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[174791.566] winMultiWindowXMsgProc - Hello
[174791.566] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[174791.566] Screen 0 added at virtual desktop coordinate (0,0).
[174791.587] MIT-SHM extension disabled due to lack of kernel support
[174791.597] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[174791.627] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[174791.627] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[174791.657] [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list!
[174791.657] [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list!
[174791.657] [dix] Could not init font path element /usr/share/fonts/Type1/, removing from list!
[174792.578] winPointerWarpCursor - Discarding first warp: 640 512
[174792.578] (--) 3 mouse buttons found
[174792.578] (--) Setting autorepeat to delay=500, rate=31
[174792.578] (--) winConfigKeyboard - Layout: "00011009" (00011009)
[174792.578] (EE) Keyboardlayout "Canadian Multilingual Standard" (00011009) is unknown
[174792.578] (++) XKB: model: "pc104"
[174792.578] (++) XKB: layout: "ca"
[174792.578] (++) XKB: variant: "multix"
[174792.578] Rules = "base" Model = "pc104" Layout = "ca" Variant = "multix" Options = ""
[174793.159] winInitMultiWindowWM - pthread_mutex_lock () returned.
[174793.169] winProcEstablishConnection - Hello
[174793.169] winInitClipboard ()
[174793.169] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[174793.169] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[174793.169] winGetDisplay: DISPLAY=:0.0
[174793.169] winMultiWindowXMsgProc - DISPLAY=:0.0
[174793.169] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[174793.169] winClipboardProc - Hello
[174793.169] DetectUnicodeSupport - Windows NT/2000/XP
[174793.169] winProcEstablishConnection - winInitClipboard returned.
[174793.179] winGetDisplay: DISPLAY=:0.0
[174793.179] winInitMultiWindowWM - DISPLAY=:0.0
[174793.179] winGetDisplay: DISPLAY=:0.0
[174793.179] winClipboardProc - DISPLAY=:0.0
[174793.189] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[174793.199] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[174793.209] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[176014.345] winDeinitMultiWindowWM - Noting shutdown in progress
[176014.345] winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop.
[176014.345] winClipboardProc - XDestroyWindow succeeded.
[176014.355] winClipboardIOErrorHandler!
[-- Attachment #3: Type: text/plain, Size: 223 bytes --]
--
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/
next prev parent reply other threads:[~2010-07-02 13:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-03 20:17 Using the Canadian Multilingual Standard keyboard with Windows XP Young, George
2010-07-01 14:49 ` Jon TURNEY
2010-07-02 13:27 ` Young, George [this message]
2010-07-13 18:41 ` Using the Canadian Multilingual Standard keyboard with WindowsXP Jon TURNEY
2010-07-13 18:53 ` [PATCH] Fixes for Canadian Multilingual Standard keyboard layout handling Jon TURNEY
2010-07-13 19:30 ` Using the Canadian Multilingual Standard keyboard with WindowsXP Young, George
2010-07-16 14:04 ` Jon TURNEY
2010-07-16 17:13 ` Young, George
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6B9C55F15278D64198962D45C8AA3CCA02B4B312@BCL4EXC4.b.net \
--to=george.young@pco-bcp.gc.ca \
--cc=cygwin-xfree@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).