home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14567 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.4 KB

  1. Xref: sparky comp.windows.x:14567 comp.windows.x.motif:5296
  2. Path: sparky!uunet!spool.mu.edu!carroll1!cerebus.cc.edu!pwickman
  3. From: pwickman@cerebus.cc.edu (Paul J. Wickman)
  4. Newsgroups: comp.windows.x,comp.windows.x.motif
  5. Subject: Keymap Translations on Motif-RS/6000
  6. Message-ID: <3257@carroll1.cc.edu>
  7. Date: 29 Jul 92 16:52:42 GMT
  8. Article-I.D.: carroll1.3257
  9. Sender: news@carroll1.cc.edu
  10. Reply-To: pwickman@cerebus.cc.edu (Paul J. Wickman)
  11. Followup-To: comp.windows.x
  12. Organization: Carroll College-Waukesha, WI
  13. Lines: 26
  14.  
  15.  
  16.     I'm trying to remap the function keys on my RS/6000 running Motif.
  17. I'm trying to redefine them in the .Xdefaults file like so:
  18.  
  19. -----  .Xdefaults file -----
  20. *aixterm.Translations: <Key>F1: string(0x1b) string(0x4f) string(0x50) \n\
  21.         <Key>F2: string(0x1b) string(0x4f) string(0x51) \n\
  22.         <Key>F3: string(0x1b) string(0x4f) string(0x52) \n\
  23.         <Key>F4: string(0x1b) string(0x4f) string(0x53) \n\
  24.         <Key>F5: string(0x1b) string(0x5b) string(0x33) string(0x31) string(0x7e
  25. ) \n\
  26.     Shift<Key>F1: string(0x1b) string(0x5b) string(0x32) string(0x34) string
  27. (0x7e)
  28. ---------------------------
  29.  
  30. This almost works, except the Shifted keys never get remapped.  A Shifted F1 
  31. in this case will generate the same code as the new F1.
  32.  
  33. What am I doing wrong?
  34.  
  35.  
  36. This 
  37. --
  38. Paul J. Wickman - Analyst/Programmer
  39. Harnischfeger Corporation
  40. Internet: pwickman@carroll1.cc.edu    Phone: 414-671-7778
  41.