home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.i386unix
- Path: sparky!uunet!munnari.oz.au!metro!news
- From: dawes@physics.su.OZ.AU (David Dawes)
- Subject: Re: AltGr bindings in clients (esp. xterm)
- Message-ID: <1993Jan4.104516.4936@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: physics.su.oz.au
- Organization: School of Physics, University of Sydney, Australia
- References: <657@fafnir.plusplus.is> <EWERLID.93Jan4033306@ida.docs.uu.se>
- Date: Mon, 4 Jan 1993 10:45:16 GMT
- Lines: 43
-
- In article <EWERLID.93Jan4033306@ida.docs.uu.se> ewerlid@ida.docs.uu.se (Ove Ewerlid) writes:
- >
- >I had this problem too with XFree86-1.1 (under linux)!
- >
- >After some random tweaking I found out that I needed to add
- >these lines to the beginning of my Xmodmap file:
- >
- > clear mod1
- > add mod1 = Meta_L Meta_R
- >
- >This adds both Alt and AltGr to the mod1.
-
- This is different from what the original poster requires. The original
- poster wanted to be able to access the 3rd keysym mapped to a key.
- To do this, Mode_switch is required. My earlier followup showed how to
- make the AltGr key work in that way.
-
- The default mapping of the Alt keys for XFree86-1.1 is:
-
- Left Alt -> Alt_L Meta_L
- Right Alt / AltGr -> Alt_R Meta_R
-
- With mod1 set to Alt_L, Alt_R
-
- This mapping should make both alt keys work as Meta keys (to get 8-bit
- characters in an xterm). It certainly works for me.
-
- >In my case the command `xmodmap' indicated that these
- >keys already was in the mod1 map.
- >(I.e. prior to loading anything with `xmodmap file' ?!?!)
-
- Are you sure you found this to be the case with XFree86-1.1 and not the
- 1.0Ya version -- an alpha version that somehow got into one or more
- SLS releases?
-
- David
- --
- ------------------------------------------------------------------------------
- David Dawes <dawes@physics.su.oz.au> DoD#210 | Phone: +61 2 692 2639
- School of Physics, University of Sydney, Australia | Fax: +61 2 660 2903
- ------------------------------------------------------------------------------
- I was so satisfied, deep down inside, like a hand in a velvet glove -- AC/DC
- ------------------------------------------------------------------------------
-