XP SP2, Cygwin 1.7.1: Problem with keyboard in X apps

David Serrano dserrano5@gmail.com
Thu Mar 11 17:14:00 GMT 2010


Hi,

In trying to get an UTF-8 environment, I ran Cygwin-X for the first
time today, with an urxvt connected to the X server. As soon as I
started to use it, I noticed that some of the keys (this is a spanish
keyboard) produce strange results, mainly in the keyboard row that has
all the numbers. Pressing all the keys in that row generates the
following keysyms, instead of the expected ones:

Expected, actually seen:
masculine, masculine
1, h
2, comma
3, F9
4, KP_Delete
5, Delete
6, NoSymbol
7, NoSymbol
8, NoSymbol
9, NoSymbol
0, NoSymbol
apostrophe, NoSymbol
exclamdown, XF86Search
BackSpace, XF86Stop

In addition to this, the Escape get generates the keysym "w".

If pressing the Shift key, the results shift as expected: ordfeminine,
"H", semicolon... and so on. Running 'setxkbmap es' doesn't change
this results. Running other X applications (xterm, xedit) doesn't make
a difference (I guess urxvt is not to blame then). The output from
'xmodmap -pke' seems to be ok:

$ xmodmap -pke |head -n 10
keycode   8 =
keycode   9 = Escape NoSymbol Escape
keycode  10 = 1 exclam 1 exclam bar exclamdown
keycode  11 = 2 quotedbl 2 quotedbl at oneeighth
keycode  12 = 3 periodcentered 3 periodcentered numbersign sterling
keycode  13 = 4 dollar 4 dollar asciitilde dollar
keycode  14 = 5 percent 5 percent onehalf threeeighths
keycode  15 = 6 ampersand 6 ampersand notsign fiveeighths
keycode  16 = 7 slash 7 slash braceleft seveneighths
keycode  17 = 8 parenleft 8 parenleft bracketleft trademark

The obligatory google search didn't turn up anything except a myriad
of Xmodmap configurations of many people :). At this point, I'm out of
ideas and would gladly accept any input or pointer about what could be
the problem.

Following the reporting guidelines, I send the output of 'cygcheck -s
-v -r' and the XWin.0.log as a couple of attachments. Just in case it
matters, this Windows XP runs inside a VMWare virtual machine in an
Acer laptop.

Thanks in advance,


-- 
David Serrano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 37697 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20100311/7af2b37b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XWin.0.log
Type: text/x-log
Size: 42036 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20100311/7af2b37b/attachment.bin>
-------------- next part --------------
--
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/


More information about the Cygwin-xfree mailing list