Re: Why doesn't M-C-s work for me?

2012-01-09 Thread Jon TURNEY
On 09/01/2012 18:32, Mark Geary wrote:
> --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 0x101,
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/



Re: Why doesn't M-C-s work for me?

2012-01-09 Thread Oliver Schmidt
Hi Mark,

On 09.01.2012 19:32, Mark Geary wrote:
> --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/



Why doesn't M-C-s work for me?

2012-01-09 Thread Mark Geary

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