home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / t / tel2305b.zip / TELNET.KEY < prev    next >
Text File  |  1990-08-27  |  4KB  |  95 lines

  1. ; Default keyboard mapping for NCSA Telnet
  2. ;    DO NOT REMOVE FROM DIRECTORY TELBIN IS LOCATED IN!!
  3. ;    Emulates a vt100 keyboard
  4.  
  5. ; Definitions for vt100 function keys
  6. set key \315    \Kpf1        ; F1 = vt100 function key 1
  7. set key \316    \Kpf2        ; F2 = vt100 function key 2
  8. set key \317    \Kpf3        ; F3 = vt100 function key 3
  9. set key \318    \Kpf4        ; F4 = vt100 function key 4
  10.  
  11. ; Definitions for vt100 cursor keys
  12. set key \4424    \Kuparr        ; grey up arrow for vt100 uparrow
  13. set key \1421    \Kuparr        ; ctrl-keypad up arrow for vt100 uparrow also
  14. set key \4432    \Kdnarr        ; grey down arrow for vt100 downarrow
  15. set key \1425    \Kdnarr        ; ctrl-keypad down arrow for vt100 downarrow also
  16. set key \4427    \Klfarr        ; grey left arrow for vt100 leftarrow
  17. set key \1395    \Klfarr        ; ctrl-keypad left arrow for vt100 leftarrow also
  18. set key \4429    \Krtarr        ; grey right arrow for vt100 rightarrow
  19. set key \1396    \Krtarr        ; ctrl-keypad right arrow for vt100 rightarrow also
  20.  
  21. ; Definitions for vt100 keypad keys
  22. set key \339    \Kkpdot        ; map . on keypad to vt100 keypad .
  23. set key \330    \Kkpminus    ; map - on keypad to vt100 keypad -
  24. set key \334    \Kkpcoma    ; map + on keypad to vt100 keypad ,
  25. set key \4365    \Kkpenter    ; map enter on keypad to vt100 keypad enter
  26. set key \338    \Kkp0        ; map 0 on keypad to vt100 keypad 0
  27. set key \335    \Kkp1        ; map 1 on keypad to vt100 keypad 1
  28. set key \336    \Kkp2        ; map 2 on keypad to vt100 keypad 2
  29. set key \337    \Kkp3        ; map 3 on keypad to vt100 keypad 3
  30. set key \331    \Kkp4        ; map 4 on keypad to vt100 keypad 4
  31. set key \332    \Kkp5        ; map 5 on keypad to vt100 keypad 5
  32. set key \333    \Kkp6        ; map 6 on keypad to vt100 keypad 6
  33. set key \327    \Kkp7        ; map 7 on keypad to vt100 keypad 7
  34. set key \328    \Kkp8        ; map 8 on keypad to vt100 keypad 8
  35. set key \329    \Kkp9        ; map 9 on keypad to vt100 keypad 9
  36.  
  37. ; Definitions for keypad keys with NumLock on
  38. set key \851    .        ; map the . key on the numeric keypad to . with Numlock
  39. set key \850    0        ; map the 0 key on the numeric keypad to 0 with Numlock
  40. set key \847    1        ; map the 1 key on the numeric keypad to 1 with Numlock
  41. set key \848    2        ; map the 2 key on the numeric keypad to 2 with Numlock
  42. set key \849    3        ; map the 3 key on the numeric keypad to 3 with Numlock
  43. set key \843    4        ; map the 4 key on the numeric keypad to 4 with Numlock
  44. set key \844    5        ; map the 5 key on the numeric keypad to 5 with Numlock
  45. set key \845    6        ; map the 6 key on the numeric keypad to 6 with Numlock
  46. set key \839    7        ; map the 7 key on the numeric keypad to 7 with Numlock
  47. set key \840    8        ; map the 8 key on the numeric keypad to 8 with Numlock
  48. set key \841    9        ; map the 9 key on the numeric keypad to 9 with Numlock
  49.  
  50. ; Further Settings to try to mimic a vt240 terminal
  51. ; vt220 function keys
  52. set key \319    \27m    ; F5 = vt220 f5
  53. set key \320    \27[17~    ; F6 = vt220 f6
  54. set key \321    \27[18~    ; F7 = vt220 f7
  55. set key \322    \27[19~    ; F8 = vt220 f8
  56. set key \323    \27[20~    ; F9 = vt220 f9
  57. set key \324    \27[21~    ; F10 = vt220 f10
  58. set key \389    \27[23~    ; F11 = vt220 f11
  59. set key \390    \27[24~    ; F12 = vt220 f12
  60. set key \2408    \27[23~    ; Alt f1 = vt220 f11
  61. set key \2409    \27[24~    ; Alt f2 = vt220 f12
  62. set key \2410    \27[25~    ; Alt f3 = vt220 f13
  63. set key \2411    \27[26~    ; Alt f4 = vt220 f14
  64. set key \2412    \27[28~    ; Alt f5 = vt220 f15
  65. set key \2413    \27[29~    ; Alt f6 = vt220 f16
  66. set key \2414    \27[31~    ; Alt f7 = vt220 f17
  67. set key \2415    \27[32~    ; Alt f8 = vt220 f18
  68. set key \2416    \27[33~    ; Alt f9 = vt220 f19
  69. set key \2417    \27[34~    ; Alt f10 = vt220 f20
  70.  
  71. ; Set the Enhanced keypad keys to generate other vt220 strings
  72. set key \4423    \{27}1~    ; Enhanced Home = vt220 Find key
  73. set key \4431    \{27}4~    ; Enhanced End  = vt220 Select key
  74. set key \4425    \27[5~    ; Enhanced PgUp = vt220 Prev Screen key
  75. set key \4433    \27[6~    ; Enhanced PgDn = vt220 Next Screen key
  76. set key \4434    \27[2~    ; Enhanced Insert = vt220 Insert key
  77. set key \4435    \27[3~    ; Enhanced Delete = vt220 Delete key
  78.  
  79. ; map the alt-numbers to useful strings
  80. set key \2424    \27Op    ; map Alt-1
  81. set key \2425    \27Oq    ; map Alt-2
  82. set key \2426    \27Or    ; map Alt-3
  83. set key \2427    \27Os    ; map Alt-4
  84. set key \2428    \27Ot    ; map Alt-5
  85. set key \2429    \27Ou    ; map Alt-6
  86. set key \2430    \27Ov    ; map Alt-7
  87. set key \2431    \27Ow    ; map Alt-8
  88. set key \2432    \27Ox    ; map Alt-9
  89. set key \2433    \27Oy    ; map Alt-0
  90.  
  91. ; Other keys on keyboard
  92. set key \271    \9        ; Tab = ctrl-i
  93. set key \4399    /        ; keypad / sends /
  94. set key \311    *        ; keypad * sends *
  95.