home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / editors / 2076 < prev    next >
Encoding:
Text File  |  1992-08-26  |  3.0 KB  |  72 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!hermes.chpc.utexas.edu!aswx266
  3. From: aswx266@chpc.utexas.edu (Michael Lemke)
  4. Subject: Re: mined -- problems, problems ...
  5. Message-ID: <1992Aug27.001638.9471@chpc.utexas.edu>
  6. Organization: The University of Texas System - CHPC
  7. References: <1992Aug26.143939.23188@infko.uucp>
  8. Date: Thu, 27 Aug 92 00:16:38 GMT
  9. Lines: 61
  10.  
  11. In article <1992Aug26.143939.23188@infko.uucp> litauer@infko.uni-koblenz.de writes:
  12. >-- 
  13. >Hello netters,
  14. >is there someone who successfully compiled the mined editor and runs it 
  15. >in an xterm. I ftp'd the most recent version from berlin, compiled it
  16. >and started without changing anything. The cursor keys do their work
  17. >but all the other usefull keys seems to send other keycodes as expected
  18. >by mined (F1-F12, R1-R7, R9, R13, R15, ...). Please help !!!
  19.  
  20. xterms are sick.  You need the following junk in your .Xdefaults to make
  21. xterm send application keypad codes.  Real standard terminals, i.e., 
  22. ANSI, can be switched from normal keypad mode to application keypad 
  23. mode with an escape sequence.  When will we ever get a working terminal 
  24. emulation for X windows?  Ok, here's the nonsense:
  25.  
  26. XTerm*c132: on
  27. XTerm*Font:    terminal
  28. XTerm*saveLines:                1000
  29. XTerm*scrollBar:    on
  30. XTerm*ttyModes:    kill ^k
  31. XTerm*VT100.translations:    \
  32. #override \
  33.     <Key>R3:      string(0x1b) string("Om") \n\
  34.     <Key>KP_Add:  string(0x1b) string("Ol") \n\
  35.     <Key>F9:  string(0x1b) string("[A") \n\
  36.     <Key>F11:  string(0x1b) string("[D") \n\
  37.     <Key>F10:  string(0x1b) string("[B") \n\
  38.     <Key>F12:  string(0x1b) string("[C") \n\
  39.     <Key>F24:  string(0x1b) string("OP") \n\
  40.     <Key>KP_Equal:  string(0x1b) string("OP") \n\
  41.     <Key>F25:  string(0x1b) string("OQ") \n\
  42.     <Key>KP_Divide:  string(0x1b) string("OQ") \n\
  43.     <Key>F26:  string(0x1b) string("OR") \n\
  44.     <Key>KP_Multiply:  string(0x1b) string("OR") \n\
  45.     <Key>KP_Subtract:  string(0x1b) string("OS") \n\
  46.     <Key>KP_Enter:  string(0x1b) string("OM") \n\
  47.     <Key>KP_Decimal:  string(0x1b) string("On") \n\
  48.     <Key>KP_0:  string(0x1b) string("Op") \n\
  49.     <Key>Insert:  string(0x1b) string("Op") \n\
  50.     <Key>KP_1:  string(0x1b) string("Oq") \n\
  51.     <Key>R13:  string(0x1b) string("Oq") \n\
  52.     <Key>KP_2:  string(0x1b) string("Or") \n\
  53.     <Key>Down:  string(0x1b) string("Or") \n\
  54.     <Key>KP_3:  string(0x1b) string("Os") \n\
  55.     <Key>F35:  string(0x1b) string("Os") \n\
  56.     <Key>KP_4:  string(0x1b) string("Ot") \n\
  57.     <Key>Left:  string(0x1b) string("Ot") \n\
  58.     <Key>KP_5:  string(0x1b) string("Ou") \n\
  59.     <Key>F31:  string(0x1b) string("Ou") \n\
  60.     <Key>KP_6:  string(0x1b) string("Ov") \n\
  61.     <Key>Right:  string(0x1b) string("Ov") \n\
  62.     <Key>KP_7:  string(0x1b) string("Ow") \n\
  63.     <Key>F27:  string(0x1b) string("Ow") \n\
  64.     <Key>KP_8:  string(0x1b) string("Ox") \n\
  65.     <Key>KP_9:  string(0x1b) string("Oy") \n\
  66.     <Key>F29:  string(0x1b) string("Oy") \n
  67.  
  68. -- 
  69. Michael Lemke
  70. Astronomy, UT Austin, Texas
  71. (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
  72.