home *** CD-ROM | disk | FTP | other *** search
- ;
- ; MSK232AT.INI for MsKermit version 2.32A and 3.0
- ; Enhanced emulation of VT102 keypad on PC/AT
- ; by Timo Salmi, Sun 14-Jan-1990
- ; Useful discussions with Hannu Hirvonen, Harri Valkama and Ari Ladvelin
- ; are acknowledged
-
-
- ;
- ; I M P O R T A N T N O T I C E !!!
- ;
- ; If you are using Dos version 3.3 you may experience problems with the
- ; numeric keypad keys. There is nothing wrong with this .ini keyboard driver.
- ; The problems are due to incompatibilities between MsKermit and Dos 3.3. I
- ; solved them by using Dos 3.3 with Dos version 3.21 keyb.exe and
- ; keyboard.sys. This problem seem to have to do with the psysical
- ; keyboard because it bothers one make of PCs but not another.
-
- ; Change the baud rate, parity, and port if necessary and as relevant:
- set baud 9600
- set port com2
-
- ; Select terminal emulation etc
- set terminal vt102
- set terminal wrap on
-
- ; If your host is a Unix system, even parity is a good choice for
- ; binary Kermit transfers. You may have to set also the C-Kermit of
- ; your host to comply.
- ; With many other hosts, such as VAX/VMS, usually omit the parity,
- ; or use set parity none
- set parity even
-
- set display 7-bit ;Ordinary ascii
- set dump f:\kermit.scn ;Screen image destination (see alt G later)
-
- comment F1 (GOLD) (F1 definition could be omitted since it is a default)
- set key \315 \Kgold ;This sets F1 key to act as VT102 gold (PF1) key
-
- comment Keypad ./. (HELP)
- set key \4399 \Kpf2 ;This sets ./. numkey to act as VT102 help (PF2) key
-
- comment Keypad x (find next/find)
- set key \311 \Kpf3
-
- comment Keypad - (delete line, undelete line)
- set key \330 \Kpf4
-
- comment Keypad 7 (page/command)
- set key \839 \Kkp7
-
- comment Keypad 8 (sect/fill)
- set key \840 \Kkp8
-
- comment Keypad 9 (append/replace)
- set key \841 \Kkp9
-
- comment Keypad + (delete word/undelete word)
- set key \334 \Kkpminus
-
- comment Keypad 4 (advance/bottom)
- set key \843 \Kkp4
-
- comment Keypad 5 (backup/top)
- set key \844 \Kkp5
-
- comment Keypad 6 (cut/paste)
- set key \845 \Kkp6
-
- comment Keypad 1 (word/change case)
- set key \847 \Kkp1
-
- comment Keypad 2 (end of line/delete eol)
- set key \848 \Kkp2
-
- comment Keypad 3 (char/specins)
- set key \849 \Kkp3
-
- comment Keypad enter (enter/subs)
- set key \4365 \Kkpenter
-
- comment Keypad 0 (line/open line)
- set key \850 \Kkp0
-
- comment Keypad . (select reset)
- set key \851 \Kkpdot
-
- comment F5 (select reset)
- set key \319 \Kkpdot
-
- comment Delete (delete char/undelete char)
- set key \4435 \Kkpcoma
-
- comment ctrl DEL (linefeed)
- set key \5523 \10
-
- ; inactivate F6-F10 (they have default functions)
- ;set key \316 ;F2
- ;set key \317 ;F3
- ;set key \318 ;F4
- ;set key \319 ;F5
- set key \320 ;F6
- set key \321 ;F7
- set key \322 ;F8
- set key \323 ;F9 ;Defined later below
- set key \324 ;F10 ;Defined later below
- set key \389 ;F11
- set key \390 ;F12
-
- ; Enhanced VT102 editing
- set key \4423 \8 ;Home = to the beginning of the line
- set key \4431 \Kkp2 ;End = to the end of the line
- set key \4425 \27\79\117\27\79\120\27\79\116
- ;PgUp = back up 16 rows (num5 num8 num4)
- set key \4433 \Kkp8 ;PgDn = advance 16 rows
- set key \4434 \1 ;Ins = ^A (command line insert on)
-
- ; Redisplay commands
- set key \5495 \Khomscn ;ctrl Home = Up to top of screen memory
- set key \5493 \Kendscn ;ctrl End = Back to current position
- set key \5508 \Kupscn ;ctrl PgUp = Previous screen
- set key \5494 \Kdnscn ;ctrl PgDn = Next screen
- set key \323 \Kupone ;F9 = Roll screen memory up one line
- set key \324 \Kdnone ;F10 = Roll screen memory down one line
-
- ; Commands resembling the layout of Procomm
- set key \2408 \Klogon ;alt F1 = Turn on session logging
- set key \2409 \Klogoff ;alt F2 = Turn off session logging
- set key \2411 \Kdos ;alt F4 = Push to dos
- ;set key \2352 \Kbreak ;alt B = Send a break (one of the many defaults)
- set key \2350 \Kreset ;alt C = Clear screen
- set key \2338 \Kdump ;alt G = Append current screen to dump file
- set key \2353 \Kholdscrn ;alt N = Screen pause toggle
- set key \2335 \Kstatus ;alt S = Display status message
- set key \2348 \Khelp ;alt Z = Display connect help message
-
- ; Keyboard --> Host
- ; Scandinavian characters typed from the keyboard are changed into
- ; their equivalents used by the host, i.e. the 8-bit PC Scandinavian
- ; characters are converted into 7-bits.
- ; For German, and other international keyboards, the principle is the same.
- ; For a U.S. keyboard comment out the translations
- set translation input on
- set translation input \091 \142 ; [ Ä
- set translation input \092 \153 ; \ Ö
- set translation input \093 \143 ; ] Å
- set translation input \123 \132 ; { ä
- set translation input \124 \148 ; | ö
- set translation input \125 \134 ; } å
-
- ; Host --> Screen
- ; The 7-bit equivalents used by the host are converted back into the
- ; 8-bit scandinavian characters.
- ; For German, and other international keyboards, the principle is the same.
- set key \142 \091 ; Ä [
- set key \153 \092 ; Ö \
- set key \143 \093 ; Å ]
- set key \132 \123 ; ä {
- set key \148 \124 ; ö |
- set key \134 \125 ; å }
-
- ; Some special settings just for the sake of it:
- ; If you do not like them comment them away with a semicolon (;) as I have
- ; done. (Your can comment them away also with the word comment.)
- ; See MsKermit documentation, or set terminal ? for more details
- ;set terminal cursor block ;Use a block as the cursor
- ;set terminal keyclick on ;Drive your colleagues crazy
- ;set terminal color 0,0,32 ;An alternative way of changing the text green
-
- ;Some special features (see MsKermit documentation):
- ; set retry 20
- ; set send packet 94
- ; set send timeout 20
-
- ; Put here any other commands/definitions you wish to make
- ; See MsKermit documentation, or use ? at command prompt for more details
-