home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / ultrix / 9055 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.4 KB  |  53 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!lwv26
  3. From: lwv26@cas.org (Larry W. Virden)
  4. Subject: Re: How do I redefine my xterm keys?
  5. Message-ID: <1992Dec23.052242.844@cas.org>
  6. Followup-To: comp.unix.ultrix
  7. Sender: usenet@cas.org
  8. Reply-To: lvirden@cas.org (Larry W. Virden)
  9. Organization: Nedriv Software and Shoe Shiners, Uninc.
  10. References: <1992Dec10.191227.11369@ed8200.ped.pto.ford.com> <1992Dec18.204342.17840@netnews.alf.dec.com>
  11. Date: Wed, 23 Dec 1992 05:20:12 GMT
  12. Lines: 39
  13.  
  14. xmodmap can only shuffle or duplicate key values and key symbols around on
  15. a keyboard.  (In an aside, check out xkeyboard, a neat graphical interface
  16. to xmodmap!)   To assign actual escape values to keys, use a resource
  17. similar to something like this (placed in $HOME/app-defaults/XTerm for
  18. instance)
  19.  
  20. !
  21. vt220*sunFunctionKeys:  True
  22. vt220*VT100.Translations: #override <Key>R5: keymap(vt)
  23. vt220*vtKeymap.translations: \
  24.     <Key>R5:            keymap(None) \n\
  25.     <Key>KP_Enter:      string(0x1B) string("OM") \n\
  26.     <Key>R1:            string(0x1B) string("OP") \n\
  27.     <Key>R2:            string(0x1B) string("OQ") \n\
  28.     <Key>R3:            string(0x1B) string("OR") \n\
  29.     <Key>Num_Lock:      string(0x1B) string("OS") \n\
  30.     <Key>KP_Add:        string(0x1B) string("Ol") \n\
  31.     <Key>KP_Subtract:   string(0x1B) string("Om") \n\
  32.     <Key>KP_Decimal:    string(0x1B) string("On") \n\
  33.     <Key>Insert:        string(0x1B) string("Op") \n\
  34.     <Key>R13:           string(0x1B) string("Oq") \n\
  35.     <Key>Down:          string(0x1B) string("Or") \n\
  36.     <Key>R15:           string(0x1B) string("Os") \n\
  37.     <Key>Left:          string(0x1B) string("Ot") \n\
  38.     <Key>R11:           string(0x1B) string("Ou") \n\
  39.     <Key>Right:         string(0x1B) string("Ov") \n\
  40.     <Key>R7:            string(0x1B) string("Ow") \n\
  41.     <Key>Up:            string(0x1B) string("Ox") \n\
  42.     <Key>R9:            string(0x1B) string("Oy") \n\
  43.     <Key>F9:            string(0x1B) string("OA") \n\
  44.     <Key>F10:           string(0x1B) string("OB") \n\
  45.     <Key>F28:           string(0x7F) \n\
  46.     <Key>SunXK_F37:        string(0x1B) string("OC") \n\
  47.     <Key>SunXK_F36:        string(0x1B) string("OD")
  48. !
  49. -- 
  50. Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
  51. Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
  52. Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
  53.