home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sun / apps / 2920 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.9 KB  |  48 lines

  1. Newsgroups: comp.sys.sun.apps
  2. Path: sparky!uunet!infonode!naomi!lester
  3. From: lester@naomi.b23b.ingr.com (Les Bartel)
  4. Subject:  Need xterm keyboard mappings
  5. Message-ID: <1993Jan8.202451.18761@infonode.ingr.com>
  6. Sender: usenet@infonode.ingr.com (Usenet Administrator)
  7. Reply-To: lester@naomi.b23b.ingr.com
  8. Organization: Intergraph Corporation
  9. Date: Fri, 8 Jan 1993 20:24:51 GMT
  10. Lines: 36
  11.  
  12. I have figured out many of the keyboard key mappings for xterm, but there
  13. are a few that baffle me.  These are the 'diamond' keys, alt graph and
  14. delete.  I assume the 'diamond' keys and alt graph key are key modifiers
  15. much like shift and control.  How do I make use of these keys as modifiers,
  16. and how do I distinguish between the two delete keys?  Also, how do I switch
  17. modes such that my numeric keypad will emit numbers or control sequences
  18. depending on the mode?  A specific answer would be fine, but a complete
  19. description for every key would be even better.
  20.  
  21. Following is a portion of my keymappings from my .Xdefaults file:
  22.  
  23. xterm*VT100*Translations: #override\
  24.       Shift <KeyPress> Up: scroll-back(1,page) \n\
  25.     Shift <KeyPress> Down: scroll-forw(1,page) \n\
  26.     Shift <KeyPress> Left: scroll-back(50,page) \n\
  27.    Shift <KeyPress> Right: scroll-forw(50,page) \n\
  28.         Alt <KeyPress> R7: scroll-back(1,line) \n\
  29.        Alt <KeyPress> R13: scroll-forw(1,line) \n\
  30.         Alt <KeyPress> R8: scroll-back(1,page) \n\
  31.        Alt <KeyPress> R14: scroll-forw(1,page) \n\
  32.         Alt <KeyPress> R9: scroll-back(50,page) \n\
  33.        Alt <KeyPress> R15: scroll-forw(50,page) \n
  34.  
  35. For the above mappings that use Alt, I would like to use the 'Alt Graph'
  36. key instead.
  37.  
  38. Many thanks in advance.
  39.  
  40.  - les
  41.  
  42. --
  43. Les Bartel                      Look, I'll make a deal with you.
  44. Intergraph Corporation          If you stop telling lies about me,
  45. Electronics Division            I'll stop telling the truth about you.
  46. lester@naomi.b23b.ingr.com
  47. (205) 730-8537
  48.