Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!hemuli.tik.vtt.fi!tik.vtt.fi!tml From: tml@tik.vtt.fi (Tor Lillqvist) Newsgroups: comp.windows.x Subject: Re: 8-bit characters, or is xmodmap stupid? Message-ID: Date: 19 Feb 91 18:33:35 GMT References: <1991Feb15.142613.9429@lth.se> Sender: news@hemuli.tik.vtt.fi Organization: Technical Research Centre of Finland, Laboratory for Information Processing (VTT/TIK) Lines: 36 In-reply-to: jh@efd.lth.se's message of 15 Feb 91 14:26:13 GMT In article <1991Feb15.142613.9429@lth.se> jh@efd.lth.se (Joergen Haegg) writes: I want 8-bits keyboard, but I don't want to remember what character generates with the eigth bit set. Can I map the Meta key and '[' to 0xc4, but still keep '[' and '{' on the same key (without meta)? You shouldn't use Meta, but Mode_switch. Here is how I do it: ! Mapping for HP keyboards at tik.vtt.fi ! We want the BackSpace key to generate Delete keycode 101 = Delete BackSpace ! Map keys with non-USASCII keysyms to generate the corresponding ! USASCII keysyms according to the traditional 7-bit mapping. ! Use the Execute key as a mode switch to get original keysyms ("scandinavian ! letters") keycode 100 = quoteleft at eacute Eacute keycode 107 = braceright bracketright aring Aring keycode 108 = asciitilde asciicircum udiaeresis Udiaeresis keycode 115 = bar backslash odiaeresis Odiaeresis keycode 116 = braceleft bracketleft adiaeresis Adiaeresis ! We don't want Caps_lock clear Lock ! Use Execute key as Mode_switch keycode 87 = Mode_switch ! and add a modifier for it add Mod2 = Mode_switch Now, for example, the key labelled with an adiaeresis normally generates braceleft and bracketright, and if you keep Execute down, adiaeresis and Adiaeresis. Another matter is that some clients don't seem to understand this. -- Tor Lillqvist, working, but not speaking, for the Technical Research Centre of Finland