📄 mscustom.ini
字号:
; FILE MSCUSTOM.INI.
;
; Sample individual customization file for MS-DOS Kermit 3.11 or 3.12.
; Make any desired changes, and then store this file in the same directory
; as your MSKERMIT.INI initialization file.
;
; Author: Christine M. Gianone, Septermber 1992.
; Revised: June 1993.
;
echo Customizations...
COMMENT - Serial communication settings
set com2 \x2F8 3 ; Address for COM2
set port 2 ; Use COM2
do vax ; Set parameters for talking to a VAX
; (these are Kermit's defaults anyway)
; The following commands are commented out, shown as samples only.
; Replace with settings appropriate for your connection.
;
set speed 57600 ; Transmission speed
; set parity even ; Even parity, 7 data bits
;
; If the remote host or service does NOT use parity, you should use the
; following two settings:
;
set parity none
set terminal display 8
COMMENT - Printing
;
; Uncomment the following command if you don't have a printer. That is,
; remove the semicolon from the left margin. This command prevents
; host-initiated printing operations from hanging your PC. If desired, you
; can also have print operations directed to a file (replace "nul" by a file
; name, for example "set printer c:\logs\printer.log").
;
; set printer nul
COMMENT - TCP/IP network configuration.
;
; To use TCP/IP connections, replace the dummy values below with appropriate
; values for your network (consult your network manager) and uncomment the SET
; TCP/IP commands. Better yet, just SET TCP/IP ADDRESS BOOTP, period.
;
SET TCP/IP ADDRESS \$(MYIP) ; My PC's numeric IP address
SET TCP/IP SUBNETMASK \$(NETMASK) ; My physical network's subnet mask
; SET TCP/IP DOMAIN mydomain.com ; My network's domain name
SET TCP/IP GATEWAY \$(REMIP) ; My network gateway's IP address
SET TCP/IP PRIMARY-NAMESERVER your_nameserver_IP_address ; Primary nameserver's address
SET TCP/IP SECONDARY-NAMESERVER your_nameserver_IP_address ; fallback nameserver address
; SET TCP/IP BROADCAST: 255.255.255.255 ; My network's broadcast address
SET TCP/IP MSS 512 ; maximum segment size, sets MTU 552
; SET TCP/IP MSS 1460 ; maximum segment size, sets MTU 1500
; TELNET macro for making TCP/IP connections.
; "TELNET <ip-host-name-or-address>" makes a new TCP/IP connection.
; "TELNET" (by itelf) resumes the current TCP/IP connection.
; \%1 = IP host name or address
; \%2 = TCP port
; \%3 = terminal type (optional)
;
define telnet -
set flow none,-
set port tcp \%1 \%2,-
if def \%3 set term type \%3,-
pause 0, if succ c
COMMENT - Key definitions. Uncomment these if desired, and/or add your own.
;
; set key \96 \27 ; Exchange ESC and
; set key \27 \96 ; accent-grave keys during terminal emulation.
set key \270 \008 ; Backspace key give ^H
COMMENT - Default terminal emulation screen color is blue on white.
;
; Uncomment and change to suit your tastes.
; See pages 81-82 of "Using MS-DOS Kermit" for color information.
;
set terminal color 36 40 ; Terminal color is cyan on black.
set terminal under 37 43 ; Underline color is white on brown.
set terminal erase current ; Erases in current color
COMMENT - File transfer preferences.
;
;;; Uncomment and/or change to suit your needs.
;
set block 3 ; Block check 3 = 16-bit CRC.
set window 3 ; 3 Window slots.
set receive packet-length 2048 ; Packet length is governed by receiver.
; Macros for transferring files in text and binary mode...
;
define bsend set file type binary, send \%1 \%2 ; SEND in binary mode
define tsend set file type text, send \%1 \%2 ; SEND in text mode
define bget remote set file type binary, get \%1 ; GET in binary mode
define tget remote set file type text, get \%1 ; GET in text mode
define sz run d:\comm2\kerm315\zup \v(speed) \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8, connect
define rz run d:\comm2\kerm315\zdown \v(speed), connect
COMMENT - Character set preferences. Change to suit your needs.
;
set terminal character-set latin1 ; Remote host's character set
set transfer character-set latin1 ; File transfer character set
set file character-set cp437 ; PC's local character set
define _editor edit
define _dialfile d:\comm2\kerm316\dialups.txt
if not eq "\$(DIALFILE)" "" -
define _dialfile \$(DIALFILE)
if > \v(version) 311 if not inpath \m(_dialfile) -
echo Dialing directory \m(_dialfile) not found.
define _modem SURFER
set flow-control RTS/CTS
set file type binary
set incomplete keep
set terminal expanded-memory on
define on_exit echo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -