From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078615810613.tru64-unix-managers.marc@archive.invalid> From: Kenneth Jacker Date: Tue, 26 Aug 1997 17:33:20 +0000 To: tru64-unix-managers Subject: Three Control Keys (#2) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078615810613 My first request for help to this list resulted in two responses. One individual felt that what I wanted to do was impossible. The other sent a 'xmodmap' input file that gave me *two* control keys (normal and left "Compose Character"). The right "Compose Character" only gave "double c's" as described below. Thanks to you two for replying! Attached below is a more detailed description of my machine's configuration and problem description. I am hoping that maybe this will provide sufficient additional information for someone to determine which 'xmodmap' input file will satisfy my need. If this second request to alpha-osf-managers produces no help, I'll try posting an article to Usenet. If both of these fail, then I guess I'll give up. :-( -Prof Kenneth H Jacker khj@cs.appstate.edu -Computer Science Dept -Appalachian State Univ -Boone, NC 28608 http://www.cs.appstate.edu/~khj --------------------------------------------------------------------- Hardware: AlphaStation233/300 Software: Digital Unix (4.0B) Keyboard LK46W Goal: Add the keyboard's "Compose Character" (Multi-key) keys (left and right) to those that generate a "control" modifier (in addition to the default Control_L). Problem: I can "sort of" map the two additional keys. However, to generate a C-c, for example, I must depress one of the Compose Char keys (with 'c') *twice* to generate the proper character. Besides requiring two key presses, there is a "bell" (C-g) emitted after the second C-c. Relevant info: the initial mapping ------------------- xmodmap: up to 2 keys per modifier, (keycodes in parentheses): shift Shift_L (0x12), Shift_R (0x59) lock Caps_Lock (0x14) control Control_L (0x11) mod1 Alt_L (0x19), Alt_R (0x39) mod2 Multi_key (0x28), Multi_key (0x58) mod3 mod4 mod5 my .xmodmaprc input file ------------------------ ! ! .xmodmaprc ! clear mod2 clear control add control = Control_L Multi_key Multi_key the mapping after "% xmodmap .xmodmaprc" ---------------------------------------- xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x12), Shift_R (0x59) lock Caps_Lock (0x14) control Control_L (0x11), Multi_key (0x28), Multi_key (0x58) mod1 Alt_L (0x19), Alt_R (0x39) mod2 mod3 mod4 mod5 Thanks!