home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / msr313src.zip / mskerm.hlp < prev    next >
Text File  |  1993-09-26  |  76KB  |  1,735 lines

  1.                 MS-DOS KERMIT
  2.  
  3.     FOR THE IBM PC FAMILY, COMPATIBLES, AND OTHER MS-DOS COMPUTERS
  4.  
  5.                 Version 3.13, July 1993
  6.  
  7. Last update: Fri Sep 24 14:38:46 1993
  8.  
  9. This file briefly summarizes the commands and features of MS-DOS Kermit 3.13.
  10. For detailed information, consult "Using MS-DOS Kermit", second edition, by
  11. Christine M.    Gianone, published by Digital Press, Bedford, MA (1992), order
  12. number EY-H893E-DP, Digital Press ISBN 1-55558-082-3, Prentice Hall ISBN
  13. 0-13-952276-X, International Edition ISBN 0-13-95304306.  To order, call (USA,
  14. toll free) 1-800-344-4825, or 1-212-854-3703.
  15.  
  16. A German-language edition, "MS-DOS Kermit -- das universelle
  17. Kommunikationsprogramm", is published by Verlag Heinz Heise GmbH & Co KG,
  18. Hannover, Germany, translated by Gisbert W. Selke, ISBN 3-88229-006-4.
  19. Verlag Heinz Heise GmbH & Co. KG, Helstorfer Strasse 7, D-3000 Hannover.
  20. Tel. +49 (05 11) 53 52-0, Fax. +49 (05 11) 53 53-1 29.
  21.  
  22. A French-language edition, Christine M. Gianone, "Kermit MS-DOS Mode
  23. d'Emploi", is published by Heinz Schiefer & Cie., Versailles (1993),
  24. translated by Jean Dutertre.  ISBN 2-901143-20-2.
  25. Heinz Schiefer & Cie., 45 rue Henri de Regnier, F-78000 Versailles, France.
  26. Tel. +33 13 021 55 05, Fax. +33 13 902 3971.
  27.  
  28.   TCP/IP users: Read the section at the end of this file and the TCP/IP
  29.   section in the "beware file" (KERMIT.BWR or MSKERM.BWR) for information that
  30.   was not available at "Using MS-DOS Kermit" press time.
  31.  
  32. TERMS AND CONDITIONS
  33.  
  34.   Copyright (C) 1985, 1993, Trustees of Columbia University in the City of New
  35.   York.     The MS-DOS Kermit software may be reproduced and shared without
  36.   restriction as long as this copyright notice is retained, except that it may
  37.   not be licensed or sold for profit as a software product itself, and it may
  38.   not be included in or distributed with commercial products or otherwise
  39.   distributed by commercial concerns to their clients or customers without
  40.   written permission of the Office of Kermit Development and Distribution,
  41.   Columbia University.
  42.  
  43. MS-DOS Kermit is a product of Kermit Distribution, Columbia University Academic
  44. Information Systems.  The principal author of the program is Professor Joe
  45. R. Doupnik of Utah State University, with help from other volunteer programmers
  46. all over the world.
  47.  
  48. Kermit software is written by volunteer programmers as a public service, and is
  49. furnished without warranty of any kind.  Neither Columbia University, nor the
  50. individual authors, nor Digital Equipment Corporation, nor Digital Press, nor
  51. any institution or individual that has contributed to the development and
  52. documentation warrant the software in any way.
  53.  
  54.  
  55. CONTACT INFORMATION
  56.  
  57. Technical support: (USA) 212-854-5126, or use the e-mail addresses below.
  58.  
  59. Kermit programs are available for hundreds of different kinds of computers on a
  60. variety of magnetic media.  For MS-DOS Kermit, there are also sets of diskettes
  61. containing source code, related utilities, collections of key settings files,
  62. technical documentation, etc.  For a catalog of Kermit software and
  63. publications, write to:
  64.  
  65.   Kermit Distribution, Dept INFO
  66.   Columbia University Academic Information Systems
  67.   612 West 115th Street
  68.   New York, NY    10025  USA
  69.  
  70. Or call (212) 854-3703, or Fax (212) 662-6442, or send e-mail to:
  71.  
  72.   kermit@columbia.edu (Internet) or KERMIT@CUVMA (BITNET/EARN).
  73.  
  74. UPDATES
  75.  
  76. MS-DOS Kermit 3.11 was released September, 1991, and is fully described in
  77. "Using MS-DOS Kermit", second edition. MS-DOS Kermit 3.12 and 3.13 have several
  78. features not described in the book, but which are included in this file, and
  79. described fully in the file KERMIT.UPD (MSKERM.UPD).
  80.  
  81. PROGRAM INSTALLATION
  82.  
  83. Easy.  For diskette-only systems, make a backup copy of the Kermit diskette,
  84. using DISKCOPY, and run Kermit from the backup copy.
  85.  
  86. For hard-disk systems, make a \KERMIT directory on your hard disk, XCOPY /S
  87. the Kermit diskette files to it, and add the hard disk \KERMIT directory to
  88. your DOS PATH (modify the PATH= command in your AUTOEXEC.BAT file).  NOTE: If
  89. you have a modem other than Hayes 1200 or 2400, you will need to copy the
  90. appropriate dialing script file from the MODEMS subdirectory into the main
  91. KERMIT directory.  The same might apply to various other drivers or files.  Be
  92. sure to read the READ.ME file on the MS-DOS Kermit distribution diskette.
  93.  
  94. In version 3.13 and later, you do not have to add the KERMIT directory to your
  95. DOS PATH.  Alternatively, you can add a PATH item to your "KERMIT=" DOS
  96. environment variable, for example:
  97.  
  98.   SET KERMIT=ROLLBACK 50;PATH C:\KERMIT;COM4 \x2e8 5
  99.  
  100. Of course, you have to put KERMIT.EXE itself in a directory that is in your
  101. DOS PATH, or else create a KERMIT.BAT file in such a directory to run
  102. KERMIT.EXE out of its own directory.
  103.  
  104. In both cases, however, you still have to edit your AUTOEXEC.BAT file: either
  105. to change the PATH or to add or change the KERMIT environment variable.     The
  106. reason you need to have Kermit's directory in the DOS PATH (or in the KERMIT
  107. PATH) is so Kermit can find its initialization file, modem dialing scripts,
  108. and other command files and scripts (the TAKE command looks in the PATH).
  109.  
  110. Please don't edit the standard initialization file, MSKERMIT.INI.  Make all
  111. desired communications and network setups and other customizations in your
  112. individual MSCUSTOM.INI file.  A sample is provided.  MSCUSTOM.INI is executed
  113. automatically by MSKERMIT.INI.
  114.  
  115. To use Kermit in Microsoft Windows, also perform the following steps:
  116.  
  117.  1. Put the KERMIT.PIF in the C:\WINDOWS directory, or whatever other
  118.     disk:\directory you keep your Windows files in.
  119.  
  120.  2. Open the group window for the group you want to add Kermit to.
  121.  
  122.  3. Choose New from the File menu.  The New Program dialog box appears.
  123.  
  124.  4. Select Program Item and choose OK.
  125.  
  126.  5. Type "MS-DOS Kermit 3.13" in the Description text box (or whatever
  127.     the Kermit version number is).
  128.     
  129.  6. Type the pathname of the KERMIT.PIF file file in the Command Line box,
  130.     e.g. "C:\WINDOWS\KERMIT.PIF".
  131.  
  132.  7. Choose OK, and now you should have an MS-DOS Kermit icon that starts
  133.     Kermit with the right PIF settings.
  134.  
  135. Read "Using MS-DOS Kermit" for more detailed installation instructions, as
  136. well as for complete instructions on using MS-DOS Kermit.
  137.  
  138. Read the KERMIT.BWR (MSKERM.BWR) file for problem-solving hints as well as
  139. technical details about internal modems and nonstandard serial ports, Windows,
  140. OS/2, DesqView, memory management, networks, and many other topics.
  141.  
  142.  
  143. APPLYING PATCHES TO MS-DOS KERMIT
  144.  
  145. Sometimes errors are discovered in MS-DOS Kermit programs after they are
  146. released.  Rather than issue a new release to correct these problems, we
  147. "patch" them at runtime.  The patches are contained in a small file called
  148. MSKERMIT.PCH.  This file contains checking information -- the MS-DOS Kermit
  149. version number and internal checksum must agree -- plus patches that Kermit
  150. should apply to itself when it starts up.  The MSKERMIT.PCH file should go
  151. in the same directory as your MSKERMIT.INI file.
  152.  
  153. When the simple instructions below are followed Kermit will read the file
  154. MSKERMIT.PCH and make changes to the copy of itself which is currently running
  155. in memory.  The executable Kermit program file on your disk is not modified.
  156.  
  157. CAUTION: These patches should be applied only to the executable version of
  158. MS-DOS Kermit that was obtained from Columbia or from the book "Using MS-DOS
  159. Kermit" (KERMIT.EXE on disk in the book, or MSVIBM.EXE over networks from
  160. Columbia Kermit Distribution, or translated from the Columbia MSVIBM.BOO
  161. file), and NOT to a version you built yourself from the source using a
  162. possibly different assembler and linker!
  163.  
  164. Patch instructions:
  165.  
  166.  1. Make sure you have the version of Kermit for which these patches are
  167.     intended.  Run Kermit and type the VERSION command.
  168.  
  169.  2. Obtain a copy of the the appropriate patch file from Kermit Distribution
  170.     at Columbia University.  Don't trust copies of this file that came from
  171.     anywhere else!  Those who are connected to Columbia through the academic
  172.     computer networks can transfer this file in text mode to a local computer
  173.     host, and then use Kermit in text mode to transfer it to their PCs.     The
  174.     patch files are:
  175.  
  176.     MSKERMIT.PCH -- The patch file that applies to the current version.
  177.     MSR311.PCH     -- Patches for version 3.11
  178.     MSR312.PCH     -- Patches for version 3.12
  179.     MSR313.PCH     -- Patches for version 3.13
  180.     etc.
  181.  
  182.  3. If you got your copy of MSR3xx.PCH on paper from Columbia University, you
  183.     must type the file in to your PC using a text editor or word processor.
  184.     Be sure to use the "ASCII" or "TEXT-ONLY" option of your word processor
  185.     and be very careful not to make any typographical errors.  Double check
  186.     your typing.
  187.     
  188.  4. Copy the MSR3xx.PCH file to the same disk and directory where you keep
  189.     your MSKERMIT.INI file, and name it MSKERMIT.PCH, for example:
  190.  
  191.       C:\> copy msr313.pch c:\kermit\mskermit.pch
  192.  
  193.     NOTE: In MS-DOS Kermit 3.13 and later, you don't need to rename this file.
  194.     If Kermit does not find a file called MSKERMIT.PCH in the PATH or current
  195.     directory at startup time, then it looks for MSRxxx.PCH, where xxx is the
  196.     three-digit program version number, e.g. MSR313.PCH.
  197.  
  198.  5. Your MSKERMIT.INI file includes PATCH as its first command.     This is
  199.     what installs the patches.    If the patch file is not found, or if it
  200.     disagrees in any way the version of Kermit you are running, an error
  201.     message is printed and the patches are ignored.
  202.  
  203.  6. Now CD to your normal working directory, type "kermit" to start the
  204.     Kermit program.  The startup banner and the VERSION command display the
  205.     patch level.
  206.  
  207. If the patching process succeeds then no messages are issued.  See the patch
  208. file itself (it's a text file) for a description of each patch, and also be
  209. sure to read MSKERM.BWR (KERMIT.BWR) for futher information.
  210.  
  211. SUMMARY OF MS-DOS KERMIT COMMANDS
  212.  
  213. The commands listed are for the IBM PC, PS/2, and compatibles.    Other versions
  214. of MS-DOS Kermit (NEC PC9801, DEC Rainbow, Victor 9000, Zenith Z100, etc) may
  215. lack certain commands and features described here, primarily those having to
  216. do with networking, terminal emulation, and character-set translation.
  217.  
  218. Kermit commands consist of a sequence of "words" (verbs, nouns, numbers,
  219. filenames) separated by spaces and terminated by carriage return (Enter).
  220. Command description use this notation:
  221.  
  222.   <parameter>    - Replace this with an actual number, or filename, etc.
  223.   <number>    - Replace with an actual decimal number
  224.   <filename>    - A file specification, which may include disk & directory
  225.   <hh:mm:ss>    - Time of day in 24-hour notation, less than 12 hours from now
  226.   [<parameter>] - An optional field, which may be omitted
  227.   {A,B,C}    - Choose one of the items listed
  228.   [{A,B,C}]    - Optionally choose one of the items listed
  229.   = <value>    - Shows default value for a field
  230.  
  231. The following characters perform special functions in MS-DOS Kermit commands:
  232.  
  233.   Space         Separates command words ("fields").
  234.   TAB         (Ctrl-I) Like space
  235.   ESC         (Ctrl-[) Completes a keyword if possible.
  236.   Enter         (Ctrl-M, Carriage Return) Enters a command.
  237.   Formfeed   (Ctrl-L) Like Enter, but clears the screen first.
  238.   Linefeed   (Ctrl-J) Like Enter.
  239.   Backspace  (Ctrl-H, Del) Deletes rightmost character from the command.
  240.   Ctrl-W     Deletes rightmost word from the command.
  241.   Ctrl-U     Deletes the entire command.
  242.   Ctrl-C     Cancels the current command, even if you have already entered it.
  243.   ?         (Question Mark) Requests a menu for the current command field.
  244.   ;         (Semicolon) Introduces a trailing command (in command files only).
  245.   \         (Backslash) Introduces a "backslash code".
  246.   ,         (Comma) Separates commands in a macro definition.
  247.   { }         (Braces) used for grouping characters or words together.
  248.  
  249. Backslash codes are used for many purposes, such as to enter special
  250. characters into Kermit commands.  For example, if you want to use the OUTPUT
  251. command to send a Ctrl-C to the host, you can't put the Ctrl-C literally in
  252. the command, because typing Ctrl-C would cancel the command.  Instead, put a
  253. backslash followed by digits to denote the ASCII value of the Ctrl-C character
  254. (3): "output \3".  Similarly for Carriage Return: "output login myname\13".
  255.  
  256.   \123      (up to 3 decimal digits) - A decimal number or character value
  257.   \d123      (up to 3 decimal digits) - Same as 123
  258.   \o123      (up to 3 octal digits) - An octal (base 8) number or char value
  259.   \x123      (2 hexadecimal digits) - A hexadecimal (base 16) number or character
  260.   \{ }      For grouping, e.g. \{12}6 = Ctrl-L 6, not ASCII 126 = tilde (~)
  261.   \;      Include a semicolon in a TAKE-file command or macro definition.
  262.  
  263. Other backslash codes:
  264.  
  265.   \%       Introduce a Kermit variable, \%1, \%2, ..., \%a, \%b, ... \%z
  266.   \K       (or \k) Introduce a Kermit connect-mode verb like \Kexit
  267.   {\Kxxx}  A user-defined macro called xxx assigned to a key
  268.   \B       (or \b) Send a BREAK signal, 275 milliseconds (OUTPUT command only)
  269.   \L       (or \l) send a Long BREAK, 1.5 seconds (OUTPUT only)
  270.   \255       Shorthand for CRLF or LFCR    (INPUT command only)
  271.   \v(name) A built-in variable like \v(date)
  272.   \m(name) A user-defined named variable
  273.   \$(name) A DOS environment variable
  274.  
  275.  
  276. * PROGRAM MANAGEMENT COMMANDS
  277.  
  278. EXIT or QUIT
  279.   Exit from MS-DOS Kermit.  Close all logs and files.  Leave serial port
  280.   and modem connections open.  Close most kinds of network connections.
  281.   Execute ON_EXIT macro if one is defined.
  282.  
  283. STAY
  284.   On the MS-DOS Kermit command-line only, causes MS-DOS Kermit to
  285.   issue its prompt after executing any other commands that were found on
  286.   the command line, rather than EXITing as it normally does when given
  287.   command-line arguments.
  288.  
  289. PATCH [ <path> ]
  290.   Apply patches (corrections) to the running memory image from the appropriate
  291.   MSRnnn.PCH or MSKERMIT.PCH file.
  292.  
  293. TAKE <filename>
  294.   Execute Kermit commands from the specified file instead of the keyboard.
  295.  
  296. PUSH
  297.   Go to the DOS prompt.     Return to Kermit prompt by typing the DOS EXIT
  298.   command.  Preserves connections, settings, etc.
  299.  
  300. RUN <DOS-command> [ <arguments> ]
  301.   Run a DOS program or execute a DOS command, e.g. RUN EDLIN AUTOEXEC.BAT.
  302.  
  303. ECHO [ <text> ]
  304.   For issuing messages from TAKE files or macros.  Display the <text> on the
  305.   screen, automatically supplying carriage return and linefeed at the end.
  306.   The <text> can contain backslash codes, variables, etc.  Leading and
  307.   trailing spaces are removed unless the <text> is surrounded by curly braces:
  308.     ECHO            ; Prints a blank line
  309.     ECHO This is a message    ; Prints "This is a message"
  310.     ECHO { This is a message }    ; Prints " This is a message "
  311.  
  312. SET PROMPT <text>
  313.   Change MS-DOS Kermit's interactive command prompt from MS-Kermit> to the
  314.   specified text, which can contain backslash codes, variables, etc.  Curly
  315.   braces can be used as in the ECHO command.
  316.  
  317. COMMENT <text>
  318.   For adding full-line comments to a TAKE file.
  319.  
  320. <command> ; text
  321.   Commands in TAKE files can have trailing comments preceded by semicolon (;).
  322.  
  323. <text>-
  324. <text>
  325.   Commands in TAKE files or macro definitions can be continued with hyphens,
  326.   but not in a trailing comment.
  327.  
  328.  
  329. * DOS ACCESS COMMANDS
  330.  
  331. CD [<path>]
  332.   Change Directory.  Like DOS CD, but a disk drive letter can be included. 
  333.  
  334. CLS
  335.   Clear the PC's screen.
  336.  
  337. DELETE <filespec>
  338.   Delete specified file(s).
  339.  
  340. DIRECTORY [<filespec>]
  341.   Like DOS DIR command.
  342.  
  343. RUN <command>
  344.   RUN the given DOS command or program.
  345.  
  346. TYPE <filename>
  347.   Like DOS TYPE command.
  348.  
  349. SPACE [<disk-letter>]
  350.   Show free space on current or specified disk.
  351.  
  352. SHOW MEMORY
  353.   Show free memory.
  354.  
  355. Others, such as MORE, COPY, RENAME, etc, are defined as macros in MSKERMIT.INI.
  356.  
  357.  
  358. * COMMANDS FOR GETTING INFORMATION
  359.  
  360. HELP
  361.   Display a brief help message about MS-DOS Kermit.
  362.  
  363. SHOW <category>
  364.   Display current settings, definitions, statistics selectively
  365.   (type SHOW ? for a list of categories that can be shown).
  366.  
  367. VERSION
  368.   Display the program version number.
  369.  
  370.  
  371. * COMMANDS FOR SETTING COMMUNICATION PARAMETERS
  372.  
  373. SET COM1 <address> [ <irq> ]
  374.   Tell Kermit the hardware address of COM1, which must be an NSC 8250,
  375.   16550A, or compatible UART, and, optionally, that its interrupt request
  376.   (IRQ) line number is <irq>.  Also SET COM2, SET COM3, SET COM4.  Give this
  377.   command BEFORE the corresponding SET PORT command.
  378.  
  379. SET PORT {COM1, COM2, COM3, COM4} = COM1
  380.   Select a communication device (SET PORT ? for list of available devices,
  381.   see below for local area nets).  You can also say SET PORT 1, SET PORT 2,
  382.   etc.    Port must be real 8250 or 16550A UART, or device that perfectly
  383.   emulates them.  If not, Kermit will use BIOS rather than direct
  384.   hardware control.
  385.  
  386. SET PORT {BIOS1, BIOS2, BIOS3, BIOS4}
  387.   Use BIOS-level driver for COM1, COM2, COM3, or COM4, etc, rather than
  388.   Kermit's own built-in hardware driver.  Allows Kermit to be used with BIOS
  389.   itself, BIOS Int 14H interceptors (on LANs, for example), nonstandard
  390.   devices, etc.
  391.  
  392. SET PORT <other> - See section on Local Area Networks.
  393.  
  394. SET SPEED <number>
  395.   Communications port line speed: 1200, 2400, 9600, etc.  SET SPEED ? for list.
  396.   75/1200 is "split speed" (75 out, 1200 in).  Applies to currently selected
  397.   serial port (COM1-COM4), or to EBIOS connections.  Ignored for other SET
  398.   PORT options.
  399.  
  400. SET PARITY {EVEN, ODD, MARK, SPACE, NONE} = NONE
  401.   Character parity to use during communication.
  402.  
  403. SET DISPLAY { 7, 8 } = 7
  404.   Synonym for SET TERMINAL BYTESIZE { 7, 8 }
  405.  
  406. SET DUPLEX {FULL, HALF} = FULL
  407.   Select full or half duplex communication.
  408.   FULL = remote echo.  HALF = local echo plus RTS/CTS hardware handshake.
  409.  
  410. SET HANDSHAKE {NONE, XON, CR, LF, CODE <ascii-value>} = NONE
  411.   Half-duplex line turnaround character (XON is most common).  Only affects
  412.   file transfer.
  413.  
  414. SET FLOW-CONTROL {XON/XOFF, RTS/CTS, NONE} = XON/XOFF
  415.   Select a full-duplex bidirectional flow-control method.
  416.   In addition XON/XOFF can be enabled in one direction only:
  417.   SET FLOW {INCOMING-XON/XOFF, OUTGOINGING-XON/XOFF}
  418.  
  419.  
  420. * COMMANDS FOR CONNECTING TO A REMOTE HOST
  421.  
  422. CONNECT
  423.   Make a terminal connection to a device or another computer on the currently
  424.   selected port using the current communication settings.  Use Alt-x to return
  425.   ("escape back") to the MS-Kermit> prompt (hold down the Alt key and press x)
  426.   or Ctrl-] followed by C.  You can abbreviate CONNECT as C.
  427.  
  428. HANGUP
  429.   Hang up a serial connection by lowering DTR until the next time the port is
  430.   accessed (by CONNECT, OUTPUT, INPUT, DIAL, PAUSE, or similar command).  If
  431.   the current connection is a network connection, close it.
  432.  
  433. SET DEBUG SESSION
  434.   Turn off the terminal emulator, display received characters literally for
  435.   debugging: ^X = Ctrl-X, ~X = X with 8th bit on.
  436.  
  437. SET DEBUG OFF
  438.   Turn off session debugging, restore normal terminal emulation.
  439.  
  440.  
  441. * COMMANDS FOR CONTROLLING TERMINAL EMULATION
  442.  
  443. SET TERMINAL [ TYPE ] { VT320, VT220, VT100, VT102, VT52, HEATH-19, 
  444.     HONEYWELL, PT200, TEK4010, D463, D470, NONE } = VT320
  445.   Select type of terminal to emulate.  Other types may be available, type
  446.   SET TERMINAL TYPE ? for a list.
  447.  
  448. SET ROLLBACK <number>
  449.   Number of text screens to be kept in the rollback buffer.  Each 24x80 screen
  450.   occupies about 4K; bigger screens need more space.  Also see SET TERMINAL
  451.   EXPANDED-MEMORY.
  452.  
  453. SET TERMINAL ANSWERBACK { ON, OFF }
  454.   Whether Kermit should respond with string "MS-DOS KERMIT" if, during
  455.   terminal emulation, it receives Ctrl-E (ENQ) from host.  Default is OFF,
  456.   no reply.
  457.  
  458. SET TERMINAL APC { ON, OFF, UNCHECKED }
  459.   Enable, disable, or fully open up the Application Program Command feature of
  460.   the VT220/320 emulator, which allows the host to send commands to MS-DOS
  461.   Kermit embedded in escape sequences.    Default is ON, in which non-dangerous
  462.   commands are enabled.     OFF means all such commands are ignored, UNCHECKED
  463.   means all commands are executed without first checking whether they might be
  464.   dangerous.
  465.  
  466. SET TERMINAL ARROW-KEYS { APPLICATION, CURSOR }
  467.   Put the arrow keys in the specified mode.
  468.  
  469. SET TERMINAL BELL { AUDIBLE, VISUAL, NONE } = AUDIBLE.
  470.   What to do with arriving BEL (beep, Ctrl-G) characters.
  471.  
  472. SET TERMINAL BYTESIZE { 7, 8 } = 7
  473.   Use 7 for stripping off parity bit, e.g. with UNIX systems, during terminal
  474.   emulation.  Use 8 for 8-bit international character sets, and for properly
  475.   receiving 8-bit control characters, such as sent by VAX/VMS.
  476.  
  477. SET TERMINAL CHARACTER-SET { LATIN1, DEC-MCS, GERMAN, FRENCH, etc } = LATIN1
  478.   Character set used by the host computer during terminal emulation.  Optional
  479.   trailing parameters G0, G1, G2, and G3 can be used to designate the character
  480.   set to the given Gn tables.  Example: SET TERM CHAR LATIN1 G1.  Type SET
  481.   TERMINAL CHARACTER-SET ? to see a complete list.
  482.  
  483. SET TERMINAL CLEAR-SCREEN
  484.   Clear the terminal screen.
  485.  
  486. SET TERMINAL CODE-PAGE CPnnn
  487.   Tells MS-DOS Kermit what code page is presently active on your PC.  Used
  488.   because DOS does not always correctly report the current code page.
  489.   Kermit's TERMINAL CODE-PAGE is combined with your TERMINAL CHARACTER-SET to
  490.   pick the appropriate translation when you enter CONNECT mode.  Translation
  491.   of Cyrillic (CP866) and Japanese Kanji (Shift-JIS) is not supported during
  492.   terminal emulation.
  493.  
  494. SET TERMINAL COLOR <number> [, <number> [, <number> ] ]
  495.   Set fore- and background color for text terminal emulation.  The numbers are
  496.   0 (normal foreground), 1 (high-intensity foreground), 10 (fast screen update
  497.   on IBM EGA), 3x (foreground color), 4x (background color), where x is the sum
  498.   of any of 1 (Red), 2 (Green), and 4 (Blue).
  499.  
  500. SET TERMINAL COMPRESSED-TEXT { GRAPHICS, TEXT-132 }
  501.   Compressed text is how more characters are shown across the same screen.
  502.   Some video adapters support compressed text in regular text mode.  Others,
  503.   like the EGA and VGA, do not.     Use the GRAPHICS option to display compressed
  504.   text on the EGA or VGA, or else use horizontal scrolling (see \Kverbs).
  505.  
  506. SET TERMINAL CONTROLS {7-BIT, 8-BIT}
  507.   Tell VT220/320 emulator whether to send 7-bit or 8-bit control sequences when
  508.   DEC function, arrow, editing, or keypad keys are pressed.
  509.  
  510. SET TERMINAL CURSOR-STYLE {BLOCK, UNDERLINE}
  511.   Select the cursor style for terminal emulation.  The default is underline.
  512.  
  513. SET TERMINAL DIRECTION {LEFT-TO-RIGHT, RIGHT-TO-LEFT}
  514.   Direction of screen writing during terminal emulation.
  515.  
  516. SET TERMINAL DISPLAY
  517.   Synonym for SET TERMINAL BYTESIZE.
  518.  
  519. SET TERMINAL EXPANDED-MEMORY { ON, OFF }
  520.   Whether to use expanded memory for retention of graphics screens and for
  521.   text terminal-emulation rollback screens.  The default is OFF, to use
  522.   conventional memory.    ON leaves extra room in conventional memory for
  523.   running other programs, does not rely on your video adapter's memory for
  524.   storing graphics images, and allows more rollback screens, limited only by
  525.   the size of your PC's available physical memory.  ON requires that an
  526.   expanded memory manager, such as EMM386 or QEMM, be correctly installed.
  527.   Also see SET ROLLBACK.
  528.  
  529. SET TERMINAL GRAPHICS <name>
  530.   Specify the type of graphics adapter in your PC: CGA, EGA, VGA, others (SET
  531.   TERM GRAPH ? for complete list).  MS-DOS Kermit automatically tries to figure
  532.   out what kind of adapter you have.  Use this command if it guesses wrong.
  533.   Applies to Tektronix emulation only.
  534.  
  535. SET TERMINAL GRAPHICS CHARACTER-WRITING {OPAQUE, TRANSPARENT}
  536.   Tell whether text characters written on graphics screens should let graphics
  537.   show through.
  538.  
  539. SET TERMINAL GRAPHICS COLOR <number> [, <number> [, <number> ] ]
  540.   Fore- and background colors for graphics screens.  Numbers same as for
  541.   SET TERMINAL COLOR.
  542.  
  543. SET TERMINAL GRAPHICS CURSOR {ON, OFF}
  544.   Tell whether there should be a text cursor during graphics terminal
  545.   emulation.  Default is ON.
  546.  
  547. SET TERMINAL HORIZONTAL-SCROLL { AUTOMATIC, MANUAL }
  548.   When Kermit's TERMINAL WIDTH is wider than the physical screen, you can view
  549.   characters off the physical screen by horizontal scrolling, which can be
  550.   manual (you push keys) or automatic (Kermit scrolls the screen automatically
  551.   as characters arrive to keep the cursor on the screen).  MANUAL is the
  552.   default for VT terminal emulation, AUTOMATIC for DG terminal emulation.
  553.  
  554. SET TERMINAL KEYCLICK {ON, OFF}
  555.   Turn keyclick on or off on keyboards that support this.
  556.  
  557. SET TERMINAL KEYPAD {APPLICATION, NUMERIC}
  558.   Put the numeric keypad into the specified mode.
  559.  
  560. SET TERMINAL MARGIN-BELL {ON, OFF}
  561.   Whether to ring the bell when the cursor nears the end of a screen line.
  562.  
  563. SET TERMINAL NEWLINE {ON, OFF}
  564.   ON means to send both a carriage return and a linefeed when you press Enter.
  565.   OFF means send only carriage return.
  566.  
  567. SET TERMINAL OUTPUT-SHIFT {NONE, AUTOMATIC, SI/SO, SS2, SS3}
  568.   Select the table-shifting commands surrounding a character sent to the host
  569.   when, and only when, parity is other than NONE and the character has its
  570.   high bit set.  NONE, the default, says do nothing about the matter and thus
  571.   the character's high bit is lost and replaced by a parity bit.  SI/SO, SS2,
  572.   and SS3 shift the character into G1, G2, or G3, respectively, using ISO 2022
  573.   rules.  AUTO selects a method based on the current GL value.
  574.  
  575. SET TERMINAL REPLAY
  576.   Synonym for REPLAY.
  577.  
  578. SET TERMINAL ROLLBACK {ON, OFF}
  579.   ON means to restore rolled-back screens to the end when new characters
  580.   arrive.  OFF means to display new characters at the current cursor position.
  581.  
  582. SET TERMINAL SCREEN-BACKGROUND {NORMAL, REVERSE}
  583.   REVERSE exchanges the fore- and background screen colors.
  584.  
  585. SET TERMINAL TABSTOPS {AT <n>, CLEAR AT <n>, CLEAR ALL}
  586.   Sets or clears screen tab stops at the specified positions.  <n> can be a
  587.   single number, a list of numbers, or <position>:<interval> to set tabs
  588.   beginning at the specified <position>, every <interval> spaces, e.g.
  589.   SET TAB AT 1:10.  By default, tabs are set every eight spaces.  If your
  590.   tabstops get messed up, restore them to normal with "set term tab at 1:8".
  591.  
  592. SET TERMINAL TEK4010 {ENABLE, DISABLE}
  593.   Whether Kermit should automatically enter Tektronix graphics mode upon
  594.   receipt of special escape sequences from the host.  ENABLEd by default.
  595.  
  596. SET TERMINAL UPSS {DEC-MCS, LATIN1}
  597.   Select which character set to designate as your VT220/VT320 User Preferred
  598.   Supplemental Set.
  599.  
  600. SET TERMINAL VIDEO-WRITING {DIRECT, BIOS}
  601.   Tells whether screen updates during emulation should be performed by going
  602.   DIRECT to the video adapter, or should proceed through the system's video
  603.   BIOS.  DIRECT is the default because it is faster.  Select BIOS if you you
  604.   have trouble with DIRECT or if you have a BIOS-level screen interceptor such
  605.   as a speech device.  Applies to text mode only.
  606.  
  607. SET TERMINAL WIDTH {80, 132}
  608.   Put the video adapter into 80- or 132-column mode.  If Kermit can do this
  609.   itself, it will.  Otherwise it will attempt to run the DOS batch program
  610.   COLS80.BAT or COLS132.BAT to do the job.  You must supply these files.  They
  611.   should contain whatever external DOS commands you have at your disposal to
  612.   change the screen width, for example a MODE or VMODE command.
  613.  
  614. SET TERMINAL WRAP {ON, OFF}
  615.   Whether to break overlong screen lines into multiple lines.
  616.  
  617. SET PRINTER <name>
  618.   Redirect any printing that is done during terminal emulation to a device
  619.   or file.  Default is PRN (the DOS printer device).
  620.  
  621.  
  622. * LOCAL AREA NETWORKS
  623.  
  624. The SET PORT command tells Kermit which type of network connection you want to
  625. use, and in some cases also the network host you want to communicate with.
  626.  
  627. SET PORT TCP/IP [ <Internet-name or Internet-address> [ <tcp-port-number> ] ]
  628.   Connect to a TCP/IP host using Kermit's built-in TCP/IP support.  If the
  629.   host is omitted, the one used in the most recent SET PORT TCP/IP or SET
  630.   TCP/IP HOST command is used, if any (this allows you to switch to another
  631.   type of connection and then back to your TCP/IP connection).    During a
  632.   TCP/IP session, Kermit uses TELNET protocol to communicate with the TELNET
  633.   server on the remote host.  The default <tcp-port-number> is 23 (TELNET);
  634.   you can optionally specify any other port except 25.
  635.  
  636. SET PORT TCP/IP <digit>
  637.   Resumes session <digit>, where <digit> is 1 through 6.
  638.  
  639. SET PORT TCP/IP * [ <tcp-port-number> ]
  640.   Sets MS-DOS Kermit up as a TCP/IP server, awaiting a connection from a
  641.   TCP client.  After giving this command, use the SERVER to make the Kermit
  642.   server available on the network, or CONNECT to wait for an incoming "chat"
  643.   connection.
  644.  
  645. SET PORT BWTCP <ip-address>
  646.   Make a TCP/IP connection via Beame & Whiteside TCP/IP, which must be loaded
  647.   on your PC.  An IP address (not hostname) is required.
  648.  
  649. SET PORT NETBIOS
  650.   Kermit awaits NETBIOS connections from other PCs on the net.  Also used with
  651.   AT&T StarLAN/StarGROUP.
  652.  
  653. SET PORT NETBIOS <name>
  654.   Tell Kermit to connect to another PC on the NETBIOS network.    Also for
  655.   AT&T StarLAN/StarGroup.
  656.  
  657. SET NETBIOS-NAME <name>
  658.   Tell Kermit to set your PC's Netbios node name to <name>.  Kermit
  659.   appends ".K" to the end of the name if you don't include it yourself.
  660.  
  661. SET PORT NOVELL
  662.   For using Novell network asynchronous communication servers (NASI/NACS).
  663.  
  664. SET PORT DECNET [<node> [<password>]]
  665.   For PATHWORKS LAT or CTERM connections.  Specify node to connect to, LAT
  666.   password if required.
  667.  
  668. SET PORT UB-NET1
  669.   For Ungermann-Bass Net/One.
  670.  
  671. SET PORT OPENNET [<node>]
  672.   For Intel OpenNET, similar to NETBIOS.
  673.  
  674. SET PORT 3COM
  675.   For using 3COM BAPI asynchronous communication server, BRIDGE PCS or 3+OPEN
  676.   TCP versions.
  677.  
  678. SET PORT EBIOS { 1, 2, 3, 4 } [ name-of-server-port ]
  679.   Use Extended BIOS for communication with EBIOS-based asynchronous
  680.   communication servers like IBM's LANACS.
  681.  
  682. SET PORT TELAPI <Internet-address>
  683.   Connect to an Internet TCP/IP host through Novell LAN Workplace for DOS.
  684.  
  685. SET PORT TES <hostname>
  686.   Connect to a VAX/VMS system that is running Netware/VMS.
  687.  
  688. SET PORT { BIOS1, BIOS2, BIOS3, BIOS4 }
  689.   For using any network that operates through a BIOS Int 14h COM port driver.
  690.  
  691. HANGUP
  692.   Close network connection, terminate network session.
  693.  
  694.  
  695. * CONNECT-MODE ESCAPE-LEVEL COMMANDS
  696.  
  697. During terminal emulation, you may type Ctrl-] (hold down Ctrl and press the
  698. rightbracket key) followed by any of the following characters (on German
  699. keyboards, hold down Strg and press +):
  700.  
  701.   ?   Help -- prints the available escape-level commands
  702.   0   (the digit zero) Transmit a NUL (ASCII 0)
  703.   B   (also Alt-B) Transmit a BREAK signal 
  704.   C   (also Alt-X) Return to Kermit prompt level, keep connection open 
  705.   F   (also Ctrl-End) File the current text screen in the screen dump file 
  706.   H   Hangup the phone or network connection
  707.   L   Transmit a Long Break (1.8 seconds)
  708.   M   Toggle the mode line, i.e. turn it off if it is on & vice versa
  709.   P   Push to DOS; get back to CONNECT by typing EXIT at the DOS prompt
  710.   Q   Temporarily quit logging the remote session
  711.   R   Resume logging the remote session
  712.   S   (also Alt-S) Show the status of the connection 
  713.   ^]  (or whatever you have set the escape character to be)
  714.       Typing the escape character twice sends one copy of it to the host
  715.  
  716.  
  717. * SET TRANSLATE INPUT COMMAND
  718.  
  719.   SET TRANSLATE ON
  720.   SET TRANSLATE INPUT <code1> <code2>
  721.  
  722. Specify that when a character that would normally be translated to <code1>
  723. arrives at the communication port during terminal emulation, it should be
  724. translated into <code2> before display on the screen.  Overrides current
  725. terminal character set translation for that character.    Translations set up in
  726. this way take effect only after you give the command SET TRANSLATE INPUT ON.
  727.  
  728.  
  729. * SET KEY COMMAND
  730.  
  731.   SET KEY <scancode> <value>
  732.  
  733. Assign <value> to the key whose scan code is given.  When you press the key
  734. or key combination that corresponds to the scan code during terminal
  735. emulation, the <value> is transmitted out the communication port.  If you
  736. don't know the scan code, type SET KEY alone on a line, then press the desired
  737. key or key combination when prompted, then enter the definition.  The <value>
  738. can be a single character, a text string (which may contain backslash codes),
  739. or one or more Kermit verbs.
  740.  
  741.  
  742. * COMMONLY USED KERMIT KEYBOARD VERBS
  743.  
  744. The default key assignment is in parentheses.
  745.  
  746.   \Kexit    Exit from connect mode (Alt-X, Ctrl-]C)
  747.   \Kbreak    Send a BREAK signal (Alt-B, Ctrl-]B)
  748.   \Kcompose    Introduce a Compose-Key sequence
  749.   \Kdos        Push to DOS (Ctrl-]P)
  750.   \Kdump    Dump current screen to file (Ctrl-End on numeric keypad)
  751.   \Khangup    Hangup communication port connection (Ctrl-]H)
  752.   \Kignore    Ignore this key
  753.   \Klfone    Scroll left one column
  754.   \Klfpage    Scroll left one "page"
  755.   \Klogoff    Stop session logging (Ctrl-]Q)
  756.   \Klogon    Resume session logging (Ctrl-]R)
  757.   \Knethold    Enter (non-TCP/IP) network shell (Alt-z)
  758.   \Knextsession Toggle to next TCP/IP session, if any (Alt-n)
  759.   \Kmodeline    Toggle mode line off/on++ (keypad minus)
  760.   \Kprtscn    Print current screen (Print Screen)
  761.   \Kreset    Reset terminal emulator (Alt-=)
  762.   \Krtone    Scroll right one column
  763.   \Krtpage    Scroll right one "page"
  764.   \Ktermtype    Switch between text and graphics screens (Alt-minus)
  765.   \Kupscn    Roll back screen (PgUp)
  766.   \Kupone    Roll back screen one line (Ctrl-PgUp)
  767.   \Kdnscn    Roll screen forward (PgDn)
  768.   \Kdnscn    Roll screen forward one line (Ctrl-PgDn)
  769.   \Knextsession Toggle to next session
  770.   {\Kxxxx}    Execute macro named xxxx (xxxx can be any name)
  771.  
  772. Use SET KEY to assign or reassign these verbs to the keys of your choice.
  773. Example: "SET KEY \315 \Kexit" puts \Kexit on the F1 key.
  774.  
  775.   SET KEY CLEAR: Restore all Kermit's default key assignments.
  776.   SET KEY ON:     Use BIOS to read keystrokes (scan codes).
  777.   SET KEY OFF:     Use DOS rather than BIOS to read keystrokes.
  778.   SET KEY LK:     Use external DEC LK250 keyboard driver (if loaded).
  779.  
  780.  
  781. * PRINTER CONTROL
  782.  
  783. During terminal emulation, Kermit controls the printer according to escape
  784. sequences received from the host, including the following for
  785. VT102/220/320 emulation:
  786.  
  787.   ESC [ 5 i    Begin transparent print (send port characters to printer)
  788.   ESC [ 4 i    End transparent print
  789.   ESC [ ? 5 i  Begin autoprint (send screen lines to printer)
  790.   ESC [ ? 4 i  End autoprint
  791.  
  792. Kermit also lets you use Ctrl-Print Screen to turn the printer on and off
  793. during terminal emulation.  The following command affects all these operations:
  794.  
  795. SET PRINTER <filename, PRN, or NUL>
  796.   Sends Connect mode printer material to the indicated file instead of to the
  797.   standard DOS printer name PRN; this is a "print to disk" option.  SHOW LOG
  798.   displays the current filename (defaults to PRN).
  799.  
  800. If you press Print Screen (no Ctrl), DOS gets the request itself, Kermit never
  801. sees it so the SET PRINTER command does not affect Print Screen.
  802.  
  803.  
  804. * COMMANDS FOR TRANSFERRING FILES
  805.  
  806. Start a Kermit program on the remote computer, give it a "send", "receive",
  807. or "server" command, escape back to MS-DOS Kermit, and give it one of the
  808. following commands:
  809.  
  810. SEND <filename> [<alternate-name>]
  811.   Send files to remote Kermit receiver or server.  Can abbreviate as S.
  812.  
  813. RECEIVE [<filename>]
  814.   Wait for a file to arrive from the other Kermit program, which must
  815.   be given a SEND command.  Can abbreviate as R.
  816.  
  817. GET <remote-filename>
  818.   Ask a Kermit server to send the specified file(s).  Use GET <Enter>
  819.   to be prompted for remote and local names separately.
  820.  
  821. MAIL <filespec> <address>
  822.   Send the file as electronic mail to the address (if the remote Kermit
  823.   supports this feature).
  824.  
  825.  
  826. * GETTING INFORMATION ABOUT FILE TRANSFER
  827.  
  828. STATISTICS
  829.   Display efficiency and other statistics about file transfers.
  830.  
  831. SHOW PROTOCOL
  832.   Display file transfer protocol-related parameter settings.
  833.  
  834. SHOW CONTROL
  835.   List file-transfer control-character prefixing.
  836.  
  837. SHOW FILE
  838.   Display file-related parameter settings
  839.  
  840.  
  841. * COMMANDS FOR TALKING TO A SERVER
  842.  
  843. BYE
  844.   Shut down a remote Kermit server and log out its job
  845.  
  846. FINISH
  847.   Shut down a remote Kermit server, put it back at command level
  848.  
  849. GET <remote-filename>
  850.   Ask a Kermit server to send the specified file(s)
  851.  
  852. SEND <filename> [<alternate-name>]
  853.   Send files to remote Kermit receiver or server
  854.  
  855. REMOTE CD [<directory> [<password>]]
  856.   Tell remote server to change to named directory.
  857.  
  858. REMOTE DELETE <filespec>
  859.   Tell remote server to delete the specified files.
  860.  
  861. REMOTE DIRECTORY [<filespec>]
  862.   Tell remote server to send directory listing for specified files.
  863.  
  864. REMOTE HELP
  865.   Ask the server to list the services it provides
  866.  
  867. REMOTE HOST command
  868.   Command for remote host in its own command language
  869.  
  870. REMOTE KERMIT command
  871.   Send a command to remote Kermit server in its own command language
  872.  
  873. REMOTE LOGIN user
  874.   Login to a remote Kermit server, separate prompts for password, etc.
  875.  
  876. REMOTE MESSAGE text
  877.   Send a one-line message to the remote Kermit server
  878.  
  879. REMOTE PRINT <filespec> [ <options> ]
  880.   Send the file to a remote server and ask the server to print it with the
  881.   specified options, if any.
  882.  
  883. REMOTE SET <parameter> <value>
  884.   Tell remote server to set the specified parameter to the specified value.
  885.  
  886. REMOTE SPACE [directory]
  887.   Show disk space on remote host
  888.  
  889. REMOTE TYPE filespec
  890.   Display remote file(s)
  891.  
  892. REMOTE WHO
  893.   Display users logged on remote system
  894.  
  895.  
  896. * COMMANDS FOR ACTING AS A SERVER
  897.  
  898. DISABLE <parameter>
  899.   Disable various capabilities of the server (DISABLE ? for list)
  900.  
  901. ENABLE <parameter>
  902.   Enable various capabilities of the server (ENABLE ? for list)
  903.  
  904. SET SERVER TIMEOUT <num>
  905.   How often the server should send NAK packets while waiting for a command,
  906.   0 = never (default).
  907.  
  908. SET SERVER LOGIN <name> <password>
  909.   Set up a name and password which must be sent to the server (by REMOTE
  910.   LOGIN) before it will accept any other commands.
  911.  
  912. SHOW SERVER
  913.   Examine server-related parameters.
  914.  
  915. SERVER [{<seconds>, <hh:mm:ss>}]
  916.   Act as a Kermit server, optionally for or until the given time.  Default time
  917.   is forever (until BYE or FINISH received, or interrupted with Ctrl-C).
  918.  
  919. The MS-DOS Kermit server honors the following requests:
  920.  
  921.   SEND          REMOTE CWD    REMOTE PRINT
  922.   GET          REMOTE DELETE    REMOTE MESSAGE
  923.   FINISH      REMOTE DIRECTORY    REMOTE SPACE
  924.   BYE          REMOTE HOST    REMOTE TYPE
  925.   LOGOUT      REMOTE KERMIT    REMOTE SET
  926.  
  927.  
  928. * INTERRUPTION COMMANDS WHILE A FILE TRANSFER IS IN PROGRESS
  929.  
  930.   X or Ctrl-X: Stop sending the current file and go on to the next one, if any.
  931.   Z or Ctrl-Z: Stop sending this file, and don't send any further files.
  932.   E or Ctrl-E: Send Error packet to the remote Kermit.
  933.   C or Ctrl-C: Return to Kermit command level immediately.
  934.   Q or Ctrl-Q: Send a Ctrl-Q (Xon).
  935.   Enter key:   Try to wake up a stuck file transfer.
  936.  
  937.  
  938. * CHANGING FILE TRANSFER PARAMETERS
  939.  
  940. SET ATTRIBUTES { ON, OFF } = ON
  941.   Enable/Disable processing of file attribute packets.
  942.  
  943. SET ATTRIBUTES { DATE, LENGTH, TYPE, CHARACTER-SET } { ON, OFF } = ON
  944.   Enable/Disable processing of specific file attributes.
  945.  
  946. SET BLOCK-CHECK { 1, 2, 3 } = 1
  947.   Level of error checking, 1 by default, 3 is strongest.
  948.  
  949. SET BLOCK-CHECK BLANK-FREE-TWO
  950.   Like SET BLOCK-CHECK 2, but formats the block check characters such that
  951.   they never include blanks.
  952.  
  953. SET CONTROL-CHARACTER UNPREFIXED { <code>..., ALL }
  954.   Says you think it is safe to include the control character represented by
  955.   <code> without prefixing in packets that Kermit sends.  The <code> is the
  956.   numeric ASCII code for a control character, 0-31, 127-159, or 255.
  957.  
  958. SET CONTROL-CHARACTER PREFIXED { <code>..., ALL }
  959.   Says that the given control character(s) must be prefixed in outbound Kermit
  960.   packets.  By default, all control characters, 0-31, 127-159, and 255, are
  961.   prefixed.
  962.  
  963. SET DEBUG PACKETS
  964.   Display packets on screen during file transfer.
  965.  
  966. SET DEBUG OFF
  967.   Turn off display of packets.
  968.  
  969. SET DESTINATION { DISK, PRINTER, SCREEN } = DISK
  970.   Direct incoming files to the specified device.
  971.  
  972. SET FILE DISPLAY { SERIAL, REGULAR, QUIET } = REGULAR
  973.   Format of Kermit's file transfer display.  Use SERIAL for hardcopy terminals,
  974.   Braille devices, speaking devices, etc.  QUIET means no display at all (used
  975.   automatically in remote mode).  Synonym: SET DISPLAY.
  976.  
  977. SET EOF { CTRL-Z, NOCTRL-Z } = NOCTRL-Z
  978.   Whether Ctrl-Z marks the end of a PC DOS text file.
  979.  
  980. SET FILE TYPE { TEXT, BINARY } = TEXT
  981.   TEXT implies record format conversion and character set translation.    Use
  982.   BINARY to send or receive files with no conversaion at all.
  983.  
  984. SET FILE COLLISION { DISCARD, OVERWRITE, RENAME }
  985.   What to do when a file arrives that has the same name as an existing file:
  986.     RENAME    = Automatically give the arriving file a unique name (default).
  987.     OVERWRITE = Overwrite the existing file with the new file.
  988.     DISCARD   = Reject any file that has the same name as an existing file.
  989.  
  990. SET FILE CHARACTER-SET { CP437, CP850, CP852, CP860, CP861, CP862, CP863,
  991.              CP865, CP866, SHIFT-JIS }
  992.   Tell Kermit which IBM PC code page to use when sending or receiving a text
  993.   file.     Default is your current PC code page as DOS reports it to Kermit (but
  994.   watch out, DOS tends not to report code pages correctly).  Kermit translates
  995.   between the current file character set and the transfer character set.
  996.   SHIFT-JIS is Code Page 932 for Japanese Kanji.
  997.  
  998. SET TRANSFER CHARACTER-SET { TRANSPARENT, LATIN1, LATIN2, CYRILLIC,
  999.                  HEBREW, JAPANESE-EUC }
  1000.   Tell Kermit the character set used in Kermit packets.     TRANSPARENT, the
  1001.   default, means no translation.  LATIN1 is ISO Latin Alphabet 1, useful for
  1002.   transferring text in West European languages containing accented Roman
  1003.   letters with other Kermit programs that support this feature.     LATIN2 is ISO
  1004.   Latin Alphabet 2, for Eastern European languages and can be used only with
  1005.   file character-set CP852.  CYRILLIC is ISO 8859-5 Latin/Cyrillic, and can be
  1006.   used only with file character-set CP866.  HEBREW is ISO 8859-8 Latin/Hebrew.
  1007.   JAPANESE-EUC is for Japanese Kanji and can be used only with FILE
  1008.   CHARACTER-SET SHIFT-JIS.  Synonym: SET XFER CHARACTER-SET.
  1009.  
  1010. SET TRANSFER LOCKING-SHIFT { OFF, ON, FORCED } = ON
  1011.   If PARITY is other than NONE, Kermit automatically uses a locking-shift
  1012.   technique for transferring 8-bit more efficiently over the 7-bit connection.
  1013.   To turn off this feature, use OFF.  To force the use of this feature even
  1014.   when parity is NONE, use FORCED.  Locking shift protocol is negotiated
  1015.   automatically with the other Kermit.  Synonym: SET XFER LOCKING-SHIFT.
  1016.  
  1017. SET TRANSFER TRANSLATION { READABLE, INVERTIBLE } = READABLE
  1018.   The default is READABLE, which optimizes character-set conversion for
  1019.   "readability", rather than invertibility.  INVERTIBLE gives a unique
  1020.   translation for each character between the FILE CHARACTER-SET and the
  1021.   TRANSFER CHARACTER-SET.  Synonym: SET XFER ...
  1022.  
  1023. SET UNKNOWN-CHARACTER-SET { DISCARD, KEEP } = KEEP
  1024.   What to do when a file arrives that has an unknown character set.
  1025.  
  1026. SET FILE WARNING { ON, OFF, NO-SUPERSEDE } = ON
  1027.   Obsolete synomym for SET FILE COLLISION.
  1028.  
  1029. SET INCOMPLETE { KEEP, DISCARD } = DISCARD
  1030.   What to do with a file that does not arrive completely.
  1031.  
  1032. SET RETRY <number> = 5
  1033.   How many times to retry a particular packet before giving up on the file.
  1034.  
  1035. SET TIMER { ON, OFF } = ON
  1036.   Enable/Disable timeouts and retransmissions during file transfer.
  1037.  
  1038. SET WINDOW <num> = 1
  1039.   Number of sliding window packet slots.  Sizes greater than 1 can be used
  1040.   only with other Kermit programs that supports sliding windows.  Improves
  1041.   transmission efficiency on long-delay or noisy connections.
  1042.  
  1043. SET SEND (or RECEIVE) <parameter> <value>
  1044.   START-OF-PACKET <num> = 1  packet begin character, normally Ctrl-A
  1045.   END-OF-PACKET <num> = 13   packet end character, normally carriage return
  1046.   PACKET-LENGTH <num> = 94   packet length; 9024 max; > 94 for "long packets"
  1047.   PAUSE <num> = 0         Interpacket pause, milliseconds
  1048.   TIMEOUT <num> = 5         Timeout interval waiting for a packet, seconds
  1049.   PADDING <num> = 0         How many padding characters before each packet
  1050.   PADCHAR <num> = 0         Padding character to use
  1051.   DOUBLE-CHAR <num>         Double packet character <char> when sending.
  1052.   IGNORE-CHAR <num>         Discard <char> from packets when receiving.
  1053.  
  1054. Use SHOW FILE, SHOW PROTOCOL to examine current file transfer settings.
  1055.  
  1056.  
  1057. * COMMANDS FOR FILE TRANSFER WITHOUT ERROR CHECKING
  1058.  
  1059. Kermit can also transfer files or other information with remote computers,
  1060. services, or devices that do not support the Kermit file transfer protocol.
  1061. These methods provide no error detection or correction.     Use with caution.
  1062.  
  1063. TRANSMIT <filename>
  1064.   Send a text file to the host as if you were typing it at the keyboard
  1065.   a line at a time.  Waits for linefeed (\10) to echo before sending next
  1066.   line.     Uses all current communication settings (parity, flow, etc).
  1067.   Doesn't translate character sets.  CRLF is sent as CR only unless SET
  1068.   TRANSMIT LINE-FEEDS ON.  Empty lines are sent as pairs of CRs (or CRLFS)
  1069.   unless SET TRANSMIT FILL is used.
  1070.  
  1071. SET TRANSMIT <parameter> <value>
  1072.   Various parameters used to control TRANSMIT command.
  1073.   FILL-EMPTY-LINE { NONE, SPACE, <char> }
  1074.   LINE-FEEDS-SENT { ON, OFF }
  1075.   PAUSE <number> - pause <number> milliseconds after sending each line.
  1076.   PROMPT <char> - character to wait for before sending next line (= \10)
  1077.  
  1078. LOG SESSION <filename>
  1079.   Capture a remote file, which you must TYPE, into the named file
  1080.   (SESSION.LOG by default).  Use \Klogoff and \Klogon keyboard verbs to
  1081.   stop and restart logging (Ctrl-]Q, Ctrl-]R).
  1082.  
  1083. CLOSE SESSION
  1084.   Stop capturing and close the session log file.
  1085.  
  1086.  
  1087. * COMMANDS FOR RECORDING THINGS
  1088.  
  1089. LOG TRANSACTION [<filename>] = TRANSACT.LOG
  1090.   Log file transfer names, times, etc, in given file.
  1091.  
  1092. LOG SESSION [<filename>] = SESSION.LOG
  1093.   Record terminal session in given file.
  1094.   Use REPLAY <filespec> to view the log.
  1095.  
  1096. LOG PACKETS [<filename>] = PACKET.LOG
  1097.   Record file transfer packets in given file.
  1098.  
  1099. WRITE {FILE, PACKET, SESSION, TRANSACTION, SCREEN} [<text>]
  1100.   Write the text to the specified log file or to the screen.  Text may contain
  1101.   backslash codes, variables, etc.  Kermit does not supply line terminators
  1102.   so include \13\10 at the end of the text if you want the text to end in CRLF.
  1103.  
  1104. CLOSE {PACKET, SESSION, TRANSACTION, READ, WRITE, ALL}
  1105.   Close the specified log file and stop logging.
  1106.  
  1107. SHOW LOG
  1108.   Display names and status of logging and log files.
  1109.  
  1110. Ctrl-]F (while in Connect mode)
  1111.   Dump current text screen into a file (even if graphics screen is showing).
  1112.  
  1113. Ctrl-End (while in Connect mode)
  1114.   Dump the current screen (text or graphics) into a file.
  1115.  
  1116. SET DUMP <name>
  1117.   Specify name of screen dump file for text screens (KERMIT.SCN by default).
  1118.   Graphics screens are saved to TEKPLTnn.TIF.
  1119.  
  1120.  
  1121. * MACROS
  1122.  
  1123. DEFINE <macro-or-variable-name> [<text>]
  1124.   Defines a macro or variable called "<name>" to have the given value.    If
  1125.   <text> is omitted, undefines the named macro or variable.  When defining
  1126.   command macros, <text> should be a list of MS-DOS Kermit commands, separated
  1127.   by commas.  This command can also be used to define a variable like \%1, \%a,
  1128.   etc.    The definition is copied literally (backslash codes not interpreted).
  1129.  
  1130. [DO] <macro-name> [<parameter1> [<parameter2> [<parameter3> [...]]]]
  1131.   Executes the macro called "<name>", and assigns the parameters, if any, to
  1132.   the variables \%1, \%2, \%3, etc, and sets the variable ARGC to the number of
  1133.   parameters plus one (1 = no parameters, 2 = 1 parameter, etc).  The variable
  1134.   \%0 is assigned the name of the macro.  These variables are available only
  1135.   within the macro.
  1136.  
  1137. ASSIGN <macro-or-variable-name> [<text>]
  1138.   Like DEFINE, copies the current value of <text> into the macro or variable,
  1139.   but (unlike DEFINE) all variables in the <text> are evaluated first.
  1140.  
  1141. SHOW MACRO [<name>]
  1142.   Shows the definition of the specified macro or variable.
  1143.  
  1144. IF DEFINED <name> <command>
  1145.   Executes the <command> if the macro or variable name is defined.
  1146.  
  1147. IF = ARGC <num> <command>
  1148.   Executes <command> if ARGC is equal to <num> (numeric constant or variable)
  1149.  
  1150. IF < ARGC <num> <command>
  1151.   Executes <command> if ARGC is less than <num>
  1152.  
  1153. IF > ARGC <num> <command>
  1154.   Executes <command> if ARGC greater than <num>
  1155.  
  1156. IF NOT > ARGC <num> <command>
  1157.   Executes <command> if ARGC less than or equal to <num>
  1158.  
  1159. IF =, <, >
  1160.   Can also be used with any numeric variables or constants, not just ARGC,
  1161.   including the other predefined numeric variables, VERSION, COUNT, and
  1162.   ERRORLEVEL, the built-in numeric variables like \v(ndate), \v(status), etc,
  1163.   or any other variable (\%1, \%a) that has a numeric value.  Use IF EQUAL to
  1164.   compare character strings (see below).
  1165.  
  1166.  
  1167. * VARIABLES
  1168.  
  1169. \%0 is the name of the currently executing macro (if any).  \%1 thru \%9 are
  1170. its parameters (arguments), created when the macro is invoked and destroyed
  1171. when it terminates.  If a macro invokes another macro, a new set of arguments
  1172. is created and the old set is preserved.  (This is a change from 3.01 and
  1173. earlier, in which macro arguments were global.)
  1174.  
  1175. \%a through \%z are global variables that can be modified or accessed in any
  1176. context.  Created by DEFINE, ASSIGN, ASK, ASKQ, or READ.
  1177.  
  1178. The following commands can be used for arithmetic on variables that have
  1179. numeric values:
  1180.  
  1181. INCREMENT <variable-name> [ <number> ]
  1182.   Adds <number>, if given, to the value of the named variable.    If no <number>
  1183.   is given, adds 1.
  1184.  
  1185. DECREMENT <variable-name> [ <number> ]
  1186.   Subtracts <number>, if given, to the value of the named variable.  If no
  1187.   <number> is given, subtracts 1.
  1188.  
  1189. Macro definitions can be used as variables too.     DEFINE or ASSIGN the macro in
  1190. the normal way, but refer to it using \m(name), for example:
  1191.  
  1192.    define phone-number 7654321
  1193.    if not defined phone-number echo Phone number is is not defined!
  1194.    echo The phone number is \m(phone-number).
  1195.    dial \m(phone-number)
  1196.  
  1197. \v(xxx) is a built-in variable, where xxx is its name:
  1198.    \v(argc)       macro argument count
  1199.    \v(count)       current value of loop counter (SET COUNT / IF COUNT)
  1200.    \v(date)       current date in country format, e.g. dd-mm-yyyy 08-02-1991
  1201.    \v(dosversion)  Version of DOS under which Kermit is running
  1202.    \v(ndate)       numeric date yyyymmdd, e.g. 19910208
  1203.    \v(directory)   current disk and directory, e.g. C:\LETTERS\
  1204.    \v(errorlevel)  current value of ERRORLEVEL variable (SET ERRORLEVEL)
  1205.    \v(keyboard)       IBM PC keyboard type: 88, 101, or (for LK250) 250.
  1206.    \v(line)       Same as \v(port)
  1207.    \v(ntime)       Seconds since midnight
  1208.    \v(platform)       PC type, e.g. IBM-PC, DEC-RAINBOW
  1209.    \v(port)       Current SET PORT value
  1210.    \v(program)       Program name, MS-DOS_KERMIT
  1211.    \v(speed)       Current transmission speed (only for COM1..4, EBIOS)
  1212.    \v(status)       0 if previous command succeeded, nonzero if it failed.
  1213.    \v(system)       MS-DOS
  1214.    \v(terminal)       Current terminal emulation type, e.g. VT320
  1215.    \v(time)       Current time of day, hh:mm:ss, e.g. 12:30:01
  1216.    \v(version)       Numeric program version, e.g. 311 for version 3.11.
  1217.  
  1218. \$(xxx) is a DOS environment variable, e.g. \$(COMSPEC).
  1219.  
  1220.  
  1221. * SCRIPT COMMANDS
  1222.  
  1223. These commands are used (in conjunction with other Kermit commands) for
  1224. carrying out an automated dialog with a remote computer.
  1225.  
  1226. ASK <variable> <prompt>
  1227.   Print the <prompt> on the screen, assign what user types to the <variable>.
  1228.  
  1229. ASKQ <variable> <prompt>
  1230.   Like ASK, but do not echo what user types.
  1231.  
  1232. GETOK <prompt>
  1233.   Like ASK, but asks a Yes or No question.  Succeeds if answer is Yes,
  1234.   fails if answer is No, otherwise reprompts.
  1235.  
  1236. OUTPUT <string>
  1237.   Send the <string> out the communications port.  May include backslash
  1238.   codes, variables, etc, plus the special items \B to send a BREAK and
  1239.   \L to send a Long BREAK.
  1240.  
  1241. SET OUTPUT PACING <msec>
  1242.   How many milliseconds (thousands of a second) to pause between each
  1243.   character in the OUTPUT string.
  1244.  
  1245. INPUT [<timeout>] <string>
  1246.   Wait up to <timeout> secs for <string> to arrive at communications port.
  1247.   If it arrives, set SUCCESS.  If not, time out and set FAILURE.
  1248.   String may contain backslash codes.
  1249.  
  1250. SET INPUT CASE { IGNORE, OBSERVE } = IGNORE
  1251.   Say whether alphabet case should matter in searching for INPUT string.
  1252.  
  1253. SET INPUT DEFAULT-TIMEOUT <secs> = 1
  1254.   Timeout interval to use if none given in INPUT command.
  1255.  
  1256. SET INPUT ECHO { ON, OFF } = ON
  1257.   Whether to display characters read by INPUT command on the screen.
  1258.  
  1259. SET INPUT TIMEOUT-ACTION { PROCEED, QUIT } = PROCEED
  1260.   PROCEED means set SUCCESS or FAILURE and go on to next statement in macro
  1261.   definition or TAKE file.  QUIT means to quit from current macro or TAKE
  1262.   file immediately upon timeout (i.e. upon failure).
  1263.  
  1264. IF SUCCESS <command>
  1265.   Execute the <command> if the preceding INPUT command succeeded.  Also works
  1266.   with file transfer commands like SEND, RECEIVE, GET, BYE, etc.
  1267.  
  1268. IF FAILURE <command>
  1269.   Execute the <command> if the preceding INPUT or file transfer command failed.
  1270.  
  1271. PAUSE <secs>
  1272.   Do nothing for specified number of seconds, or until any character is typed
  1273.   at the keyboard.
  1274.  
  1275. MPAUSE <msecs>
  1276.   Like PAUSE, but number is milliseconds rather than seconds.
  1277.  
  1278. WAIT [<timeout>] [CD] [CTS] [DSR] [RI]
  1279.   Wait <timeout> (seconds or until time hh:mm:ss) for specified modem signals.
  1280.  
  1281. CLEAR [ { INPUT-BUFFER, DEVICE-BUFFER, BOTH } ]
  1282.   CLEAR INPUT clears the INPUT/REINPUT command buffer (characters that have
  1283.   already been read by Kermit's INPUT command).     CLEAR DEVICE clears the
  1284.   communication device buffer (characters that have not yet been read by
  1285.   by Kermit), CLEAR BOTH (the default) clears both of these buffers.
  1286.  
  1287. STOP
  1288.   Return immediately from the current macro or TAKE file to the MS-Kermit>
  1289.   prompt.
  1290.  
  1291. STOP [ <number> ] [ <text> ]
  1292.   Return immdediately from the current macro or TAKE file to the MS-Kermit>
  1293.   prompt, using the <number>, if specified, as the SUCCESS / FAILURE code, and
  1294.   setting the value of \v(status) to that number.  If the <number> is omitted,
  1295.   the SUCCESS / FAILURE status of the previous command is retained and
  1296.   \v(status) is not changed.  If the optional <text> is given, it is printed
  1297.   on the screen.  Leading and trailing spaces are removed unless the text is
  1298.   enclosed in curly braces, in which case only the curly braces are removed.
  1299.   Examples:
  1300.  
  1301.     STOP            ; No message, status is not changed
  1302.     STOP 0            ; No message, status is 0 (SUCCESS)
  1303.     STOP 1            ; No message, status is 1 (FAILURE)
  1304.     STOP This is a message    ; Status not changed, message is printed
  1305.     STOP {  Indented text}    ; Ditto, leading spaces are preserved
  1306.     STOP 0 This is a message    ; Status set to 0, message is printed
  1307.     STOP 1 { This is a message} ; Status set to 1, message is printed
  1308.  
  1309. END
  1310.   Return from current macro or TAKE file to the macro or TAKE file which
  1311.   invoked it, or if none, to the MS-Kermit> prompt.  Synonym: POP.
  1312.  
  1313. END [ number ] [ text ]
  1314.   Return from current macro or TAKE file to the macro or TAKE file which
  1315.   invoked it, or if none, to the MS-Kermit> prompt.  Otherwise, identical to
  1316.   STOP.     Synonym: POP.
  1317.  
  1318. GOTO <label>
  1319.   Instead of executing the next statement in the current macro definition or
  1320.   TAKE-file, go to the specified label and begin executing there.  The label
  1321.   must be a word that begins with a colon (:) in the left margin in a macro
  1322.   definition or TAKE file.  If it is not found, Kermit "POPs" one level and
  1323.   looks there, and so on through all active macros and command files.
  1324.  
  1325. :LOOP
  1326.   The previous line shows a label called "loop".  GOTO LOOP would find it.
  1327.  
  1328. REINPUT <timeout> <string>
  1329.   Like INPUT, but instead of waiting for <string> to arrive at communications
  1330.   port, REINPUT rescans the text that has already arrived.
  1331.  
  1332. SET COUNT <number>
  1333.   Sets the loop counter to <number>.
  1334.  
  1335. IF COUNT <command>
  1336.   Subtract one from count.  If result is greater than 0, execute <command>.
  1337.   Use with GOTO to construct counted loops.
  1338.  
  1339. SET ALARM <time>
  1340.   Set an alarm <time> seconds from now, or at time hh:mm:ss.
  1341.  
  1342. IF ALARM <command>
  1343.   If the alarm time has passed, execute the <command>.
  1344.  
  1345. SET ERRORLEVEL <number>
  1346.   Set errorlevel to be returned to DOS by Kermit upon exit.
  1347.  
  1348. IF ERRORLEVEL <number> <command>
  1349.   If the ERRORLEVEL value is greater than or equal to the <number>,
  1350.   execute the <command>.  Equivalent to:
  1351.   IF NOT < \v(errorlevel) <number> <command>
  1352.  
  1353. IF EXIST <filename> <command>
  1354.   If the named file exists, execute the <command>.
  1355.  
  1356. IF INPATH <filename> <command>
  1357.   If the named file can be found in your DOS PATH, or in the current
  1358.   directory, execute the <commmand>.
  1359.  
  1360. IF EQUAL <word1> <word2> <command>
  1361.   Execute the command if the two words are the same.  The words may be text or
  1362.   variables.
  1363.  
  1364. IF LGT <word1> <word2> <command>
  1365. IF LLT <word1> <word2> <command>
  1366.   Execute the command if <word1> is lexically greater than (LGT) or lexically
  1367.   less than (LLT) <word2>.  EQUAL, LGT, and LLT are alphabetical comparisons.
  1368.   Case is treated according to SET INPUT CASE.    To compare text items that
  1369.   contain spaces, use { brackets } for grouping:
  1370.     IF LLT {\%a} {more than one word} <command>
  1371.  
  1372. OPEN {READ, WRITE, APPEND} <filename>
  1373.   Open a DOS file in the given mode.
  1374.  
  1375. READ <variable-name>
  1376.   Read a line from the current OPEN READ file into the given variable,
  1377.   discarding line terminators.    Sets FAILURE flag at end of file.
  1378.  
  1379. WRITE FILE <text>
  1380.   Write the text into the current OPEN WRITE or OPEN APPEND file; <text> can
  1381.   contain any mixture of ordinary characters, backslash codes, variable names.
  1382.  
  1383. CLOSE {READ, WRITE}
  1384.   Close the current READ or WRITE (including APPEND) file.
  1385.  
  1386.  
  1387. * TCP/IP NETWORK SETUP
  1388.  
  1389. This section assumes knowledge of TCP/IP.  See "Using MS-DOS Kermit" for
  1390. additional explanatory material, or Douglas Comer's book "Internetworking with
  1391. TCP/IP" (Prentice-Hall), or show this material to your network manager.     Also
  1392. consult the networks section of MSKERM.BWR (KERMIT.BWR) for additional detail.
  1393.  
  1394. To use Kermit's built-in TCP/IP support, you need a network adapter, an
  1395. Ethernet-class packet driver (not device driver) for the adapter, a SLIP-class
  1396. packet driver, or a Novell ODI driver for Ethernet, Token Ring, Arcnet, or
  1397. PCnet, and a connection to a TCP/IP network, or a "shim" that simulates one of
  1398. these.    For example, NDIS drivers can be used by using protocol shim program
  1399. DIS_PKT on the top of NDIS to form a Packet Driver; the latest version is
  1400. named DIS_PKT9 from Joe Doupnik at Utah State University.
  1401.  
  1402. Install either an Ethernet-style packet driver or an ODI driver for your PC's
  1403. network interface, or a SLIP (Serial Line IP) packet driver for your PC's
  1404. serial port.  For Token Rings, install the IBMTOKEN.COM driver on top of the
  1405. Token Ring board drivers or use ODI.  For NDIS (LAN Manager) environments,
  1406. install the DIS_PKT "shim" on top of the NDIS drivers.    IBMTOKEN and DIS_PKT
  1407. are available from Columbia as part of the packet driver collection (see
  1408. below).
  1409.  
  1410. To use Kermit's TCP/IP support under Windows 3.x, your network interface must
  1411. be controlled by a packet driver, not an ODI driver.  The built-in ODI support
  1412. does not work under Windows.  However, you can still run a "shim" such as
  1413. ODIPKT or ODITRPKT over your ODI driver to provide the required packet-driver
  1414. interface.
  1415.  
  1416. If you plan to make Kermit TCP/IP connections under Microsoft Windows, you
  1417. must either:
  1418.  
  1419.  (a) Configure Windows to "Lock Application Memory" in your KERMIT.PIF file.
  1420.      This box is NOT checked in the KERMIT.PIF file as distributed.
  1421.  
  1422. or:
  1423.  
  1424.  (b) Run the WINPKT "shim" in addition to (and after) your packet driver
  1425.      (including any packet-driver simulation shims such as ODIPKT).  WINPKT
  1426.      should be given a lower software interrupt number than your packet
  1427.      driver, for example (using a Western Digital Ethernet board):
  1428.  
  1429.        WD8003E 0x61 0x7 0x280 0xca00
  1430.        WINPKT 0x60 0x61
  1431.        IPX
  1432.        NETX
  1433.  
  1434.      The order is important: start the packet driver first at interrupt 0x61
  1435.      (or higher).  Then start WINPKT, telling it to use interrupt 0x60 to talk
  1436.      to application software, and 0x61 to talk to the actual packet driver.
  1437.      After loading WINPKT, you can optionally load Novell or other
  1438.      packet-driver-compatible network software.
  1439.  
  1440. Here's another example, this one for an ODI driver running over a Cabletron
  1441. Ethernet board:
  1442.  
  1443.   LSL                    Link Support Layer - must be loaded first
  1444.   CSIODI_E               Cabletron Ethernet board driver (MLID)
  1445.   IPXODI                 IPX running over ODI
  1446.   NETX                   NetWare shell
  1447.   ODIPKT 0 97            ODI-to-Packet-Driver Shim <board number, interrupt>
  1448.   WINPKT 0x60 0x61       Packet-Driver-to-Windows Shim
  1449.  
  1450. NOTES: ODIPKT interrupt numbers are DECIMAL, all other packet drivers and
  1451. shims use HEXADECIMAL (97 decimal = 61 hex).  Do not include the "-w"
  1452. (Windows) option when starting the packet driver.  It doesn't do what you want.
  1453.  
  1454. Only one copy of MS-DOS Kermit can make a network connection at one time under
  1455. Windows.  That's because the packet driver only allows one application to
  1456. register for each protocol.
  1457.  
  1458. If your network interface vendor did not supply you with a packet driver, they
  1459. are available via anonymous FTP from Columbia University, host
  1460. watsun.cc.columbia.edu [128.59.39.2], cd packet-drivers, get the READ.ME file,
  1461. read it, and take it from there.  These files, now called the Crynwr packet
  1462. driver collection, are also available from Columbia University via mail order.
  1463. WINPKT is included on the MS-DOS Kermit distribution diskette.
  1464.  
  1465. Before Kermit can use the TCP/IP network, you must use SET TCP/IP commands to
  1466. supply Kermit with the necessary details about it.  Check with your network
  1467. manager to find out the correct values for these commands, and then put them
  1468. in your MSCUSTOM.INI file.  Don't make them up!     Automatic downloading of your
  1469. TCP/IP network configuration via BOOTP is recommended.
  1470.  
  1471. You can view your TCP/IP settings with the SHOW COMMUNICATIONS command.
  1472.  
  1473. SET TCP/IP ADDRESS { <IP-address>, BOOTP, RARP }
  1474.   Tell Kermit your PC's IP address (required).    If your local network has a
  1475.   BOOTP or RARP server, you can SET TCP/IP ADDRESS BOOTP or RARP to have the
  1476.   server download your IP address automatically.  Examples:
  1477.     SET TCP/IP ADDRESS 128.59.77.23 ; My IP address, fully specified
  1478.     SET TCP/IP ADDRESS BOOTP        ; Get my address from a BOOTP server
  1479.     SET TCP/IP ADDRESS RARP        ; Get my address from a RARP server
  1480.  
  1481. SET TCP/IP SUBNETMASK <IP-address-mask>
  1482.   Tell Kermit which portion of an IP address corresponds to your physical
  1483.   network.  The default is 255.255.255.0.  A correct value is essential; it is
  1484.   used by Kermit to tell whether an IP address is on your physical network
  1485.   or must be accessed through a gateway.  Incorrect values prevent successful
  1486.   communication.  The subnetmask can be downloaded by BOOTP.
  1487.  
  1488. SET TCP/IP BROADCAST <IP-broadcast-address>
  1489.   Tell Kermit the IP address to use when sending IP broadcast messages, for
  1490.   example to the BOOTP server, and to recognize incoming ones.    The default is
  1491.   255.255.255.255, meaning "my own physical network".  Change this parameter
  1492.   if your BOOTP server is on a different subnet of your local network, or if
  1493.   your local network uses the old 4.2 Berkeley UNIX convention of 0's rather
  1494.   than 1's for IP broadcast addresses.    An incorrect value can prevent
  1495.   successful communication, or worse.  This parameter can NOT be downloaded
  1496.   from a BOOTP server -- you can't reach the BOOTP server in the first place
  1497.   unless you already have the correct broadcast address.
  1498.  
  1499. SET TCP/IP PRIMARY-NAMESERVER <IP-address>
  1500.   The IP address of your network's primary nameserver, which translates
  1501.   hostnames into IP addresses.    Required if you want to use host names rather
  1502.   than numeric IP addresses in your SET PORT TCP/IP commands.  Example:
  1503.     SET TCP/IP PRIMARY-NAMESERVER 128.59.77.1
  1504.   Can also be downloaded automatically by BOOTP.
  1505.  
  1506. SET TCP/IP SECONDARY-NAMESERVER <IP-address>
  1507.   The IP address of your network's secondary nameserver, used by Kermit if the
  1508.   primary nameserver is unavailable.  If no nameserver is reachable, use IP
  1509.   host numbers rather than names in your SET PORT TCP/IP commands.  Nameserver
  1510.   addresses can also be downloaded automatically by BOOTP.
  1511.  
  1512. SET TCP/IP GATEWAY <IP-address>
  1513.   The IP address of the gateway between your local area network and the rest of
  1514.   the Internet.     Required if you want to communicate outside of your immediate
  1515.   local network.  Can also be downloaded automatically by BOOTP.
  1516.  
  1517. SET TCP/IP HOST { <IP-address>, <IP-hostname> }
  1518.   The default host for SET PORT TCP/IP commands.  SET PORT TCP/IP <host> sets
  1519.   this too, so the next SET PORT TCP/IP command remembers it if you omit the
  1520.   host.     This allows you to switch back and forth between serial and TCP/IP
  1521.   connections.
  1522.  
  1523. SET TCP/IP DOMAIN <domain-name>
  1524.   IP domain name for your organization or department, for example columbia.edu
  1525.   for Columbia University, cc.columbia.edu for the Computer Center at Columbia
  1526.   University.  This lets you refer to hosts on your local network with
  1527.   nicknames, for example watsun rather than watsun.cc.columbia.edu.  When a
  1528.   hostname given in your SET PORT TCP/IP command can't be found, Kermit appends
  1529.   the domain and tries again.  If it still can't be found, Kermit trims the
  1530.   leftmost field from the domain and tries again, and so on until the host is
  1531.   found or the domain name is used up:
  1532.     SET TCP/IP DOMAIN cc.columbia.edu
  1533.     SET PORT TCP/IP oofa.cs
  1534.   Kermit tries (in this order): oofa.cs, oofa.cs.cc.columbia.edu,
  1535.   oofa.cs.columbia.edu, oofa.cs.edu.  Version 3.13 of MS-DOS Kermit can get
  1536.   the domain name from a BOOTP server that has been upgraded to RFC1395 level.
  1537.  
  1538. SET TCP/IP PACKET-DRIVER-INTERRUPT { <number>, ODI }
  1539.   MS-DOS Kermit normally searches for the packet driver beginning at interrupt
  1540.   \x60 and going up the \x80.  You can use this command to disable MS-DOS
  1541.   Kermit's automatic search and specify a particular interrupt number, for
  1542.   example, SET TCP PACKET-DRIVER \x63.  If you specify "ODI" instead of an
  1543.   interrupt number, Kermit uses ODI rather than packet-driver conventions for
  1544.   communicating with the network board driver.
  1545.  
  1546. SET TCP/IP TELNET-TERM-TYPE <name>
  1547.   Normally MS-DOS Kermit sends the name of terminal it is currently emulating,
  1548.   for example, "VT320", in response to a terminal-type request from the remote
  1549.   TELNET server.  Use this command to supply any terminal-type name you want.
  1550.  
  1551. SET TCP/IP NEWLINE-MODE {OFF, ON}
  1552.   During terminal emulation on a TCP/IP connection, MS-DOS Kermit follows the
  1553.   TELNET specification and transmits carriage and line feed (CRLF) whenever
  1554.   you type carriage return (the Enter key).  If the remote TELNET server is
  1555.   confused by this (i.e. it does not follow the TELNET specification), use SET
  1556.   TCP/IP NEWLINE-MODE OFF to make Kermit omit the line feed.
  1557.  
  1558. SET TCP/IP DEBUG-OPTIONS { ON, OFF }
  1559.   Whether to display TELNET options negotiation on the screen.    Default is
  1560.   OFF, don't display them.  When ON, you can view the negotiations on the
  1561.   screen, and you can capture them in screen dump or session log files,
  1562.   or print them, just like any other CONNECT-mode screen text.    DEBUG-OPTIONS
  1563.   is useful for debugging misbehaving TELNET sessions.    Refer to the TELNET
  1564.   RFCs, or a TCP/IP book, for an explanation of what they mean.
  1565.  
  1566. Sample TCP-related commands for MSCUSTOM.INI (substitute your own correct
  1567. values for the ones shown here!):
  1568.  
  1569.   SET TCP/IP ADDRESS 128.59.77.23           ; Your PC's IP address
  1570.   SET TCP/IP SUBNETMASK 255.255.255.0           ; Your local net's subnet mask
  1571.   SET TCP/IP GATEWAY 128.59.77.1           ; The gateway on your local net
  1572.   SET TCP/IP PRIMARY-NAMESERVER 128.59.77.19   ; Nameserver on your local net
  1573.   SET TCP/IP SECONDARY-NAMESERVER 128.59.78.12 ; Fallback nameserver
  1574.   SET TCP/IP DOMAIN bar.baz.edu               ; Your local IP domain name
  1575.  
  1576. Then, to make a TCP/IP connection:
  1577.  
  1578.   SET PORT TCP/IP foo                   ; Connect to foo.bar.baz.edu
  1579.   CONNECT
  1580.  
  1581. The TCP/IP connection is not actually established until the CONNECT (or INPUT,
  1582. OUTPUT, PAUSE, or similar) command is given, at which time some progress
  1583. messages are displayed on your screen.    If connection is immediate, you won't
  1584. see these messages, but if the connection fails, they will remain visible so
  1585. you'll know why it failed.
  1586.  
  1587. Logging out from the remote host will normally terminate your session and
  1588. pop you back to the MS-Kermit> prompt.    The HANGUP command, or Ctrl-]H during
  1589. terminal emulation, should do the same thing.
  1590.  
  1591. If your network has a BOOTP server, Kermit can learn its own IP address, as
  1592. well as the nameserver addresses, gateway address, subnet mask, and other
  1593. information from the server if the BOOTP server's database has an entry for
  1594. your PC that contains these items.  The BOOTP server knows it's your PC making
  1595. the request because it has your network interface board's hardware address in
  1596. its database, and BOOTP requests contain the network board's hardware address.
  1597. To enter your PC in the BOOTP database, use the PKTADDR program (which comes
  1598. with the Crynwr packet-driver collection) to find out the hardware address,
  1599. for example:
  1600.  
  1601.   C:\PKTDRV\PKTADDR 0x60
  1602.   My Ethernet address is 00:00:1E:0C:AA:1F
  1603.  
  1604. Give this address to your network administrator, along with the adapter type
  1605. (Ethernet, Token Ring, etc), your PC's IP host name and address (if you know
  1606. it, or ask your network administrator to assign these to you -- DON'T MAKE
  1607. THEM UP!).  Then, the only commands you need to set up your TCP connection
  1608. are:
  1609.  
  1610.   SET TCP/IP SUBNETMASK 255.255.254.0 ; Only needed if different from default
  1611.   SET TCP/IP BROADCAST 0.0.0.0          ; Only needed if different from default
  1612.   SET TCP/IP DOMAIN bar.baz.edu          ; (3.12 and earlier, or pre-RFC1395)
  1613.   SET TCP/IP ADDRESS BOOTP          ; Get my TCP/IP configuration from BOOTP
  1614.   SET PORT TCP/IP <name-or-number>    ; Establish a connection
  1615.   CONNECT
  1616.  
  1617. Notes:
  1618.  
  1619.  . The SET TCP/IP BROADCAST command is not needed unless you have a
  1620.    nonstandard network that uses all-zeroes for IP broadcasts, rather than
  1621.    all ones.
  1622.  
  1623.  . The SET TCP/IP SUBNETMASK command is necessary only if your subnetwork uses
  1624.    a different mask than Kermit's default, which is 255.255.255.0.  These
  1625.    commands should go in your MSCUSTOM.INI file.
  1626.  
  1627.  . The SET TCP/IP DOMAIN command is not needed if you have MS-DOS Kermit 3.13,
  1628.    the BOOTP server is at RFC1395 level (January 1993), and its BOOTP database
  1629.    contains your PC's domain name.
  1630.  
  1631. Thus, in many cases, your TCP/IP setup can be as simple as this:
  1632.  
  1633.   SET TCP/IP ADDRESS BOOTP
  1634.  
  1635. Kermit sends an IP broadcast message to find the BOOTP server.    If you also
  1636. have given SET TCP/IP ADDRESS, SUBNETMASK, PRIMARY-NAMESERVER,
  1637. SECONDARY-NAMESERVER, and GATEWAY commands, their values will be superseded by
  1638. any values sent by the BOOTP server.
  1639.  
  1640. BOOTP service has the great advantage that PC network configurations need be
  1641. maintained in only one central file, rather than on many individual PCs.  If
  1642. the BOOTP server is unavailable, users can still enter the required
  1643. information with SET TCP/IP commands.
  1644.  
  1645. An RFC-1395 compliant BOOTP server for Berkeley UNIX (and SunOS 4.x, etc) is
  1646. available via anonymous FTP from kermit.cc.columbia.edu [128.59.39.2] in the
  1647. bootp directory.
  1648.  
  1649. If your network has a RARP server, Kermit can learn its own IP address from
  1650. the server, if the RARP server's database contains an entry for your PC.  The
  1651. RARP server can't tell you the subnetmask, nameserver addresses, or gateway
  1652. address, so you will still need these items in your MSCUSTOM.INI file.
  1653. However, everybody on the same physical network can use the same TCP/IP
  1654. network parameters in their MSCUSTOM.INI files because the SET TCP/IP
  1655. parameters other than ADDRESS are all the same.
  1656.  
  1657. HINT: To avoid typing long SET PORT TCP/IP commands, define a macro for each
  1658. host you commonly connect to:
  1659.  
  1660.   DEFINE OOFA SET PORT TCP/IP OOFA.XYZ.COM, PAUSE 0, IF SUCCESS CONNECT
  1661.  
  1662. Put these definitions in your MSCUSTOM.INI file.  Then just type "OOFA" to
  1663. connect to TCP/IP host OOFA.XYZ.COM.  The standard sample MSCUSTOM.INI file
  1664. already defines a TELNET macro for you:
  1665.  
  1666. ; TELNET macro, and macros for telnetting to particular hosts
  1667. ; using appropriate terminal type.
  1668. ;   \%1 = IP host name or address
  1669. ;   \%2 = TCP port (optional, default is 23)
  1670. ;   \%3 = terminal type (optional)
  1671. ;
  1672. define telnet -
  1673.   set port tcp \%1 \%2,-
  1674.   set flow none,-
  1675.   if def \%3 set term type \%3,-
  1676.   pause 0, if fail end 1, connect
  1677.  
  1678. You can use this to easily make a connection to a particular host:
  1679.  
  1680.   TELNET FOO
  1681.  
  1682. and you can optionally specify a nonstandard (i.e. other than 23) TCP port:
  1683.  
  1684.   TELNET FOO 2000
  1685.  
  1686. and you can also (optionally) specify a terminal type to use:
  1687.  
  1688.   TELNET FOO 23 HEATH-19
  1689.  
  1690. For information about multiple sessions, see KERMIT.UPD.
  1691.  
  1692.  
  1693. MAKING SLIP CONNECTIONS
  1694.  
  1695. To make a SLIP (Serial Line IP) connection, follow these steps:
  1696.  
  1697. 1. SET PORT 1
  1698.    (or whichever serial port you will be using for the SLIP connection).
  1699.  
  1700. 2. SET SPEED 19200
  1701.    (or whatever speed you will be using)
  1702.  
  1703. 3. SET FLOW RTS/CTS (or NONE)
  1704.    Don't use Xon/Xoff flow control on a SLIP connection!  SLIP and Xon/Xoff
  1705.    are incompatible with each other.
  1706.  
  1707. 4. Establish a connection to the terminal server or other device that will be
  1708.    providing SLIP service.  Determine the IP address and other information
  1709.    (e.g. gateway address) that it has assigned to you.    Normally, these are
  1710.    displayed on your screen before the terminal server enters SLIP mode.
  1711.  
  1712. 5. Escape back to the MS-Kermit prompt and EXIT from MS-DOS Kermit.  The
  1713.    connection is left open.
  1714.  
  1715. 6. Start the SLIP8250 driver, telling it to use the same port (hex address and
  1716.    IRQ number must be supplied) and speed (decimal) used in (1) and (2) above,
  1717.    and to use hardware flow control (-h), for example:
  1718.  
  1719.       slip8250 0x60 -h slip 4 0x3f8 19200
  1720.  
  1721. 7. Start MS-DOS Kermit again.  Do NOT give it a SET PORT command for the
  1722.    serial port where SLIP is running.  Instead, give the SET TCP ADDRESS,
  1723.    SET TCP GATEWAY, and other necessary SET TCP commands.  Then, to make
  1724.    a connection, use SET PORT TCP <address>, where <address> is the IP
  1725.    hostname or address of the IP host you want to connect to.
  1726.  
  1727. Note: In version 3.13 and later, it is also possible to obtain BOOTP service
  1728. on a SLIP connection if your SLIP server is configured to provide it (for
  1729. example, Cisco terminal servers can do this).  Also, MS-DOS Kermit 3.13's SHOW
  1730. COMMUNICATIONS command will display the IP address of the BOOTP server.
  1731.  
  1732. For Novell SLIP_PPP ODI connections, see the MSKERM.BWR (KERMIT.BWR) file.
  1733.  
  1734. (End of MS-DOS Kermit 3.13 Help File)
  1735.