README.WY60 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. This is a hurriedly composed note to let you know what I know
  2. about Wyse 60 support (not much :-)). I really cannot help
  3. with Wyse 60s any more than this. Please ask me no questtions,
  4. but please, if you can and wish, provide me a robust explanation
  5. of where I am wrong and I'll put in into the mill with profuse
  6. thanks and credit.
  7. 1. The Wyse 60 comes in several flavors of keytops and who knows
  8. what quantity of ROM versions. The one I have is an early "Native"
  9. or "Non-PC-Keytop" version.
  10. 2. The choice of keycodes (emitted character sequences) for the cursor
  11. keys are quite, quite stupid, though they seem to have had SOME form of
  12. thinking behind them. The arrow down key is a NEWLINE! The cursor
  13. left is a BACKSPACE.
  14. 3. You can redefine the keycodes emitted by keys. I lost my Wyse
  15. 60 manual several years ago, but with luck, you still have yours
  16. and can follow in my feeble steps to finish the job I have started
  17. and try to explain below.
  18. 4. There are IS entries in the models/funckeymap file entry for the
  19. wyse60. They are undocumented anywhere else. These entries are
  20. used by ECU only to spit initialization strings at the terminal in
  21. the order they appear in the file.
  22. If you really don't want this stuff to happen, comment out or remove
  23. the IS strings, comment the ANSI-fied definitions and uncomment
  24. the un-ANSI-fied ones. I omitted the braindead CUL and CUD entries, but
  25. if you want them:
  26. # CUL:CUL: bs # not useful (for reference only)
  27. # CU5:CU5: # nyet
  28. CUR:CUR: ff
  29. CUD:CUD: nl # use only if you NEVER need to send a line feed
  30. 5. The strings I emit with the supplied IS strings are the same as
  31. the SCO 'wyse60ak' termcap entry 'ti' string.
  32. 6. You should really use the wyse60ak termcap entry, not the wyse60.
  33. 7. If you are not on SCO you probably don't have 'wyse60ak'. I
  34. hope the time-honored tradition of sharing termcap entries amongst
  35. the UNIX brethren will not bring writs and suits and "suits" against
  36. me. Here it is:
  37. # Wyse 60
  38. # Clearing of arrow keys useful in 'is' in case this entry is
  39. # used after wy60ak entry was used.
  40. #
  41. w7|wy60|wyse60|Wyse WY-60 with 80 column/24 line screen in wy60 mode:\
  42. :is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\EZ1+\177\EZ1,\177\EZ1-\177\EZ1.\177\EZ1\\\177\EZ1q\177\Ec72:\
  43. :if=/usr/lib/tabset/std:pt:\
  44. :CF=\E`0:CO=\E`1:\
  45. :G1=3:G2=2:G3=1:G4=5:\
  46. :GC=8:GD=0:GE=\EH^C:GF=7:GG#0:GH=\072:\
  47. :GU==:GV=6:GR=4:GS=\EH^B:GL=9:\
  48. :PU=\EJ:PD=\EK:mb=\EG2:me=\EG0:\
  49. :al=4\EE:am:bs:bt=\EI:cd=100\EY:ce=\ET:cl=100\E+:\
  50. :cm=\Ea%i%dR%dC:co#80:dc=11\EW:dl=5\ER:ei=\Er:im=\Eq:k0=^AI\r:\
  51. :k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
  52. :k8=^AG\r:k9=^AH\r:kd=^J:kh=^~:kl=^H:kr=^L:ku=^K:\
  53. :li#24:mi:nd=^L:se=\EG0:so=\EG4:ug#0:ue=\EG0:ul:up=^K:us=\EG8:\
  54. :PN=\Ed#:PS=^T:hs:ts=\Ez(:fs=^M:
  55. #
  56. # Wy60ak:
  57. # Arrow keys are programmed to emit ANSI standard sequences. Allows
  58. # applications to distinguish between destructive Back Space and
  59. # non-destructive Left Arrow Key. END and INS keys also emit
  60. # ANSI standard sequences.
  61. # Held out `te' string so that `is' will remain in effect
  62. # throughout login session.
  63. # On the Enhanced PC Keyboard, only the Cursor Keypad between the Main
  64. # Keypad and the Numeric Keypad is programmable. These arrow keys
  65. # and special cursor motion keys will function as labeled when using
  66. # wy60ak with applications supporting the wy60ak entry. The Numeric
  67. # Keypad cursor motion keys will continue to emit their default values.
  68. #
  69. WA|wy60ak|wyse60ak|Wyse 60 in wy60 mode with ANSI arrow keys +:\
  70. :is=\E`\072\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\EZ1+\E[A\177\EZ1,\E[B\177\EZ1-\E[D\177\EZ1.\E[C\177\EZ1\\\E[F\177\EZ1q\E[L\177\Ec72:\
  71. :ti=\EZ1+\E[A\177\EZ1,\E[B\177\EZ1-\E[D\177\EZ1.\E[C\177\EZ1\\\E[F\177\EZ1q\E[L\177:\
  72. :kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
  73. :EN=\E[F:\
  74. :tc=wy60:
  75. 8. The ECU interactive command "kbdtest" may be of some assistance
  76. in analyzing and debugging this type of problem.