From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13571 invoked by alias); 24 Dec 2003 20:51:59 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 13564 invoked from network); 24 Dec 2003 20:51:59 -0000 Received: from unknown (HELO sys22.mail.msu.edu) (35.9.75.122) by sources.redhat.com with SMTP; 24 Dec 2003 20:51:59 -0000 Received: from office.ixn.com ([68.23.74.57] helo=msu.edu) by sys22.mail.msu.edu with asmtp (Exim 4.24 #37) (TLSv1:AES256-SHA:256) id 1AZFz4-0003ya-NV for cygwin-xfree@cygwin.com; Wed, 24 Dec 2003 15:51:58 -0500 Message-ID: <3FE9FC66.7090707@msu.edu> Date: Wed, 24 Dec 2003 22:37:00 -0000 From: Harold L Hunt II User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: XFree86 4.3.0 and AltGr References: <004d01c3ca29$bb5c3cc0$aa03668a@port502pha> In-Reply-To: <004d01c3ca29$bb5c3cc0$aa03668a@port502pha> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus: None found by Clam AV X-SW-Source: 2003-12/txt/msg00372.txt.bz2 List-Id: I believe I have found just the right amount of magic to fix this once and for all. Please stay tuned to test the new release. Harold Philippe Auclair wrote: > 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 > ********************************************** > >