MS-DOS KERMIT FOR THE IBM PC FAMILY, COMPATIBLES, AND OTHER MS-DOS COMPUTERS Version 3.11, September 1991 This file contains a summary of the commands and features of MS-DOS Kermit 3.11. For detailed information, tutorials, installation and cabling hints, troubleshooting procedures, examples, diagrams, tables, and advanced features, consult "Using MS-DOS Kermit", second edition, by Christine M. Gianone, published by Digital Press, Bedford, MA (1991), order number EY-H893E-DP, Digital Press ISBN 1-55558-082-3, Prentice Hall ISBN 0-13-952276-X. The book includes a 5.25-inch MS-DOS Kermit 3.11 diskette. To order, call (USA, toll free) 1-800-343-8321. It is also available from Kermit Distribution at Columbia University and in software stores and computer bookstores. A German language edition, "MS-DOS Kermit -- das universelle Kommunikationsprogramm", is published by Verlag Heinz Heise GmbH & Co KG, Hannover, Germany, translated by Gisbert W. Selke. TCP/IP users: Read the section at the end of this file and the TCP/IP section in the "beware file" for information that was not available at "Using MS-DOS Kermit" press time. TERMS AND CONDITIONS MS-DOS Kermit 3.11 is a product of Kermit Distribution, Columbia University Center for Computing Activities. The principal author of the program is Professor Joe R. Doupnik of Utah State University, with help from other volunteer programmers all over the world. The software is copyright 1982, 1991 by the Trustees of Columbia University in the City of New York, with portions of the source code also copyright by other institutions including Waterloo University (Ontario, Canada) and the (US) National Center for Supercomputing Applications (NCSA). The MS-DOS Kermit software may be reproduced and shared without restriction except that it may not be licensed or sold for profit as a software product. Kermit software is written by volunteer programmers as a public service, and is furnished without warranty of any kind. Neither Columbia University, nor the individual authors, nor Digital Equipment Corporation, nor Digital Press, nor any institution or individual that has contributed to the development and documentation warrant the software in any way. CONTACT INFORMATION Technical support: (USA) 212-854-5126, or use e-mail addresses below. Kermit programs are available for hundreds of different kinds of computers on a variety of magnetic media. For MS-DOS Kermit, there are also sets of diskettes containing source code, related utilities, collections of key settings files, technical documentation, etc. For a catalog of Kermit software and publications, write to: Kermit Distribution, Dept INFO Columbia University Center for Computing Activities 612 West 115th Street New York, NY 10025 USA Or call (212) 854-3703, or send e-mail to: Info-Kermit@watsun.cc.columbia.edu (Internet) or KERMIT@CUVMA (BITNET/EARN). PROGRAM INSTALLATION Easy. For diskette-only systems, make a backup copy of the Kermit diskette, run Kermit from the backup copy. For hard-disk systems, make a \KERMIT directory on your hard disk, copy the Kermit diskette files to it, and add the hard disk \KERMIT directory to your DOS PATH (modify the PATH= command in your AUTOEXEC.BAT file). In both cases, edit the MSKERMIT.INI and DIALUP.TXT files to suit your needs. See "Using MS-DOS Kermit" for more detailed instructions. Also read the KERMIT.BWR (or MSKERM.BWR) file for problem-solving hints. DIALING AND THE DIALING DIRECTORY MS-DOS Kermit does not have a built-in DIAL command, but if you installed Kermit from the distribution disk according to instructions, you'll be able to use the DIAL macro defined in Kermit's initialization file, MSKERMIT.INI. DIAL uses two additional files: HAYES.SCR, a script program for dialing Hayes modems, and DIALUPS.TXT, your dialing directory. If you do not have a Hayes or compatible modem, you can write a new script program for dialing, modelled after HAYES.SCR (see Chapter 14 of "Using MS-DOS Kermit), or else dial your modem "manually" in CONNECT mode. To use a dialing directory, create a plain text file called DIALUPS.TXT. The file contains one line per entry: name number speed parity comments The "name" is the name you want to use for this entry in your DIAL commands. "number" is the telephone number; "speed" is the dialing speed in bits per second, "parity" is the parity to use (even, odd, mark, space, or none). The name, number, speed, and parity are separated from each other by one or more spaces. Any words after the parity are ignored, so you can use them for comments. If trailing fields (speed, parity) are omitted, Kermit's current values are used (but then you can't have a comment). If you want to tell Kermit explicitly to use its current value for speed or parity, use an equal sign (=). Examples: sprintnet 7654321 2400 mark oofanet 6543210 1200 odd This entry has a comment. tymnet 93,876-5432 2400 even You can put punctuation in the phone #. hometone T5551212 1200 none T in number forces tone dialing homepulse P5551212 1200 none P in number forces pulse dialing anyspeed 999-9999 = none Use current speed, whatever it is. anyparity 888-8888 9600 = Use current parity, whatever it is. whocares 777-7777 = = Use current speed and parity. defaults 987-6543 To use the dialing directory, just type DIAL followed by the name, spelled out in full (case doesn't matter), for example: MS-Kermit>dial tymnet If you type a name or number that is not in the directory, Kermit dials exactly the characters you type, for example DIAL 5552370 dials the number 5552370. DIAL FRED (if FRED is not in the directory) tells Kermit to dial the letters FRED, which won't accomplish anything useful with most modems. To view your dialing directory, type LIST. To view particular entries in your dialing directory, type LIST XXX, where XXX is a sequence of characters that appears in the desired entries (usually the name). In the LIST command, case is important because it uses the DOS FIND program to list the entries: MS-Kermit>list tymnet tymnet 93,876-5432 2400 even You can put punctuation in the phone #. In your dialing directory, you can include spaces in the name or number by enclosing it in braces, as in these examples: {my computer} 555-4321 2400 none your-computer {9 1 800 555 1234} 1200 odd {our computer} {212 701 0000} 19200 space Now you can type commands like DIAL MY COMPUTER, DIAL OUR COMPUTER. The DIAL command assumes your dialing directory is stored on your PC as C:\KERMIT\DIALUPS.TXT. If you want to keep it someplace else or you need to use some other name, find the statement: define _dialfile C:\KERMIT\DIALUPS.TXT in your MSKERMIT.INI file and change the filename as desired, for example: define _dialfile F:\LOCAL\NUMBERS.DAT If you don't want to use a dialing directory, delete, rename, or hide the dialing directory file, or undefine the _dialfile variable: define _dialfile If you want to use the directory sometimes but not others, define a separate macro for dialing without it: define call take \m(_modem).SCR (where _modem is defined as your modem type, e.g. HAYES, and you have an appropriate dialing script file in your PATH, e.g. HAYES.SCR). SUMMARY OF MS-DOS KERMIT COMMANDS The commands listed are for the IBM PC, PS/2, and compatibles. Other versions of MS-DOS Kermit (DEC Rainbow, NEC PC, Victor 9000, etc) lack certain commands and features described here, primarily those having to do with networking, terminal emulation, and character set translation. Kermit commands consist of a sequence of "words" (verbs, nouns, numbers, filenames) separated by spaces and terminated by carriage return (Enter). Command description use this notation: - Replace this with an actual number, or filename, etc. - Replace with an actual decimal number - A file specification, which may include disk & directory - Time of day in 24-hour notation, less than 12 hours from now [] - An optional field, which may be omitted {A,B,C} - Choose one of the items listed [{A,B,C}] - Optionally choose one of the items listed = - Shows default value for a field The following characters perform special functions in MS-DOS Kermit commands: Space Separates command words ("fields"). TAB (Ctrl-I) Like space ESC (Ctrl-[) Completes a keyword if possible. Enter (Ctrl-M, Carriage Return) Enters a command. Formfeed (Ctrl-L) Like Enter, but clears the screen first. Linefeed (Ctrl-J) Like Enter. Backspace (Ctrl-H, Del) Deletes rightmost character from the command. Ctrl-W Deletes rightmost word from the command. Ctrl-U Deletes the entire command. Ctrl-C Cancels the current command, even if you have already entered it. ? (Question Mark) Requests a menu for the current command field. ; (Semicolon) Introduces a trailing command (in command files only). \ (Backslash) Introduces a "backslash code". , (Comma) Separates commands in a macro definition. { } (Braces) used for grouping characters or words together. Backslash codes are used to enter special characters into Kermit commands, and for other purposes too. For example, if you want to use the OUTPUT command to send a Ctrl-C to the host, you can't put the Ctrl-C literally in the command, because typing Ctrl-C would cancel the command. Instead, put a backslash followed by digits to denote the ASCII value of the Ctrl-C character (3): "output \3". Similarly for Carriage Return: "output login myname\13". \123 (up to 3 decimal digits) - A decimal number or character value \d123 (up to 3 decimal digits) - Same as 123 \o123 (up to 3 octal digits) - An octal (base 8) number or char value \x123 (2 hexadecimal digits) - A hexadecimal (base 16) number or character \{ } For grouping, e.g. \{12}6 = Ctrl-L 6, not ~ \; Include a semicolon in a TAKE-file command or macro definition. Other backslash codes: \% Introduce a Kermit variable, \%1, \%2, ..., \%a, \%b, ... \%z \K (or \k) Introduce a Kermit connect-mode verb like \Kexit {\Kxxx} A user-defined macro called xxx assigned to a key \B (or \b) Send a BREAK (OUTPUT command only) \255 Shorthand for CRLF or LFCR (INPUT command only) \CD Carrier Detect RS-232 signal (WAIT command only) \DSR Data Set Ready RS-232 signal (WAIT command only) \CTS Clear to Send RS-232 signal (WAIT command only) \v(name) A built-in variable like \v(date). \m(name) A user-defined named variable \$(name) A DOS environment variable. * PROGRAM MANAGEMENT COMMANDS EXIT or QUIT Exit from MS-DOS Kermit. Close all logs and files. Leave serial port and modem connections open. Close most kinds of network connections. Execute ON_EXIT macro if one is defined. TAKE Execute Kermit commands from the specified file instead of the keyboard. PUSH Go to DOS prompt. Return to Kermit prompt by typing the DOS EXIT command. Preserves connections, settings, etc. RUN [ ] Run a DOS program or execute a DOS command, e.g. RUN EDLIN AUTOEXEC.BAT. ECHO Display the on the screen. For issuing messages from TAKE files or macros. The can contain backslash codes, variables, etc. SET PROMPT Change the program prompt from MS-Kermit> to the specified text, which can contain backslash codes, variables, etc. COMMENT For adding comments to a TAKE file. ; text Commands in TAKE files can have trailing comments preceded by semicolon (;). - Commands in TAKE files or macro definitions can be continued with hyphens, but not in a trailing comment. * DOS ACCESS COMMANDS CD [] Change Directory. Like DOS CD, but a disk drive letter can be included. CLS Clear the PC's screen. DELETE Delete specified file(s). DIRECTORY [] Like DOS DIR command. TYPE Like DOS TYPE command. SPACE [] Show free space on current or specified disk. SHOW MEMORY Show free memory. Others, such as MORE, COPY, RENAME, etc, are defined as macros in MSKERMIT.INI. * COMMANDS FOR GETTING INFORMATION HELP Display a brief help message about MS-DOS Kermit. SHOW Display current settings, definitions, statistics selectively (type SHOW ? for a list of categories that can be shown). STATUS Show values of most SET parameters. VERSION Display the program version number. * COMMANDS FOR SETTING COMMUNICATION PARAMETERS SET COM1
[ ] Tell Kermit the hardware address of COM1, which must be a 8250 or compatible UART, and, optionally, that its interrupt request line number is . Also SET COM2, SET COM3, SET COM4. Used to configure Kermit for nonstandard communication boards. If IRQ not specified, Kermit tries 3 and 4 (standard IRQs for communication ports). USE WITH EXTREME CAUTION: specification of incorrect address or IRQ number could harm your PC or files. SET PORT {COM1, COM2, COM3, COM4} = COM1 Select a communication device (SET PORT ? for list of available devices, see below for local area nets). You can also say SET PORT 1, SET PORT 2, etc. Port must be real 8250 or 16550A UART, or device that perfectly emulates them. If it isn't, Kermit will use BIOS rather than direct hardware control, and will issue a message to that effect. SET PORT {BIOS1, BIOS2, BIOS3, BIOS4} Use BIOS-level driver for COM1, COM2, COM3, or COM4, etc, rather than Kermit's own built-in hardware driver. Allows Kermit to be used with BIOS itself, BIOS Int 14H interceptors (on LANs, for example), nonstandard devices, etc. SET PORT - See section on Local Area Networks. SET SPEED Communications port line speed: 1200, 2400, 9600, etc. SET SPEED ? for list. 75/1200 is "split speed" (75 out, 1200 in). Applies to currently selected serial port (COM1-COM4), or to EBIOS connections. Ignored for other SET PORT options. SET PARITY {EVEN, ODD, MARK, SPACE, NONE} = NONE Character parity to use during communication. If terminal emulation works but file transfer does not, SET PARITY to EVEN or SPACE or MARK. SET DISPLAY { 7, 8 } = 7 Synonym for SET TERMINAL BYTESIZE { 7, 8 } SET DUPLEX {FULL, HALF} = FULL Select full or half duplex communication. FULL = remote echo. HALF = local echo plus RTS/CTS hardware handshake. SET HANDSHAKE {NONE, XON, CR, LF, CODE } = NONE Half-duplex line turnaround character (XON is most common), mostly for use with IBM mainframes. Only affects file transfer. SET FLOW-CONTROL {XON/XOFF, RTS/CTS, NONE} = XON/XOFF Select a full-duplex flow control method. * COMMANDS FOR CONNECTING TO A REMOTE HOST CONNECT Make a terminal connection to a device or another computer on the currently selected port using the current communication settings. Use Alt-X to return ("escape back") to the MS-Kermit> prompt (hold down the Alt key and press x) or Ctrl-] followed by C. You can abbreviate CONNECT as C. HANGUP Hang up a dialed modem connection by lowering DTR for about 1/2 second, or close a network connection. SET DEBUG SESSION Turn off the terminal emulator, display received characters literally for debugging: ^X = Ctrl-X, ~X = X with 8th bit on. SET DEBUG OFF Turn off session debugging, restore normal terminal emulation. * COMMANDS FOR CONTROLLING TERMINAL EMULATION SET TERMINAL [ TYPE ] { VT320, VT220, VT100, VT102, VT52, HEATH-19, HONEYWELL, TEK4010, NONE } = VT320 Select type of terminal to emulate. Other types may be available, type SET TERMINAL TYPE ? for a list. SET TERMINAL ARROW-KEYS { APPLICATION, CURSOR } Puts the arrow keys in the specified mode. SET TERMINAL BELL { AUDIBLE, VISUAL, NONE } = AUDIBLE. What to do with arriving BEL (beep, Ctrl-G) characters. SET TERMINAL BYTESIZE { 7, 8 } = 7 Use 7 for stripping off parity bit, e.g. with UNIX systems, during terminal emulation. Use 8 for 8-bit international character sets, and for properly receiving 8-bit control characters, such as sent by VAX/VMS applications like EVE. SET TERMINAL CHARACTER-SET { LATIN1, DEC-MCS, GERMAN, FRENCH, etc } = LATIN1 Character set used by the host computer during terminal emulation. Optional trailing parameters G0, G1, G2, and G3 can be used to designate the character set to the given Gn tables. Example: SET TERM CHAR LATIN1 G1. SET TERMINAL CLEAR-SCREEN Clear the terminal screen. SET TERMINAL COLOR [, [, ] ] Set fore- and background color for text terminal emulation. The numbers are 0 (normal foreground), 1 (high-intensity foreground), 10 (fast screen update on IBM EGA), 3x (foreground color), 4x (background color), where x is the sum of any of 1 (Red), 2 (Green), and 4 (Blue). SET TERMINAL CONTROLS {7-BIT, 8-BIT} Tell VT220/320 emulator whether to send 7-bit or 8-bit control sequences when DEC function, arrow, editing, or keypad keys are pressed. SET TERMINAL CURSOR-STYLE {BLOCK, UNDERLINE} Select the cursor style for terminal emulation. The default is underline. SET TERMINAL DIRECTION {LEFT-TO-RIGHT, RIGHT-TO-LEFT} Direction of screen writing during terminal emulation. SET TERMINAL DISPLAY Synonym for SET TERMINAL BYTESIZE. SET TERMINAL GRAPHICS Specify the type of graphics adapter in your PC: CGA, EGA, VGA, others (SET TERM GRAPH ? for complete list). MS-DOS Kermit automatically tries to figure out what kind of adapter you have. Use this command if it guesses wrong. Applies to Tektronix emulation only. SET TERMINAL GRAPHICS CHARACTER-WRITING {OPAQUE, TRANSPARENT} Tell whether text characters written on graphics screens should let graphics show through. SET TERMINAL GRAPHICS COLOR [, [, ] ] Fore- and background colors for graphics screens. Numbers same as for SET TERMINAL COLOR. SET TERMINAL GRAPHICS CURSOR {ON, OFF} Tell whether there should be a text cursor during graphics terminal emulation. Default is ON. SET TERMINAL KEYCLICK {ON, OFF} Turn keyclick on or off on keyboards that support this. SET TERMINAL KEYPAD {APPLICATION, NUMERIC} Put the numeric keypad into the specified mode. SET TERMINAL MARGIN-BELL {ON, OFF} Whether to ring the bell when the cursor nears the end of a screen line. SET TERMINAL NEWLINE {ON, OFF} ON means to send both a carriage return and a linefeed when you press Enter. OFF means send only carriage return. SET TERMINAL REPLAY Synonym for REPLAY. SET TERMINAL ROLLBACK {ON, OFF} ON means to restore rolled-back screens to the end when new characters arrive. OFF means to display new characters at the current cursor position. SET TERMINAL SCREEN-BACKGROUND {NORMAL, REVERSE} REVERSE exchanges the fore- and background screen colors. SET TERMINAL TABSTOPS {AT , CLEAR AT , CLEAR ALL} Sets or clears screen tab stops at the specified positions. can be a single number, a list of numbers, or : to set tabs beginning at the specified , every spaces, e.g. SET TAB AT 1:10. By default, tabs are set every eight spaces. SET TERMINAL TEK {ENABLE, DISABLE} Whether Kermit should automatically enter Tektronix graphics mode upon receipt of special escape sequences from the host. ENABLEd by default. SET TERMINAL UPSS {DEC-MCS, LATIN1} Select which character set to designate as your VT220/VT320 User Preferred Supplemental Set. SET TERMINAL WIDTH {80, 132} Put the video adapter into 80- or 132-column mode. If Kermit can do this itself, it will. Otherwise it will attempt to run the DOS batch program COLS80.BAT or COLS132.BAT to do the job. You must supply these files. They should contain whatever external DOS commands you have at your disposal to change the screen width. SET TERMINAL WRAP {ON, OFF} Whether to break overlong screen lines into multiple lines. SET PRINTER Redirect any printing that is done during terminal emulation to a device or file. Default is PRN (the DOS printer device). * LOCAL AREA NETWORKS The SET PORT command tells Kermit which type of network connection you want to use, and in some cases also the network host you want to communicate with. SET PORT TCP/IP [ ] Connect to an TCP/IP host using Kermit's built-in TCP/IP support. If the host is omitted, the one used in the most recent SET PORT TCP/IP or SET TCP/IP HOST command is used, if any (this allows you to switch to another type of connection and then back to your TCP/IP connection). During a TCP/IP session, Kermit uses TELNET protocol to communicate with the TELNET server on the remote host. See TCP/IP Network section below. SET PORT NETBIOS Tell Kermit to use IBM Netbios rather than a serial communication port. Kermit awaits connections from other PCs on the net. Also used with AT&T StarLAN/StarGROUP. SET PORT NETBIOS Tell Kermit to connect to another PC on the Netbios network. Also for AT&T StarLAN/StarGroup hosts. SET NETBIOS-NAME Tell Kermit to set your PC's Netbios node name to . Kermit appends ".K" to the end of the name if you don't include it yourself. SET PORT NOVELL For using Novell network asynchronous communication servers (NASI/NACS). SET PORT DECNET [ []] For DECnet-DOS LAT or CTERM connections. Specify node to connect to, LAT password if required. SET PORT UB-NET1 For Ungermann-Bass Net/One. SET PORT OPENNET [] For Intel OpenNET, similar to Netbios. SET PORT 3COM For using 3COM BAPI asynchronous communication server, BRIDGE PCS or 3+OPEN TCP versions. SET PORT EBIOS { 1, 2, 3, 4 } [ name-of-server-port ] Use Extended BIOS for communication with EBIOS-based asynchronous communication servers like IBM's LANACS. SET PORT TELAPI Connect to an Internet TCP/IP host through Novell LAN Workplace for DOS. SET PORT TES Connect to a VAX/VMS system that is running Netware/VMS. SET PORT { BIOS1, BIOS2, BIOS3, BIOS4 } For using any network that operates through a BIOS Int 14h COM port driver. HANGUP Close network connection, terminate network session. * CONNECT-MODE ESCAPE-LEVEL COMMANDS During terminal emulation, you may type Ctrl-] (hold down Ctrl and press the rightbracket key) followed by any of the following characters (on German keyboards, hold down Strg and press +): ? Help -- prints the available escape-level commands 0 (the digit zero) Transmit a NUL (ASCII 0) B (also Alt-B) Transmit a BREAK signal C (also Alt-X) Return to Kermit prompt level, keep connection open F (also Ctrl-End) File the current text screen in the screen dump file H Hangup the phone or network connection L Transmit a Long Break (1.8 seconds) M Toggle the mode line, i.e. turn it off if it is on & vice versa P Push to DOS; get back to CONNECT by typing EXIT at the DOS prompt Q Temporarily quit logging the remote session R Resume logging the remote session S (also Alt-S) Show the status of the connection ^] (or whatever you have set the escape character to be) Typing the escape character twice sends one copy of it to the host * SET TRANSLATE INPUT COMMAND SET TRANSLATE ON SET TRANSLATE INPUT Specify that when a character that would normally be translated to arrives at the communication port during terminal emulation, it should be translated into before display on the screen. Overrides current terminal character set translation for that character. Translations set up in this way take effect only after you give the command SET TRANSLATE INPUT ON. * SET KEY COMMAND SET KEY Assign to the key whose scan code is given. When you press the key or key combination that corresponds to the scan code during terminal emulation, the is transmitted out the communication port. If you don't know the scan code, type SET KEY alone on a line, then press the desired key or key combination when prompted, then enter the definition. The can be a single character, a text string (which may contain backslash codes), or one or more Kermit verbs. * COMMONLY USED KERMIT KEYBOARD VERBS The default key assignment is in parentheses. \Kexit Exit from connect mode (Alt-X, Ctrl-]C) \Kbreak Send a BREAK signal (Alt-B, Ctrl-]B) \Kdos Push to DOS (Ctrl-]P) \Kdump Dump current screen to file (Ctrl-End) \Khangup Hangup communication port connection (Ctrl-]H) \Klogoff Stop session logging (Ctrl-]Q) \Klogon Resume session logging (Ctrl-]R) \Knethold Put network connection on hold or enter network shell (Alt-n) \Kmodeline Toggle mode line off/on++ (keypad minus) \Kprtscn Print current screen (Print Screen) \Kreset Reset terminal emulator (Alt-=) \Ktermtype Switch between text and graphics screens (Alt-minus) \Kupscn Roll back screen (PgUp) \Kupone Roll back screen one line (Ctrl-PgUp) \Kdnscn Roll screen forward (PgDn) \Kdnscn Roll screen forward one line (Ctrl-PgDn) \KterminalR Execute macro named TERMINALR if any \KterminalS Execute macro named TERMINALS if any {\Kxxxx} Execute macro named xxxx (xxxx can be any name) Use SET KEY to assign or reassign these verbs to the keys of your choice. Example: "SET KEY \315 \Kexit" puts \Kexit on the F1 key. SET KEY CLEAR: Restore all Kermit's default key assignments. SET KEY ON: Use BIOS to read keystrokes (scan codes). SET KEY OFF: Use DOS rather than BIOS to read keystrokes. SET KEY LK: Use external DEC LK250 keyboard driver (if loaded). * PRINTER CONTROL During terminal emulation, Kermit controls the printer according to escape sequences received from the host, including the following for VT102/220/320 emulation: ESC [ 5 i Begin transparent print (send port characters to printer) ESC [ 4 i End transparent print ESC [ ? 5 i Begin autoprint (send screen lines to printer) ESC [ ? 4 i End autoprint Kermit also lets you use Ctrl-Print Screen to turn the printer on and off during terminal emulation. The following command affects all these operations: SET PRINTER Sends Connect mode printer material to the indicated file instead of to the standard DOS printer name PRN; this is a "print to disk" option. SHOW LOG displays the current filename (defaults to PRN). If you press Print Screen (no Ctrl), DOS gets the request itself, Kermit never sees it so the SET PRINTER command does not affect Print Screen. * COMMANDS FOR TRANSFERRING FILES Start a Kermit program on the remote computer, give it a "send", "receive", or "server" command, escape back to MS-DOS Kermit, and give it one of the following commands: SEND [] Send files to remote Kermit receiver or server. Can abbreviate as S. RECEIVE [] Wait for a file to arrive from the other Kermit program, which must be given a SEND command. Can abbreviate as R. GET Ask a Kermit server to send the specified file(s). Use GET to be prompted for remote and local names separately. MAIL
Send the file as electronic mail to the address (if the remote Kermit supports this feature). * GETTING INFORMATION ABOUT FILE TRANSFER SHOW STATISTICS Display efficiency and other statistics about file transfers. SHOW PROTOCOL Display file transfer protocol-related parameter settings. SHOW FILE Display file-related parameter settings * COMMANDS FOR TALKING TO A SERVER BYE Shut down a remote Kermit server and log out its job FINISH Shut down a remote Kermit server, put it back at command level GET Ask a Kermit server to send the specified file(s) SEND [] Send files to remote Kermit receiver or server REMOTE CD [ []] Tell remote server to change to named directory. REMOTE DELETE Tell remote server to delete the specified files. REMOTE DIRECTORY [] Tell remote server to send directory listing for specified files. REMOTE HELP Ask the server to list the services it provides REMOTE HOST command Command for remote host in its own command language REMOTE KERMIT command Send a command to remote Kermit server in its own command language REMOTE LOGIN user Login to a remote Kermit server, separate prompts for password, etc. REMOTE MESSAGE text Send a one-line message to the remote Kermit server REMOTE PRINT [ ] Send the file to a remote server and ask the server to print it with the specified options, if any. REMOTE SET Tell remote server to set the specified parameter to the specified value. REMOTE SPACE [directory] Show disk space on remote host REMOTE TYPE filespec Display remote file(s) REMOTE WHO Display users logged on remote system * COMMANDS FOR ACTING AS A SERVER DISABLE Disable various capabilities of the server (DISABLE ? for list) ENABLE Enable various capabilities of the server (ENABLE ? for list) SET SERVER TIMEOUT How often the server should send NAK packets while waiting for a command, 0 = never (default). SET SERVER LOGIN Set up a name and password which must be sent to the server (by REMOTE LOGIN) before it will accept any other commands. SHOW SERVER Examine server-related parameters. SERVER [{, }] Act as a Kermit server, optionally for or until the given time. Default time is forever (until BYE or FINISH received, or interrupted with Ctrl-C). The MS-DOS Kermit server honors the following requests: SEND REMOTE CWD REMOTE PRINT GET REMOTE DELETE REMOTE MESSAGE FINISH REMOTE DIRECTORY REMOTE SPACE BYE REMOTE HOST REMOTE TYPE LOGOUT REMOTE KERMIT REMOTE SET * INTERRUPTION COMMANDS WHILE A FILE TRANSFER IS IN PROGRESS X or Ctrl-X: Stop sending the current file and go on to the next one, if any. Z or Ctrl-Z: Stop sending this file, and don't send any further files. E or Ctrl-E: Send Error packet to the remote Kermit. C or Ctrl-C: Return to Kermit command level immediately. Q or Ctrl-Q: Send a Ctrl-Q (Xon). Enter key: Try to wake up a stuck file transfer. * CHANGING FILE TRANSFER PARAMETERS SET ATTRIBUTES { ON, OFF } = ON Enable/Disable processing of file attribute packets. SET ATTRIBUTES { DATE, LENGTH, TYPE, CHARACTER-SET } { ON, OFF } = ON Enable/Disable processing of specific file attributes. SET BLOCK-CHECK { 1, 2, 3 } = 1 Level of error checking, 1 by default, 3 is strongest. SET DEBUG PACKETS Display packets on screen during file transfer. SET DEBUG OFF Turn off display of packets. SET DESTINATION { DISK, PRINTER, SCREEN } = DISK Direct incoming files to the specified device. SET FILE DISPLAY { SERIAL, REGULAR, QUIET } = REGULAR Format of Kermit's file transfer display. Use SERIAL for hardcopy terminals, Braille devices, speaking devices, etc. QUIET means no display at all (used automatically in remote mode). Synonym: SET DISPLAY. SET EOF { CTRL-Z, NOCTRL-Z } = NOCTRL-Z Whether Ctrl-Z marks the end of a PC DOS text file. SET FILE TYPE { TEXT, BINARY } = TEXT TEXT implies record format conversion and character set translation. Use BINARY to send or receive files with no conversaion at all. SET FILE COLLISION { DISCARD, OVERWRITE, RENAME } What to do when a file arrives that has the same name as an existing file: RENAME = Automatically give the arriving file a unique name (default). OVERWITE = Overwrite the existing file with the new file. DISCARD = Reject any file that has the same name as an existing file. SET FILE CHARACTER-SET { CP437, CP850, CP860, CP863, CP865, CP866 } Tell Kermit which IBM PC code page to use when sending or receiving a text file. Default is your current PC code page. Kermit translates between the current file character set and the transfer character set. SET TRANSFER CHARACTER-SET { TRANSPARENT, LATIN1, CYRILLIC } = TRANSPARENT Tell Kermit the character set used in Kermit packets. TRANSPARENT means no translation. LATIN1 is ISO Latin Alphabet 1, useful for transferring text that contains accented characters with other Kermit programs that support this feature. CYRILLIC is ISO 8859-5 Latin/ Cyrillic, and can be used only with file character-set CP866. SET UNKNOWN-CHARACTER-SET { DISCARD, KEEP } = KEEP What to do when a file arrives that has an unknown character set. SET FILE WARNING { ON, OFF, NO-SUPERSEDE } = ON Obsolete synomym for SET FILE COLLISION. SET INCOMPLETE { KEEP, DISCARD } = DISCARD What to do with a file that does not arrive completely. SET RETRY = 5 How many times to retry a particular packet before giving up on the file. SET TIMER { ON, OFF } = ON Enable/Disable timeouts and retransmissions during file transfer. SET WINDOW = 1 Number of sliding window packet slots. Sizes greater than 1 can be used only with other Kermit programs that supports sliding windows. Improves transmission efficiency on long-delay or noisy connections. SET SEND (or RECEIVE) START-OF-PACKET = 1 packet begin character, normally Ctrl-A END-OF-PACKET = 13 packet end character, normally carriage return PACKET-LENGTH = 94 packet length; 2000 max; > 94 for "long packets" PAUSE = 0 Interpacket pause, milliseconds TIMEOUT = 5 Timeout interval waiting for a packet, seconds PADDING = 0 How many padding characters before each packet PADCHAR = 0 Padding character to use DOUBLE-CHAR Double packet character when sending. IGNORE-CHAR Discard from packets when receiving. Use SHOW FILE, SHOW PROTOCOL to examine current file transfer settings. * COMMANDS FOR FILE TRANSFER WITHOUT ERROR CHECKING Kermit can also transfer files or other information with remote computers, services, or devices that do not support the Kermit file transfer protocol. These methods provide no error detection or correction. Use with caution. TRANSMIT Send a text file to the host as if you were typing it at the keyboard a line at a time. Waits for linefeed (\10) to echo before sending next line. Uses all current communication settings (parity, flow, etc). Does'nt translate character sets. CRLF is sent as CR only unless SET TRANSMIT LINE-FEEDS ON. Empty lines are sent as pairs of CRs (or CRLFS) unless SET TRANSMIT FILL is used. SET TRANSMIT Various parameters used to control TRANSMIT command. FILL-EMPTY-LINE { NONE, SPACE, } LINE-FEEDS-SENT { ON, OFF } PROMPT - character to wait for before sending next line (= \10) LOG SESSION Capture a remote file, which you must TYPE, into the named file (SESSION.LOG by default). Use \Klogoff and \Klogon keyboard verbs to stop and restart logging (Ctrl-]Q, Ctrl-]R). CLOSE SESSION Stop capturing and close the session log file. * COMMANDS FOR RECORDING THINGS LOG TRANSACTION [] = TRANSACT.LOG Log file transfer names, times, etc, incking, en * COMMAN filNeename>r IntsCLOSE SES> l (or RECEIVE) r IntsCLOo not support t Disnsfer names, timesCOLLI {n rece stron,AN filNe,R RECORDING STINATIO}ingMIT S. t). and ba Direct incominng and c serialcode2> beforeTnd ber, a text ermitt, which can contain backslaour curret to do wto do t>} = Nose netothe enso of the n\13\10 as if yt appendand btext filso th and ba ection sentogging (Ctr{ stron,AN filNe,R RECORDING STREAD, COLLISI, CLECN Stop t incominng and c ESSIgon ks to accept anyname>r SET ted foESSIgo (also As to n a remory listingestartF charerialme, PRN, or Nas patrl-]P) \Krl-End) File tions> Dumpe namime> Specd) File rittet se)stingestarprincharerialme, PRN, or Nas patrl-]it translate \Kupscnrl-En- and backg)e tions> Durn off disUMP SET TERMINAL GR PORT furrent text screenre- and between tee definSCNamed file E CWDSwitch between tE-FEEav VaTEKPLTnn.TIFlose thMACROMODE EEF com< {\-or-contain -ied fileMIT S. D COPYs>, {\Kor contain xx} A u" SET>. Kmmandsoptionallrametet th. eMIT support. IfulatCOPYs>hich you m {\Kor contain whose spromptng EBIOS-bn a {\s, eMIT F} Tell wbe a ted with Ctrl-it will to a remot typiby-it wiou musadapter youERROR CHEs G0, G1, G2,fit aty) \v(name) Aduce aaay SET PORTTen prompted, adaptpominnlay recei(tt, which can nued wiE hich {\Kxxx} A u" SET>,e file l Keemulatiter> hich pter yo> iappend {\KxKor contain xs ".K"te ON_EXIT macI FULARGCh sendi pter yo> pter yo> iapARGCh"teequnnect sendi(ION, NUMc(on LAtKor contain ) macI F pter yo> iapARGCh"tel aloneanst) SacI F>LARGCh sendi pter yo> pter yo> iapARGChdow packet slt) SacI FNOTF>LARGCh sendi pter yo> pter yo> iapARGChl aloneanstworqunnect send macI FU, <, LOGROR CHEs G0, G1 = DISnameON, NUMDontain brovideon LAtsg, e.gj remARGC,CAUTIONceived fromn alsopreate). ON, NUMDontain b, most SDSHAUN8250 o } =- g. IS file tevEr de) evEplatT - g. mula or exe6 }-PCAL CHARAINBOW evEp de) g. ICHOW LOG running (base 8) evEp only )eypad mILES ons: ted wi_e defie 8) evEst. )g. ICHOW LOGng windows. st. thea Kermisele..4,OS for) evEgo (al). I0 iapp a Susing 3CESSIgucc. Ifnonmmande linefailed. evEy user). Ited wi evELog ) g. ICHOW LOGLog apdaye SERV or exe12:30:01 evEimplies) g. NON, NUM VERSION Di or exe311Kermiimplies 3.1e: SET\$Exec)OS prid variable \$(name) A or exe\$ECOMSPEC suppSCRIPe. * PROGRATensWIin whatevE-FEummun(es. onjl sequehan 1 can be used in whate), incl endyode pucurro displae seraremo = DISCr other informatET KESK SETame) A SKermi L commahich SKermi to bef,y name) y tri Rrminal , whichSETame) A tET KESKQ SETame) A SKermi Ld. ESK,abu servicests foy tri RrminalT macIe com[<} = ON >] . RECEuSame <} = ON >val a liname>] Wa line. Uses san a seriaectly What ,w og SUilingut the butLog utaESSIgt FAILUR, VISUSingle er, a text string (which maT mac (or . lespec> [ne is transmitsan a serfor SET ost ACtr{r = 5 t whichiap enptionall tohand for CRLFserfor SET ost N EDLn the file. SET TRMINAL WRAPes, etc. How DOS byohand for CRLFto befoerfor SET ost t pause-RDING T{FEEDCEEDDISPLY { SEEEDCEEDNE-FEEDCEEDn you preg SUiling iAILUR, sending the cne a siate ThenGer {\ charaompted, abr For adding ISPLY aracters rompt HOW LOG {\KxKor For chaateriato Kermit r Tek } = ON ( To Tek failmit suIF SUiling pter yo>hich pter yo> iappendn have hand for CRLFtgucc. PC on thtionslic, and can ble charactn whatevame) oisy,nections,WD ,IRECrate prompIF iAILUR, pter yo>hich pter yo> iappendn have hand femulatible charactn whatefailed. 94 for al nings (e bher to send directonSET WINDOWl wait,it server,N) bc). DoeD ?aypans no s if you were timesCAIom[<} = ON >] [DTR] [CD] [CTSS. RECE<} = ON >v(Wl waitit server, og SERV)to send directoor NmKbreak istingehe F CLECNea] Use Extendsan a in a rbufissions dTOPe>r Inermit {\KxKor For MS- used >e Kermi.rver (DPORTSET WI]e>r Inermit HOW LOG {\KxKor For {\caFor MS- used >e Kermi. built-i Act as RTSET Wgiven tional,w og SUiling iappends interrup0,Igt FAILUR,de line, inonmman VISUScally inPO AT&T GOTO goba Direct incominnabel sendPACKET Ruved urrhat sTen nabeletbi name ana Sefor aPACKEso = DISCcolmmun:)henGn. lefOGmmrCKETes.mGer {\ charaompted, abr For adding II line, inor Tendn h Susin>} = shis uannabel x} A u"lo)."g IGOTO LOOPhat wheompunscer to tLATE ON} = ON >v. d. LATE ,abu sal to the i Timename>] Wa line. Uses s nodort,necLATE Or", eemulatand ba do when l DOSye>] Fserfor SE SUNT completeR LOGINsport.lo). ou i Dect senleteprompIF SUNT cpter yo>e commr C = DIGOTO Variostruc cou iminngop of file atLARMON} = ER LOGIN GROR armON} = EOWl wait ntioniermt, og SERVprompIF tLARMONpter yo>e). SynonR FI * completeR LOGIN TheseReture(s). acter, G1, G willye used Tek KEYprompIF nR FI * completeONpter yo>e). IF nXIS with cautioONpter yo>e). IF nQUALy< SSET S2di pter yo>} = Nose netoth.LOGINspFAILUR,dflagrmt,t apes, timesCOLLI tingseMIT . t). and bala DireSHOW LOG ser COLLI orG ser tionogramsthRAT the" LOice-Halressom> porisends Connect texnection manegssions T which to an TCP/IP host using Kermit'Duringn. axnection adap> cann E rnec-sty-CHAR canndwhenKnethold ions> using nection imeouBIOS4 } Foa dds way G1, Go For UnIl trTE n E rnec-sty-CHAR TellBIOS4 } um> =factet th. texnection um> =fact vendse mid do wto do tt fil= DISCAR ZOO type r PChe cunpservehem t DOS cket befs READnME, MANIFEST.DOCcanndwINSTALL.DOCcannd ions mpt urrhatS FOR- charITHOUT ERROu Stop using nection,ture a remuxxx canon and th whatevou hto do t, CP865,write the tng,arc.detailiency ani Ex} = 5,writ texnection manegss nthe no e (basscharactesWIin whate,her typp BOOTost rRARP SET NETBIOS-NAe> Tellnd s electrot to, LA)ut the core promptection when ter sOOTost rRARP:ss>}] y132ERROr SEon and ADDRing sOOTost rRARP: Kmmandsopter C). ts jK250e corend s electr display at a.ommandples name ar SEon and ADDRing 128.59.77.23 ; Myend s elect, fu ct incominame ar SEon and ADDRing sOOTossssssss; Get my s electr a sOOTosage to tme ar SEon and ADDRing RARP:ssssssss; Get my s electr a RARP:ss>}] erfor SEon and SUBNETMESK SIPSET PORT-mask SET NETBIOS-NA ractmit'd, ableanend s electr or key combina corephysy at SEnother PC TERMIT KEYBOis 255.255.255.0PC oe> no e (bash"teesEDS ial;line, s paisad by BIOS-NAME CURSOR {anend s electr, i.e. corephysy atxnection l emu name anaitng, onny networkdds wayut tn> no e (basscn h late uitng,ful EBIOS-based asynPC TERMsubnecmaskiles or ts jK250ad by sOOToserfor SEon and BROADCAS wiIP-br250cas SET PORT TELAILLIC } = TRANSPnd s electrt which IBM PC code nd br250cas E text s,he Netbiterceptba DiresOOTosage to,her o } = gnizeSCREEN } =onYou mustMIT KEYBOisetbi255.255.255.255, arac } =" my arrphysy atxnection" Ex}at youri deer> e>r Tendnd s electr these vtection'scn imarc.ted fge to,h ractnt PC coden TCP/IPted foala nd s electYou mR to, LAbtext filso th which Sendted foermit ful forn eON, NUMnd s electYo itype r used in the mosit will aommandple name ar SEon and PRIMARYoup hr-relat128.59.77.1 LOGROR CHEs Gts jK250ad display at alby sOOToserfor SEon and SECONDARYoup hr-relatSIPSET PORT>e>r Tendnd s electr these vtection'scWl waiarc.ted fge to,hisad by BIOS-NAiilt-in TCn imarc.ted fge to unlen ? Helut the .ted fge to unlraddie) A ohichnnecti Sendtmplet Kermit to useted foalype r used in the mosit will aomNed fge tos no electYo ERROR CHEs Gts jK250ad display at alby sOOToserfor SEon and GATEWNDS IPSET PORT>e>r Tendnd s electr thDireids way) \Kte core promparadxnection aspec> [ard IND noANSPndress> u mR to, LAbtext filso th w uses TELNETON ocol these vato Kermior DOS. SEustMIT KEYBO Send= ON d in the mosit will aom d in the mosfor D>Igt Smit progrtooils current fi d in the mosit willCr oeplet Ki btext fio= TRANSecti Senu musadand is used, if any (tte KerOTE HOt=) \KteBM NetbrOTEP connectiy on long-delay or nthe mosDOMAfauldomain-e lines. mosdomainh you harae> organizaed, abr da ret T14H interceptCcolumbia.edu chaarmisolumbia Uniimplimunicc.columbia.educharacte Cinforma Crk conatisolumbia commniimplimuu musadaautoprints youect Sen i.e. core promptection msthRA nickLOG H interceptCwatsunKermit to usewatsun.cc.columbia.edu whose san TCP/IPted tionall tope r used in the mosit will ERR'me anhaueive used ae to < noANSPdomainhaspecromioagaing II linestOTE ERR'me anhaueive used cromsRANSectilefOted, fielescape seqdomainhaspecromioagainZ: Stosng therver, optP/IP su chaaruion. seqdomainhs ".K"teisad up name ar SEon and DOMAfaucc.columbia.eduname ar SEd in the mosoofa.cserial commucromio(almso, i.rder):soofa.cs,soofa.cs.cc.columbia.edurnal eofa.cs.columbia.edur eofa.cs.edu lay orceptCthe SERVER th whatevH inMSe definINIn(substitanyfe> ote Ke no e (basscharacte=onYo> n rrha!)rs the foSEon and ADDRing 128.59.77.23 ;LS13 Tellnd s electthe foSEon and SUBNETMESK 255.255.255.0 ;LS13 promptec'scWubnecnmaskthe foSEon and GATEWNDS128.59.77.1 ;LTireids way).e. core promptecthe foSEon and PRIMARYoup hr-relat128.59.77.19 ;LNed fge to).e. core promptecthe foSEon and SECONDARYoup hr-relat128.59.78.12 ;LFallte Kened fge tos nor SEon and DOMAfaubar.baz.educ ;LS13 prompmosdomainh youOGRATenn,namemons aion and then back rs the foSEd in the mosfoo ;ET PORT TES foo.bar.baz.edu LOush toOGRATenion and then back e, ino ] F)/IP or SET ional,waNA ract og someM VERORTs text s be FEes, etcWHO core2> beforeIitch to anothckg to Kermi y132w sendineactesW text s,hbu sa Alt-S) Show the failsuringyEMOTE remainhvisiHelpsna co'TE ion tyWhylinefailed. L to y andape seqT command MOTE packetlose netw core2 l (or nnd pop y132"server"> MS- used >e Kermi. bTeni 14h C, "receive level i]Heouts acreen. OveNTROL DuF} Tdo Reject anbher ilename (derptection when esOOTosage to,hITHOUT ERRONea]to remote nd s elect, as wLLICa ?aich youend the electYo,eids way)s elect, aLFtgubnecnmaskndape seon witersa Alt-SsOOTosage to'sMuilacomm when a e iryXT Ae> T for transferr. Tssel te w. bTennap ea Kin whatever en. e> Tuppnection S) Show the arers the foSEon and SUBNETMESK 255.255.254.0 ;rSubnecnmaskthe foSEon and DOMAfaubar.baz.educ ;LS13 prompmosdomainh youOG ar SEon and ADDRing sOOTossssssssssss; Get n also trapviaTsOOTos the foSEd in the moslt). -or-ompleteOsss; Ed vblishISCcop the phone Oush toOGRATenifoSEon and SUBNETMESK IP or SET e tng,arc. ea Knhe coregubnection CP/I a difisslatemaskno useT KEY CLEAR: Res,h ractis 255.255.255.0POGRATeniatrseegfor switch whatevERROgooala pe r MSe definINIng or reSinceringyE emuldo wte/Disabla pe r PCALingyEERROR CHEgooala . Dytnn else'foali ializaed, filen o when eit to connct anyectionapprotocodpaddinPChe defalt-SsOOTo uilacommaour curree escaanend br250cas E text nthlt-SsOOTosage toet th. tOR CHEmmandionallr SEon and ADDRing, SUBNETMESK, PRIMARYoup hr-rela,y orCONDARYoup hr-rela, aLFtGATEWNDSin whate,hlt-ir (basscMOTE bRMsuperse0ad by N) b (basscEDS Obyhlt-SsOOTosage toeS FOROOTosage rn i = RejeRow p advantt or tPCptection configurxtendsan. bW ainsfer ones. ea Ktnn e onralname> ermit to useonNG }] ITHOUT ERRONea]to remote nd s electndape seon witer,sa Alt-SRARP:ss>}] 'sMuilacomm ransferrina e iryXT Ae> T. bTeniRARPon witersERR'me sed, ERMsubnecmask,h youend the electYo,eimegds way)s elect,on ott fil= stOTE n. eTssel te w itype r MSe definINIng or reHow. D,on. Dybody to connct anphysy atxnection ERROu Stopct an using nection deer>