public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* xserver bug?
@ 2010-01-19 23:59 Charles Wilson
  2010-01-20  9:14 ` Sylvain RICHARD
  0 siblings, 1 reply; 4+ messages in thread
From: Charles Wilson @ 2010-01-19 23:59 UTC (permalink / raw)
  To: cygwin-xfree

I've noticed that with XWin 1.7.3 (and perhaps earlier versions; not
sure), the key combination CTRL-SHIFT-0 (zero) doesn't generate any
events.  CTRL-SHIFT-1 thru -9, alphabetic keys, no problem -- just not zero.

This came up as I was testing the new rxvt-unicode release; it has a
special "ISO14755" entry mode, where you hold down CTRL-SHIFT and type
the unicode value (in hex) of the codepoint you want, and then release
the CTRL-SHIFT keys -- urxvt inserts the correct character. This works
-- as long as the unicode value doesn't contain 0.

e.g. CTRL-SHIFT 3-b-2 gives 'beta'
     CTRL-SHIFT 2-0-a-c should be the Euro symbol, but the '0' never has
any effect.

As I said, you can verify this behavior (this missing 0 events) using
xev, so it's not specific to rxvt-unicode.

Is this a bug, or a designed behavior, in XWin?

--
Chuck

--
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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xserver bug?
  2010-01-19 23:59 xserver bug? Charles Wilson
@ 2010-01-20  9:14 ` Sylvain RICHARD
  2010-01-20 21:56   ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: Sylvain RICHARD @ 2010-01-20  9:14 UTC (permalink / raw)
  To: cygwin-xfree

Charles Wilson wrote:
> I've noticed that with XWin 1.7.3 (and perhaps earlier versions; not
> sure), the key combination CTRL-SHIFT-0 (zero) doesn't generate any
> events.  CTRL-SHIFT-1 thru -9, alphabetic keys, no problem -- just not zero.
>   
<snip>
> Is this a bug, or a designed behavior, in XWin?
>   
This may be designed behaviour /in windows/. Just out of curiosity, can 
you check your "language bar" options. If I remember correctly, you can 
set Ctrl+Shift global hotkeys there to shift between keyboard layouts 
and input languages.

Good luck,

-- 
Sylvain RICHARD


--
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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xserver bug?
  2010-01-20  9:14 ` Sylvain RICHARD
@ 2010-01-20 21:56   ` Jon TURNEY
  2010-01-21  3:01     ` Charles Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Jon TURNEY @ 2010-01-20 21:56 UTC (permalink / raw)
  To: cygwin-xfree

On 20/01/2010 09:13, Sylvain RICHARD wrote:
> Charles Wilson wrote:
>> I've noticed that with XWin 1.7.3 (and perhaps earlier versions; not
>> sure), the key combination CTRL-SHIFT-0 (zero) doesn't generate any
>> events. CTRL-SHIFT-1 thru -9, alphabetic keys, no problem -- just not
>> zero.

I'm afraid I can't reproduce this problem; xev and urxvt both respond to 
ctrl-shift-0.

> <snip>
>> Is this a bug, or a designed behavior, in XWin?
> This may be designed behaviour /in windows/. Just out of curiosity, can
> you check your "language bar" options. If I remember correctly, you can
> set Ctrl+Shift global hotkeys there to shift between keyboard layouts
> and input languages.

If it is the case that Windows is treating ctrl-shift-0 as a special keypress 
for some reason and processing it without offering it to applications, 
starting the X server with the -keyhook option should help.

--
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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xserver bug?
  2010-01-20 21:56   ` Jon TURNEY
@ 2010-01-21  3:01     ` Charles Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Charles Wilson @ 2010-01-21  3:01 UTC (permalink / raw)
  To: cygwin-xfree

Jon TURNEY wrote:
> On 20/01/2010 09:13, Sylvain RICHARD wrote:
>> Charles Wilson wrote:
>>> I've noticed that with XWin 1.7.3 (and perhaps earlier versions; not
>>> sure), the key combination CTRL-SHIFT-0 (zero) doesn't generate any
>>> events. CTRL-SHIFT-1 thru -9, alphabetic keys, no problem -- just not
>>> zero.
> 
> I'm afraid I can't reproduce this problem; xev and urxvt both respond to
> ctrl-shift-0.

Humph. Well, good, I guess.  (Even if it doesn't work for me, this means
that OTHER users will probably be able to use the ISO14755 entry mode
without trouble).

>> <snip>
>>> Is this a bug, or a designed behavior, in XWin?
>> This may be designed behaviour /in windows/. Just out of curiosity, can
>> you check your "language bar" options. If I remember correctly, you can
>> set Ctrl+Shift global hotkeys there to shift between keyboard layouts
>> and input languages.

My user account doesn't have the language bar enabled at all.
Hmm...maybe it's sticky. I *used* to have it enabled, and I *used* to
have hotkeys enabled -- but the only hotkey was/is "left-alt + shift".
Not ctrl+shift.

> If it is the case that Windows is treating ctrl-shift-0 as a special
> keypress for some reason and processing it without offering it to
> applications, starting the X server with the -keyhook option should help.

Odd. With -keyhook, I do NOT see Alt-Tab being intercepted by the
Xserver. BUT, CTRL-ALT-0 does work.

$ startxwin -- :0 -keyhook

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.3.0 (10703000)
Build Date: 2009-12-22

Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

X :0 -keyhook -multiwindow

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) xorg.conf is not supported
...


Vista SP2, 32bit.


Oh, WIERD.  Now, I just tried it again *without* -keyhook, and
CTRL-SHIFT-0 still works.  That's just bizarre.

All I can figure is, I turned on the language bar, switched keyboards,
switched back, and then turned off the language bar.  And now, I can't
"break" the CTRL-SHIFT-0.

Well...I'm happy, I guess.

--
Chuck


--
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/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-21  3:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-19 23:59 xserver bug? Charles Wilson
2010-01-20  9:14 ` Sylvain RICHARD
2010-01-20 21:56   ` Jon TURNEY
2010-01-21  3:01     ` Charles Wilson

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).