home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11851 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.4 KB  |  41 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!frodo.cc.flinders.edu.au!hobson.cc.flinders.edu.au!mmrw
  3. From: mmrw@cc.flinders.edu.au (<Rick.Williams>)
  4. Subject: Re: *xterm function key translations
  5. Originator: mmrw@hobson.cc.flinders.edu.au
  6. Message-ID: <1992Nov17.235209.37168@frodo.cc.flinders.edu.au>
  7. Sender: @frodo.cc.flinders.edu.au
  8. Date: Tue, 17 Nov 1992 23:52:09 GMT
  9. Organization: Flinders University
  10. Lines: 29
  11.  
  12. Use the -name option of aixterm to give the application a new name:-
  13.         aixterm -name ESQR .... &
  14.  
  15. Then set up bindings in the .Xdefaults file as per this example
  16.  (Case and punctuation are VERY important):-
  17.  
  18. ESQR*Translations:    #override \
  19. <Key>Num_Lock:        string("^[OP") \n\
  20. <Key>KP_Divide:        string("^[OQ") \n\
  21. <Key>KP_Multiply:    string("^[OR") \n\
  22. <Key>KP_Subtract:    string("^[OS") \n\
  23. <Key>Home:        string("^[h") \n\
  24. <Key>End:        string("^[e") \n\
  25. <Key>Insert:        string("^[i") \n\
  26. <Key>Delete:        string("^X") \n\
  27. Ctrl<Key>Prior:        string("^[u") \n\
  28. Ctrl<Key>Next:        string("^[d") \n\
  29. <Key>Prior:        string("^U") \n\
  30. <Key>Next:        string("^D") \n\
  31. Shift<Key>Tab:        string("^[b") \n\
  32. Ctrl<Key>Right:        string("^R") \n\
  33. Ctrl<Key>Left:        string("^L")
  34.  
  35.  
  36. Note that the ^[ string should actually be the escape sharacter itself.
  37. Similarly ^X ^R etc are the actual control characters.
  38.  
  39. Note also that  Modifier<Key>Blah must be specified BEFORE <Key>Blah for both to work.
  40.  
  41.