public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Why doesn't M-C-s work for me?
       [not found] <1326036218.19662.ezmlm@cygwin.com>
@ 2012-01-09 18:32 ` Mark Geary
  2012-01-09 18:58   ` Oliver Schmidt
  2012-01-09 19:51   ` Jon TURNEY
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Geary @ 2012-01-09 18:32 UTC (permalink / raw)
  To: cygwin-xfree

<left Alt>-<left Ctrl>-s (will abbreviate as M-C-s from here-on) does
nothing for me. Does anyone have any thoughts on why it might not be working?

More info:

I get no action in either an xterm or an emacs window. If I use right
Alt, or right Control, or both, I get the expected action.

In emacs, describe-key can see C-s, M-s, C-M-a but cannot see C-M-s,
it does not react at all. Likewise, in an Xterm, cat -v can see

control a: ^A
control s: ^S
meta control a: ^[^A

but shows nothing for meta control s.

xev shows the expected events for everything mentioned above except
that pressing "s" while "Control_L" and "Meta_L" are down produces no
event.


My current setup:

Dell Optiplex 780
Win XP sp3

$ uname -srvmo
CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (20090222)

I have the left control and the caps lock keys swapped with a registry edit:

[HKEY_CURRENT_USER\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,3a,00,1d,00,00,00,00,00

-- 
Don't forget to stop and eat the roses.

--
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] 3+ messages in thread

* Re: Why doesn't M-C-s work for me?
  2012-01-09 18:32 ` Why doesn't M-C-s work for me? Mark Geary
@ 2012-01-09 18:58   ` Oliver Schmidt
  2012-01-09 19:51   ` Jon TURNEY
  1 sibling, 0 replies; 3+ messages in thread
From: Oliver Schmidt @ 2012-01-09 18:58 UTC (permalink / raw)
  To: cygwin-xfree

Hi Mark,

On 09.01.2012 19:32, Mark Geary wrote:
> <left Alt>-<left Ctrl>-s (will abbreviate as M-C-s from here-on) does
> nothing for me. Does anyone have any thoughts on why it might not be working?
> I have the left control and the caps lock keys swapped with a
> registry edit:

does this problem also occur with normal windows programs?

I have also made the caps lock key to a ctrl key and I cannot press
ctrl+shift+s when using the "caps lock" key as ctrl key. So it seems for
me that on some keyboards some key combinations of more than two keys at
the same time are not possible (perhaps due to technical implementation
details?)

Best regards,
Oliver


--
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] 3+ messages in thread

* Re: Why doesn't M-C-s work for me?
  2012-01-09 18:32 ` Why doesn't M-C-s work for me? Mark Geary
  2012-01-09 18:58   ` Oliver Schmidt
@ 2012-01-09 19:51   ` Jon TURNEY
  1 sibling, 0 replies; 3+ messages in thread
From: Jon TURNEY @ 2012-01-09 19:51 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: geary

On 09/01/2012 18:32, Mark Geary wrote:
> <left Alt>-<left Ctrl>-s (will abbreviate as M-C-s from here-on) does
> nothing for me. Does anyone have any thoughts on why it might not be working?

This seems to work correctly for me:

KeyPress event, serial 27, synthetic NO, window 0x1000001,
    root 0x206, subw 0x0, time 22102718, (105,96), root:(2137,224),
    state 0x1c, keycode 39 (keysym 0x73, s), same_screen YES,
    XLookupString gives 1 bytes: (13) ""
    XmbLookupString gives 1 bytes: (13) ""
    XFilterEvent returns: False

It might be the case that M-C-s has been made a Windows shell shortcut key, in
which case the Windows shell will process it before X server gets a chance to
see it.  You might wish to try the -keyhook X server option to see if that
changes anything.

> I have the left control and the caps lock keys swapped with a registry edit:
>
> [HKEY_CURRENT_USER\Keyboard Layout]
> "Scancode
> Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,3a,00,1d,00,00,00,00,00
>

You might want to try with that reverted, both to eliminate it and possible
mechanical limitations of your keyboard's caps lock key as a cause.

> Welcome to the XWin X Server
> Vendor: The Cygwin/X Project
> Release: 1.5.3.0 (20090222)

I know this is the last X server release for Cygwin 1.5, but it is quite old
now.  While I can't think of any change made which might fix this, I can't
rule that out.  If this is a bug in the X server, a fixed X server will only
be made available for Cygwin 1.7

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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] 3+ messages in thread

end of thread, other threads:[~2012-01-09 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1326036218.19662.ezmlm@cygwin.com>
2012-01-09 18:32 ` Why doesn't M-C-s work for me? Mark Geary
2012-01-09 18:58   ` Oliver Schmidt
2012-01-09 19:51   ` Jon TURNEY

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