public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* RE: Alt Gr keys are not functioning ?
@ 2003-11-21 14:14 Henrik Schultz
  0 siblings, 0 replies; 3+ messages in thread
From: Henrik Schultz @ 2003-11-21 14:14 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

Hans wrote:

>You can use the following command to map a vertical bar to the AltGr 1, 
>for example.

>xmodmap -e "Keycode 113 = Mode_switch"
>xmodmap -e "KeySym 1 = 1 exclam bar"

This in fact works! Thanks, this is surely one way to proceed to get me
going.

Now I can only wonder about the underlying problem; it could be be that the
Alt Gr maps to BOTH ISO_Level3_Shift AND Mode_switch, and the Cygwin client
uses the ISO_Level3_Shift modifier, and the Solaris xterm client uses the
Mode_switch modifier. In fact, it ONLY works when I change the Alt Gr key to
send Mode_Switch too, so somehow this must be related.

I'll now add these xmodmap entries to my .bashrc file if there is a valid
display setting.

Thanks again - Henrik


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Alt Gr keys are not functioning ?
@ 2003-11-20 14:18 Henrik Schultz
  2003-11-21 12:18 ` Hans Dekker
  0 siblings, 1 reply; 3+ messages in thread
From: Henrik Schultz @ 2003-11-20 14:18 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

Have just installed latest version of Cygwin/XFree86 on my Windows 2000
laptop. 

Everything seems to be working fine, except for one thing: when I open an
xterm from a remote Solaris 2.6 system, the @,£,$, etc. keys are not
working, i.e. all the keys that are accessed by using the Alt Gr key are not
producing any output.

This is what I have done to investigate the problem:

- If I from a BASH shell telnet over to the Solaris box, ALL characters work
A-OK.
- When I open an xterm back to the XFree86 server, our 3 Danish national
characters æ,ø,å are working fine, so the correct keyboard map seems to have
been loaded. However this is where the problem with the missing @,£,$ etc.
comes up.
- Ran xkeycaps on the Solaris box, from which I noted that there was ex. no
'$' character mapped to the '4' key, nor was there any other special
characters mapped to keys usually accessed by Alt Gr.
- Alt Gr is mapped to ISO_Level3_Shift.
- Running 'xev' correctly lists events for Alt Gr and other keys, however
whereas SHIFT-'h' produces 'H' etc., Alt Gr-'4' does not produce any visible
character. Here is the list for the latter:

KeyPress event, serial 17, synthetic NO, window 0x200001,
    root 0x3a, subw 0x0, time 25838834, (431,266), root:(437,291),
    state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES,
    XLookupString gives 0 bytes:  ""

KeyPress event, serial 22, synthetic NO, window 0x200001,
    root 0x3a, subw 0x0, time 25840146, (431,266), root:(437,291),
    state 0x80, keycode 13 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 22, synthetic NO, window 0x200001,
    root 0x3a, subw 0x0, time 25840206, (431,266), root:(437,291),
    state 0x80, keycode 13 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 22, synthetic NO, window 0x200001,
    root 0x3a, subw 0x0, time 25840997, (431,266), root:(437,291),
    state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES,
    XLookupString gives 0 bytes:  ""

Would anyone have a clue how to proceed with debugging this?

Thanks!

Henrik Schultz
Senior Systems Architect
PremiTech A/S, Teknikerbyen 5, DK-2830 Virum
Tel: +45 4595 8500
Mob: +45 2212 2429
Web: http://www.premitech.com/


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

end of thread, other threads:[~2003-11-21 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-21 14:14 Alt Gr keys are not functioning ? Henrik Schultz
  -- strict thread matches above, loose matches on Subject: below --
2003-11-20 14:18 Henrik Schultz
2003-11-21 12:18 ` Hans Dekker

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