home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / msvv90.txt < prev    next >
Text File  |  2020-01-01  |  72KB  |  1,686 lines

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