home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!caen!malgudi.oar.net!chemabs!lwv26
- From: lwv26@cas.org (Larry W. Virden)
- Subject: xterm translation manager question
- Message-ID: <1993Jan7.182204.8538@cas.org>
- Sender: usenet@cas.org
- Reply-To: lvirden@cas.org (Larry W. Virden)
- Organization: Nedriv Software and Shoe Shiners, Uninc.
- Date: Thu, 7 Jan 1993 18:17:47 GMT
- Lines: 36
-
- I have trying to map a key under X.
- xmodmap -pm says:
- xmodmap: up to 5 keys per modifier, (keycodes in parentheses):
-
- shift Shift_L (0x6a), Shift_R (0x75)
- lock Caps_Lock (0x7e)
- control Control_L (0x53)
- mod1 Meta_L (0x7f), Meta_R (0x81)
- mod2 Num_Lock (0x69)
- mod3 Mode_switch (0x14)
- mod4 Alt_L (0x1a)
- mod5 F13 (0x20), F16 (0x3a), F18 (0x50), F19 (0x66), F20 (0x68)
-
-
- xmodmap -pk says:
-
- 77 0xffda (F29) 0xffb9 (KP_9) 0xff55 (Prior)
-
- I am not sure, but I THINK that this means that with no modifier pressed,
- the keysym that the translation manager sees is F29. With the Num_Lock
- key pressed, I should see KP_9. But what about that 3rd colum. Is that
- when the Mode_switch key is pressed?
-
- Now, when I am writing translation manager actions, I currently have:
-
- Mod2<Key>KP_9: string("9") \n\
- ~Mod2<Key>KP_9: string(0x1b) string("[216z") \n\
- Shift <KeyPress> Prior: scroll-back(1,halfpage) \n\
-
-
- listed amoung the actions. Is the second entry going to keep the 3rd
- entry from being recognized?
- --
- Larry W. Virden UUCP: osu-cis!chemabs!lvirden
- Same Mbox: BITNET: lvirden@cas INET: lvirden@cas.org
- Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614
-