home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20861 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.6 KB  |  48 lines

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