home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ckc190.zip / ckovtk.ini < prev    next >
Text File  |  1993-07-17  |  5KB  |  114 lines

  1. ; File: CKOVTK.INI
  2. ; Extended Keyboard definitions for OS/2 C-Kermit 5A(189)
  3. ; Kevin Lowey
  4. ; University of Saskatchewan, Saskatoon
  5. ; Frank da Cruz
  6. ; Columbia University, New York City
  7. ; CHANGE LOG
  8. ; ~~~~~~~~~~
  9. ; When   Who What
  10. ; 921130 KVL Created initial file for 101-key keyboard.
  11. ; 921203 KVL Added Alt-PageUp and Alt-PageDown to preserve screen scroll.
  12. ; 930716 fdc Added support for Num Lock as PF1/GOLD and undid previous edit.
  13. ; 930716 fdc Added definitions for VT220 keys.
  14. ;
  15. ; USAGE
  16. ; ~~~~~
  17. ; TAKE CKOVTK.INI
  18. ;
  19. ; DESCRIPTION
  20. ; ~~~~~~~~~~~
  21. ; This is a key definition file for the extended 101 and 102-key keyboards. 
  22. ; It might also work with other keyboards.  It makes the PC's Numeric Keypad
  23. ; behave like the VT100 Numeric Keypad.  For VT220 (DEC extended keyboard)
  24. ; keys, see the VT220 section below.
  25. ; The Num Lock key toggles between two different scan codes each time it is
  26. ; pressed, and furthermore still acts as Num Lock for the numeric keypad digit
  27. ; keys.  Hence, duplicate definitions for many of the keys.  When Num Lock is
  28. ; Off, C-Kermit can't distingish between Numeric Keypad Period and Main Keypad
  29. ; Period, so it is best to use F9 for Keypad Period.
  30. ;
  31. ; The VT100 Keypad has a Comma, which is lacking from the PC keypad.
  32. ; To simulate DEC Keypad Comma, press Alt-Keypad-Plus (Alt-+) or F7 or F8.
  33. ;
  34. ;                  IBM Key      New Definition  DEC VT100 Key
  35. set key \338 \385 ;  KP0            Alt-0           KP0
  36. set key \560 \385 ;  KP0            Alt-0           KP0
  37. set key \339 \323 ;  KPdot          F9              KPdot
  38. set key \335 \376 ;  KP1            Alt-1           KP1
  39. set key \561 \376 ;  KP1            Alt-1           KP1
  40. set key \336 \377 ;  KP2            Alt-2           KP2
  41. set key \562 \377 ;  KP2            Alt-2           KP2
  42. set key \337 \378 ;  KP3            Alt-3           KP3
  43. set key \563 \378 ;  KP3            Alt-3           KP3
  44. set key \525 \324 ;  KPEnter        F10             KPEnter
  45. set key \331 \379 ;  KP4            Alt-4           KP4
  46. set key \564 \379 ;  KP4            Alt-4           KP4
  47. set key \332 \380 ;  KP5            Alt-5           KP5
  48. set key \565 \380 ;  KP5            Alt-5           KP5
  49. set key \333 \381 ;  KP6            Alt-6           KP6
  50. set key \566 \381 ;  KP6            Alt-6           KP6
  51. set key \555 \319 ;  KPPlus         F5              KPMinus
  52. set key \334 \322 ;  Alt-KPPlus     F8              KPComma
  53. set key \327 \382 ;  KP7            Alt-7           KP7
  54. set key \567 \382 ;  KP7            Alt-7           KP7
  55. set key \328 \383 ;  KP8            Alt-8           KP8
  56. set key \568 \383 ;  KP8            Alt-8           KP8
  57. set key \329 \384 ;  KP9            Alt-9           KP9
  58. set key \569 \384 ;  KP9            Alt-9           KP9
  59. set key \559 \316 ;  KP/            F2              PF2
  60. set key \554 \317 ;  KP*            F3              PF3
  61. set key \557 \318 ;  KP-            F4              PF4
  62. set key \766 \315 ;  Num Lock       F1              PF1 (Gold)
  63. set key \510 \315 ;  Num Lock       F1              PF1 (Gold)
  64.  
  65. END
  66.  
  67. ; VT220 SECTION
  68. ; The VT220 section is not executed unless you remove the END command
  69. ; just above.
  70. ; Execute this section if you need to access host applications that require
  71. ; VT220-and-higher (LK201) keys (DEC F6-F20, Help, Do, Insert Here, etc),
  72. ; typically on VAX/VMS.  These key assignments are by position rather than
  73. ; label; most are modifed by Ctrl or Alt to prevent removal of functions
  74. ; associated with the unmodified keys.
  75. ; If you want to send VT220 key sequences, edit the following scan codes to
  76. ; the keys of your choice (if you don't like these choices - for example you
  77. ; might prefer to assign by keytop label rather than by position).
  78. ; BUT... don't assign them to unmodified F-keys or gray keypad keys, or else
  79. ; the functions originally associated with those keys will disappear.
  80. ; Then remove the END statement before these comments.
  81.  
  82.                      ; DEC Key            IBM Key (Gray keypad)
  83. set key \658 \27[1~  ; Find               Ctrl-Insert
  84. set key \631 \27[2~  ; Insert             Ctrl-Home
  85. set key \644 \27[3~  ; Remove             Ctrl-Page-Up
  86. set key \659 \27[4~  ; Select             Ctrl-Delete
  87. set key \629 \27[5~  ; Previous Screen    Ctrl-End
  88. set key \630 \27[6~  ; Next Screen        Ctrl-Page-Down
  89. set key \389 \27[28~ ; Help = F15         F11 (Can't use Print Screen,
  90. set key \390 \27[29~ ; Do = F16           F12  Scroll Lock, or Pause)
  91. set key \355 \27[17~ ; F6                 Ctrl-F6
  92. set key \356 \27[18~ ; F7                 Ctrl-F7
  93. set key \357 \27[19~ ; F8                 Ctrl-F8
  94. set key \358 \27[20~ ; F9                 Ctrl-F9
  95. set key \359 \27[21~ ; F10                Ctrl-F10
  96. set key \360 \27[23~ ; F11 (Esc)          Alt-F1
  97. set key \361 \27[24~ ; F12 (BS)           Alt-F2
  98. set key \362 \27[25~ ; F13 (LF)           Alt-F3
  99. set key \363 \27[26~ ; F14                Alt-F4
  100. set key \366 \27[31~ ; F17                Alt-F7
  101. set key \367 \27[32~ ; F18                Alt-F8
  102. set key \369 \27[33~ ; F19                Alt-F9
  103. set key \369 \27[34~ ; F20                Alt-F10
  104.  
  105. ; End of CKOVTK.INI
  106.