home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / kermit / tskerm24.arc / MSK232AT.INI < prev    next >
Encoding:
Text File  |  1990-01-14  |  6.1 KB  |  177 lines

  1. ;
  2. ; MSK232AT.INI for MsKermit version 2.32A and 3.0
  3. ; Enhanced emulation of VT102 keypad on PC/AT 
  4. ;              by Timo Salmi,  Sun 14-Jan-1990
  5. ; Useful discussions with Hannu Hirvonen, Harri Valkama and Ari Ladvelin
  6. ; are acknowledged
  7.  
  8.  
  9. ;
  10. ;             I M P O R T A N T   N O T I C E !!!
  11. ;
  12. ; If you are using Dos version 3.3 you may experience problems with the
  13. ; numeric keypad keys. There is nothing wrong with this .ini keyboard driver.
  14. ; The problems are due to incompatibilities between MsKermit and Dos 3.3. I
  15. ; solved them by using Dos 3.3 with Dos version 3.21 keyb.exe and
  16. ; keyboard.sys. This problem seem to have to do with the psysical
  17. ; keyboard because it bothers one make of PCs but not another.
  18.  
  19. ; Change the baud rate, parity, and port if necessary and as relevant:
  20. set baud 9600
  21. set port com2
  22.  
  23. ; Select terminal emulation etc
  24. set terminal vt102
  25. set terminal wrap on
  26.  
  27. ; If your host is a Unix system, even parity is a good choice for
  28. ; binary Kermit transfers. You may have to set also the C-Kermit of
  29. ; your host to comply.
  30. ; With many other hosts, such as VAX/VMS, usually omit the parity,
  31. ; or use set parity none
  32. set parity even
  33.  
  34. set display 7-bit        ;Ordinary ascii
  35. set dump f:\kermit.scn   ;Screen image destination (see alt G later)
  36.  
  37. comment F1  (GOLD)       (F1 definition could be omitted since it is a default)
  38. set key \315 \Kgold      ;This sets F1 key to act as VT102 gold (PF1) key
  39.  
  40. comment Keypad ./.  (HELP)
  41. set key \4399 \Kpf2      ;This sets ./. numkey to act as VT102 help (PF2) key
  42.  
  43. comment Keypad x  (find next/find)
  44. set key \311 \Kpf3
  45.  
  46. comment Keypad -  (delete line, undelete line)
  47. set key \330 \Kpf4
  48.  
  49. comment Keypad 7  (page/command)
  50. set key \839 \Kkp7
  51.  
  52. comment Keypad 8  (sect/fill)
  53. set key \840 \Kkp8
  54.  
  55. comment Keypad 9  (append/replace)
  56. set key \841 \Kkp9
  57.  
  58. comment Keypad +  (delete word/undelete word)
  59. set key \334 \Kkpminus
  60.  
  61. comment Keypad 4  (advance/bottom)
  62. set key \843 \Kkp4
  63.  
  64. comment Keypad 5  (backup/top)
  65. set key \844 \Kkp5
  66.  
  67. comment Keypad 6  (cut/paste)
  68. set key \845 \Kkp6
  69.  
  70. comment Keypad 1  (word/change case)
  71. set key \847 \Kkp1
  72.  
  73. comment Keypad 2  (end of line/delete eol)
  74. set key \848 \Kkp2
  75.  
  76. comment Keypad 3  (char/specins)
  77. set key \849 \Kkp3
  78.  
  79. comment Keypad enter  (enter/subs)
  80. set key \4365 \Kkpenter
  81.  
  82. comment Keypad 0  (line/open line)
  83. set key \850 \Kkp0
  84.  
  85. comment Keypad .  (select reset)
  86. set key \851 \Kkpdot
  87.  
  88. comment F5   (select reset)
  89. set key \319 \Kkpdot
  90.  
  91. comment Delete (delete char/undelete char)
  92. set key \4435 \Kkpcoma
  93.  
  94. comment ctrl DEL  (linefeed)
  95. set key \5523 \10
  96.  
  97. ; inactivate F6-F10 (they have default functions)
  98. ;set key \316    ;F2
  99. ;set key \317    ;F3
  100. ;set key \318    ;F4
  101. ;set key \319    ;F5
  102. set key \320    ;F6
  103. set key \321    ;F7
  104. set key \322    ;F8
  105. set key \323    ;F9          ;Defined later below
  106. set key \324    ;F10         ;Defined later below
  107. set key \389    ;F11
  108. set key \390    ;F12
  109.  
  110. ; Enhanced VT102 editing
  111.  set key \4423 \8            ;Home = to the beginning of the line
  112.  set key \4431 \Kkp2         ;End  = to the end of the line
  113.  set key \4425 \27\79\117\27\79\120\27\79\116
  114.                              ;PgUp = back up 16 rows (num5 num8 num4)
  115.  set key \4433 \Kkp8         ;PgDn = advance 16 rows
  116.  set key \4434 \1            ;Ins  = ^A  (command line insert on)
  117.  
  118. ; Redisplay commands
  119.  set key \5495 \Khomscn      ;ctrl Home = Up to top of screen memory
  120.  set key \5493 \Kendscn      ;ctrl End  = Back to current position
  121.  set key \5508 \Kupscn       ;ctrl PgUp = Previous screen
  122.  set key \5494 \Kdnscn       ;ctrl PgDn = Next screen
  123.  set key  \323 \Kupone       ;F9        = Roll screen memory up one line
  124.  set key  \324 \Kdnone       ;F10       = Roll screen memory down one line
  125.  
  126. ; Commands resembling the layout of Procomm
  127.  set key \2408 \Klogon       ;alt F1 = Turn on session logging
  128.  set key \2409 \Klogoff      ;alt F2 = Turn off session logging
  129.  set key \2411 \Kdos         ;alt F4 = Push to dos
  130. ;set key \2352 \Kbreak       ;alt B  = Send a break (one of the many defaults)
  131.  set key \2350 \Kreset       ;alt C  = Clear screen
  132.  set key \2338 \Kdump        ;alt G  = Append current screen to dump file
  133.  set key \2353 \Kholdscrn    ;alt N  = Screen pause toggle
  134.  set key \2335 \Kstatus      ;alt S  = Display status message
  135.  set key \2348 \Khelp        ;alt Z  = Display connect help message
  136.  
  137. ; Keyboard --> Host
  138. ; Scandinavian characters typed from the keyboard are changed into
  139. ; their equivalents used by the host, i.e. the 8-bit PC Scandinavian
  140. ; characters are converted into 7-bits.
  141. ; For German, and other international keyboards, the principle is the same.
  142. ; For a U.S. keyboard comment out the translations
  143. set translation input on
  144. set translation input \091 \142       ; [ Ä
  145. set translation input \092 \153       ; \ Ö
  146. set translation input \093 \143       ; ] Å
  147. set translation input \123 \132       ; { ä
  148. set translation input \124 \148       ; | ö
  149. set translation input \125 \134       ; } å
  150.  
  151. ; Host --> Screen
  152. ; The 7-bit equivalents used by the host are converted back into the
  153. ; 8-bit scandinavian characters.
  154. ; For German, and other international keyboards, the principle is the same.
  155. set key \142 \091                     ; Ä [
  156. set key \153 \092                     ; Ö \
  157. set key \143 \093                     ; Å ]
  158. set key \132 \123                     ; ä {
  159. set key \148 \124                     ; ö |
  160. set key \134 \125                     ; å }
  161.  
  162. ; Some special settings just for the sake of it:
  163. ; If you do not like them comment them away with a semicolon (;) as I have
  164. ; done. (Your can comment them away also with the word comment.)
  165. ; See MsKermit documentation, or set terminal ? for more details
  166. ;set terminal cursor block     ;Use a block as the cursor
  167. ;set terminal keyclick on      ;Drive your colleagues crazy
  168. ;set terminal color 0,0,32     ;An alternative way of changing the text green
  169.  
  170. ;Some special features (see MsKermit documentation):
  171. ; set retry 20
  172. ; set send packet 94
  173. ; set send timeout 20
  174.  
  175. ; Put here any other commands/definitions you wish to make
  176. ; See MsKermit documentation, or use ? at command prompt for more details
  177.