public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: XFree86 4.3.0 and AltGr
@ 2003-12-24 22:26 Philippe Auclair
  2003-12-24 22:30 ` Harold L Hunt II
  2003-12-24 22:37 ` Harold L Hunt II
  0 siblings, 2 replies; 6+ messages in thread
From: Philippe Auclair @ 2003-12-24 22:26 UTC (permalink / raw)
  To: cygwin-xfree

Hi,

Gosh, what an exciting thread about "Proper attribution of patches"!

Now, to the point... As many Europeans, as Michael Lipp said, "I stumbled
over the not-working AltGr" (I have a French keyboard, and a Windows XP
box).

After various unsuccessful tries with XF86Config, I had a good look at the
results of xev. The xev downloaded with Cygwin XFree, and xev on Sun Solaris
give similar results: when I press the single key AltGr, xev says:
KeyPress event, serial 18, synthetic NO, window 0xc00001,
    root 0x3a, subw 0x0, time 2826093, (105,60), root:(899,527),
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 18, synthetic NO, window 0xc00001,
    root 0x3a, subw 0x0, time 2826093, (105,60), root:(899,527),
    state 0x14, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES,
    XLookupString gives 0 characters:  ""

I then tried xmodmap with the following commands:
clear Mod5
keycode 113 = Mode_switch
add Mod3 = Mode_switch

-> result when pressing AltGr: keycode 37 (Control_L) + keycode 113
(Mode_switch)

Of course, xterm or emacs don't understand... OK, well is there an unused
key at the bottom of the keyboard?
XFree doesn't see the "Windows " key at all, but I have a key which, when
pressed in a Windows application, does the same as right click. xev sees
this key as keycode 101. So I feed this into xmodmap:
clear Mod5
keycode 101 = Mode_switch
add Mod3 = Mode_switch
keycode 10 = ampersand 1
keycode 11 = eacute 2 asciitilde
keycode 12 = quotedbl 3 numbersign
keycode 13 = apostrophe 4 braceleft
keycode 14 = parenleft 5 bracketleft
keycode 15 = minus 6 bar
keycode 16 = egrave 7 grave
keycode 17 = underscore 8 backslash
keycode 18 = ccedilla 9 asciicircum
keycode 19 = agrave 0 at
keycode 20 = parenright degree bracketright
keycode 21 = equal plus braceright

Bingo! xterm and emacs work!  Except I use this odd key instead of AltGr,
which I *REALLY* would prefer.

Hope this helps...

Philippe Auclair
**********************************************
Institut National de la Recherche Agronomique
Unité Centrale Informatique de Jouy
Domaine de Vilvert, 78352 Jouy-en-Josas CEDEX, France
Philippe.Auclair@jouy.inra.fr
tel +33 1 34 65 26 95, fax +33 1 34 65 24 03
**********************************************


^ permalink raw reply	[flat|nested] 6+ messages in thread
* XFree86 4.3.0 and AltGr
@ 2003-12-19 13:30 Michael Lipp
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Lipp @ 2003-12-19 13:30 UTC (permalink / raw)
  To: cygwin-xfree

Hi,

I downloaded cygwin yesterday and stumbled over the not-working AltGr. I 
searched the archives (I emphasize this as it seems you get praised on 
this list for doing so ;-) ) and got some news.

In my case, the problem shows up a bit differently. I have Windows2000 
and no power toys or tweakUI installed (whatever those are). AltGr seems 
to work in general, i.e. if I press AltGr and "+"-key twice, I get a "~" 
(or AltGr-+ and space). So this is what you expect from a keyborad with 
dead keys. XEmacs, however, considers AltGr a real key instead of a 
modified, i.e. every time I press AltGr I get a message about an 
undefined key.

As I want nodeadkeys, I changed XF86Config-4, including the variant 
nodeadkeys. Nothing changed. So I intended to play around with some 
options and in order to avoid restarting the server every time, I 
assembled my "base" command: "xsetxkbmap -rules xfree86 -model pc105 
-layout de -variant nodeadkeys". This is just what's written in my 
XF86Config-4. To my suprise this was it. I.e. after executing this 
command, everything works.

So obviously, xwin is not really configured as stated in XF86Config-4 
after startup.

Regards,

     Michael



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

end of thread, other threads:[~2003-12-29 19:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-24 22:26 XFree86 4.3.0 and AltGr Philippe Auclair
2003-12-24 22:30 ` Harold L Hunt II
2003-12-24 22:37 ` Harold L Hunt II
2003-12-25  5:39   ` Harold L Hunt II
2003-12-29 23:07     ` Harold L Hunt II
  -- strict thread matches above, loose matches on Subject: below --
2003-12-19 13:30 Michael Lipp

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