Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!lake.Eng.Sun.COM!ridge From: ridge@lake.Eng.Sun.COM (Ridge McGhee) Newsgroups: comp.windows.x Subject: Re: Modifying Keyboard Mappings Summary: You need to read section 5 of the protocol spec (latest edition). Control characters are determined algorithmically. Message-ID: <7630@exodus.Eng.Sun.COM> Date: 8 Feb 91 01:31:57 GMT References: Sender: news@exodus.Eng.Sun.COM Distribution: comp Lines: 34 In article , hogan@csl.sri.com (Emmett Hogan) writes: > > I am attempting to modify the keyboard mappings with xmodmap > and I'm running into a slight problem...I cannot seem to redefine the > control+key combination (i.e. control =), I have been able to redefine > the unshifted =, and the shifted =, but not control =, or meta =. > > .[output removed] > . > 48 0x0028 (parenleft) 0x0029 (parenright) 0x005f (underscore) 0x002a (asterisk) > . > .[output removed] > . > I understand that Keycode Value 48 is the "equal" key, the second > column is the keycode for the unshifted equal, and the third column is > for the shifted equal, but what do the other columns represent? > Currently, there is no provision for mapping a desired keysym to a desired keycode plus modifier (or combination of modifiers). This is left up to the toolkit or application program. If Mode_switch (actually, the keycode associated with the Mode_switch keysym) is installed in the modifier map, it is used to select the third and fourth columns (or fourth and fifth using your numbering scheme). Many non-US keyboards (e.g., European, Japanese) have some keys with three (sometimes four) symbols on the keycaps. These symbols often appear on the right half of the keycap. The Mode_switch modifier is used to select the right-hand side symbols. Ridge -- Ridge McGhee rmcghee@sun.com