home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / misc / 5400 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.9 KB

  1. Path: sparky!uunet!dtix!relay!relay2!rhott
  2. From: rhott@relay.nswc.navy.mil (Bob Hott - K31)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: XTERM and Openwin 3.0
  5. Message-ID: <1992Nov23.153605.24601@relay.nswc.navy.mil>
  6. Date: 23 Nov 92 15:36:05 GMT
  7. Sender: news@relay.nswc.navy.mil
  8. Organization: NAVAL SURFACE WARFARE CENTER
  9. Lines: 40
  10.  
  11. I hope that someone has encountered this situation and solved it.  We just
  12. moved from Openwin 2.0 to Openwin 3.0.  when we did, the keydefs for xterm
  13. did not work.  We were remapping the keys for access to a terminal based
  14. OA system.  Anywon know why they did not take??  Attached is the file we merge
  15. In our startup file we execute the following:
  16.   xrdb -merge $HOME/etc/sun.xterm.vt100.keys
  17. and the file looks like this:
  18. !
  19. ! Xterm VT100 Key Translations
  20. !
  21. *VT100.translations:#override \
  22. <Key>R4:string(0x1b) string("OP") \n\
  23. <Key>R5:string(0x1b) string("OQ") \n\
  24. <Key>R6:string(0x1b) string("OR") \n\
  25. <Key>KP_Subtract:string(0x1b) string("OS") \n\
  26. <Key>R7:string(0x1b) string("Ow") \n\
  27. Shift<Key>R8:string(0x1b) string("Ox") \n\
  28. <Key>R9:string(0x1b) string("Oy") \n\
  29. Shift<Key>KP_Add:string(0x1b) string("Om") \n\
  30. Shift<Key>R10:string(0x1b) string("Ot") \n\
  31. <Key>R11:string(0x1b) string("Ou") \n\
  32. Shift<Key>R12:string(0x1b) string("Ov") \n\
  33. <Key>KP_Add:string(0x1b) string("Ol") \n\
  34. <Key>R13:string(0x1b) string("Oq") \n\
  35. Shift<Key>R14:string(0x1b) string("Or") \n\
  36. <Key>R15:string(0x1b) string("Os") \n\
  37. <Key>Insert:string(0x1b) string("Op") \n\
  38. <Key>KP_Decimal:string(0x1b) string("On") \n\
  39. <Key>KP_Enter:string(0x1b) string("OM")
  40. !xterm
  41.  
  42. Any suggestions?
  43.  
  44. Bob Hott
  45.  
  46. -- 
  47. ====================== #include <std/disclaimer.h> =========================
  48. Bob Hott, NSWCDD, Networks Branch (Code E41) |"If man were not meant to play
  49. Dahlgren, Virginia  22448   (703) 663 - 8305 | volleyball, why are there so
  50. rhott@relay.nswc.navy.mil                    | many beaches?"  - Bob Hott -
  51.