Alt Gr special characters on german keyboard work only sometimes

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Mon Sep 8 11:26:00 GMT 2003


On Mon, 8 Sep 2003, Holger wrote:

> Here you go. What I did is holding the 'AltGr' key continously and then pressing 
> the '? ß \' (questionmark (with shift), sharps (normal) backslash (ArtGr)) key 
> several times.
> 

KeyPress event, serial 27, synthetic NO, window 0x400001,
    root 0x3a, subw 0x0, time 9387818, (-402,-377), root:(212,591),
    state 0x90, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 27, synthetic NO, window 0x400001,
    root 0x3a, subw 0x0, time 9387818, (-402,-377), root:(212,591),
    state 0x94, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 characters:  ""

This seem to be the problem. We had some reports that alt-gr does not work properly
on (some) WinXP machines. Do you have WinXP? 

> I double checked the events generated by Windows earlier with Spy++, they do not 
> differ whether cygwin get's the right key or not.

There must be a subtile difference. Maybe with the timestamp of the message. Or the
"Control down" and "alt down" messages come in reversed order. I don't have WinXP
and can't test this. 

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list