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