home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / mskerm30.zip / KERMIT.HLP < prev    next >
Text File  |  1990-01-18  |  35KB  |  751 lines

  1.                 MS-DOS KERMIT
  2.        FOR THE IBM PC FAMILY, COMPATIBLES, AND OTHER MS-DOS COMPUTERS
  3.  
  4.               Version 3.0, January 1990
  5.                        
  6.                   HELP FILE
  7.  
  8. This file contains a brief summary of the commands and features of MS-DOS
  9. Kermit 3.0.  For detailed information, tutorials, installation and cabling
  10. hints, troubleshooting procedures, examples, diagrams, and advanced features
  11. of this Kermit program, consult "Using MS-DOS Kermit", by Christine M.
  12. Gianone, published by Digital Press, Bedford, MA, 1990, order number
  13. EY-C204E-DP.  The book includes a 5.25-inch MS-DOS Kermit 3.0 diskette.  To
  14. order, call 1-800-343-8321 (USA, toll free).  It is also available from Kermit
  15. Distribution at Columbia University and wherever computer books are sold,
  16. beginning about mid-February 1990.  A technical reference by Professor Joe R.
  17. Doupnik is in preparation.
  18.  
  19. MS-DOS Kermit 3.0 is a product of Kermit Distribution, Columbia University
  20. Center for Computing Activities.  The principal author of the program is
  21. Professor Joe R. Doupnik of Utah State University, with assistance from many
  22. other volunteer programmers all over the world.  This software is copyright
  23. 1982, 1990 by the Trustees of Columbia University in the City of New York.  It
  24. may be reproduced and shared without restriction except that it may not be
  25. licensed, nor sold for profit as a software product.  Kermit software is
  26. written by volunteer programmers as a public service, and is furnished without
  27. warranty of any kind.  Neither Columbia University, nor the individual
  28. authors, nor any institution or individual that has contributed to the
  29. development and documentation warrant the software in any way.
  30.  
  31. All Kermit programs on a variety of magnetic media, as well as documentation
  32. and other information, can be obtained from:
  33.  
  34.     Kermit Distribution
  35.     Columbia University Center for Computing Activities
  36.     612 West 115th Street
  37.     New York, NY  10025  USA
  38.     Telephone: (212) 854-3703
  39.  
  40. OVERVIEW
  41.  
  42. MS-DOS Kermit is a communication software program that performs two primary
  43. functions: terminal emulation and file transfer.  In order to communicate at
  44. all, your PC must have a communication device (serial port, internal modem, or
  45. network interface) which is connected to a modem, the phone system, or a
  46. network.
  47.  
  48. Then Kermit must be told what communication device to use.  In the most common
  49. case, this is a serial port, perhaps with an external modem attached.  If
  50. Kermit is using a serial port and/or modem, it must be told which port (SET
  51. PORT 1, SET PORT 2, etc), what the communication speed is (SET SPEED), and
  52. depending on the type of connection and the type of host, possibly many other
  53. communication parameters as well (SET DUPLEX, SET PARITY, SET FLOW-CONTROL,
  54. and so on).  For networks, it must be told which kind of network interface
  55. and/or protocol to use (SET PORT NETBIOS, SET PORT NOVELL, SET PORT DECNET,
  56. SET PORT 3COM, etc).
  57.  
  58. For terminal emulation, you must tell Kermit which kind of terminal to
  59. emulation (SET TERMINAL).  Kermit emulates the DEC VT320 terminal by default
  60. (i.e. unless you tell it otherwise).
  61.  
  62. Once you have set all the appropriate communication parameters, you can begin
  63. terminal emulation by giving the CONNECT command.  If you have an autodial
  64. modem, you must type the modem's dialing commands to establish the connection
  65. to the other computer.  You can return to Kermit by typing the "escape
  66. sequence", Ctrl-] followed by the letter C (or you can use Alt-X on IBM
  67. keyboards).
  68.  
  69. To transfer files, you must CONNECT to the other computer, login there,
  70. start up a Kermit program, tell it to SEND or RECEIVE, escape back to MS-DOS
  71. Kermit, and tell it to RECEIVE or SEND (the opposite of what you told the
  72. other Kermit).  Or you can put the remote Kermit in "server mode" by giving it
  73. the SERVER command, and then escape back to MS-DOS Kermit and give SEND and
  74. GET commands.
  75.  
  76. Here's an example, which uses a Hayes modem for dialing, and a Kermit server
  77. on the remote computer.  "C>" is the DOS prompt, "MS-Kermit>" is the MS-DOS
  78. Kermit program prompt, "$" is the remote host prompt.  All commands except
  79. Alt-X are terminated by pressing the Enter key.  Alt-X means hold down the Alt
  80. key and press the X key.  Don't type the comments on the right.
  81.  
  82.   C>kermit                        Start the MS-DOS Kermit program
  83.   MS-Kermit>set port 1            Use port COM1 (this is the default)
  84.   MS-Kermit>set speed 2400        Transmission speed is 2400 bits per second
  85.   MS-Kermit>set terminal vt102    Select terminal type
  86.   MS-Kermit>connect               Begin terminal emulation
  87.   ATDT5551234                     Type Hayes dialing command
  88.   CONNECT 2400                    Hayes responds when call is completed
  89.   Welcome to ...                  Press Enter, see remote computer's greeting
  90.   Username: xxx                   Log in to remote computer
  91.   Password: yyy                   Type your password (probably won't echo)
  92.   $                               Remote computer's prompt
  93.   $ kermit                        Run Kermit on remote computer
  94.   C-Kermit>                       Remote Kermit's prompt
  95.   C-Kermit>server                 Put remote Kermit in server mode
  96.   Alt-X                           Escape back to MS-DOS Kermit
  97.   MS-Kermit>send oofa.txt         Send a file to the remote computer
  98.   MS-Kermit>get foo.bar           Get a file from the remote computer
  99.   MS-Kermit>bye                   All done, terminate your session
  100.   C>                              Back at DOS prompt
  101.  
  102. MS-DOS KERMIT PROGRAM INVOCATION
  103.  
  104. MS-DOS Kermit can be run interactively, from a batch file, as an "external"
  105. DOS command, or with redirected or piped standard input and output.  Upon
  106. initial startup, the program executes any commands found in the file
  107. MSKERMIT.INI in the current disk or DOS path, or the file specified by "-f
  108. filename" on the Kermit command line.
  109.  
  110. * Interactive Operation:
  111.  
  112. To run MS-DOS Kermit interactively, invoke the program from DOS command level
  113. by typing its name, usually "kermit".  When you see the command's prompt,
  114. "MS-Kermit>", you may type Kermit commands repeatedly until you are ready to
  115. exit the program.  The commands EXIT or QUIT return you to DOS.
  116.  
  117. While typing commands, use the Backspace key to erase the character most
  118. recently typed, Ctrl-W to delete the most recent field, or Ctrl-U to delete
  119. the entire command, and enter the command by pressing the Enter key or Ctrl-L.
  120. A question marked typed at any point in a command (except in a filename or
  121. character string) will give you a brief hint about what's expected at that
  122. point.  Pushing the Esc key will complete the command current field, if
  123. possible, and position the cursor at the next field.  If completion is not
  124. possible, Kermit will beep.  You can cancel any command during its execution
  125. by typing Ctrl-C.
  126.  
  127. Use question mark (?) to "feel" your way through commands and find out what
  128. the options are.
  129.  
  130. * Command Line Invocation:
  131.  
  132. MS-DOS Kermit may be invoked with command line arguments from DOS command
  133. level, for instance:
  134.  
  135.   A>kermit set port 1, set speed 9600, connect
  136.  
  137. In this case, help and completion are not available and MS-DOS Kermit will
  138. exit back to DOS after completing the specified commands unless you include
  139. the STAY command.  Several commands may be given on the command line,
  140. separated by commas.
  141.  
  142. * Batch Operation:
  143.  
  144. Like other MS-DOS programs, MS-DOS Kermit may be operated under batch with
  145. command line arguments.  If your batch program invokes Kermit without command
  146. line arguments it will run interactively, reading commands from the keyboard
  147. and not the batch file.  When it exits, batch processing will continue to the
  148. end of the batch file.  An ERRLEVEL number is returned by Kermit to assist
  149. batch file controls (0 = success, nonzero = at least one file transfer failed).
  150.  
  151. * DOS Environment for MS-DOS Kermit:
  152.  
  153. Make sure your DOS PATH variable (as set by the PATH= line in your
  154. AUTOEXEC.BAT file) includes the disk and directory where the Kermit program
  155. and the MSKERMIT.INI file are kept.
  156.  
  157. Kermit will search for a DOS environment variable named KERMIT, and configure
  158. itself accordingly.  You can this variable by putting a line like this in your
  159. AUTOEXEC.BAT file:
  160.  
  161.   SET KERMIT=command;command;...
  162.  
  163. The commands can be:
  164.  
  165.   INPUT-BUFFER <length> - Length of buffer for INPUT command, 128 by default.
  166.   ROLLBACK <number> - Number of screens for rollback (PgUp), 10 by default.
  167.  
  168. Example:
  169.  
  170.   SET KERMIT=INPUT-BUFFER 1000;ROLLBACK 100
  171.  
  172. Kermit also looks in the DOS environment for COMSPEC and SHELL, and uses the
  173. program denoted by SHELL= (if found, otherwise by COMSPEC=) when executing
  174. the PUSH, RUN, TYPE, and similar commands.
  175.  
  176. Kermit is capable of having many files open at once (several TAKE files, a
  177. file which is being transferred, up to three log files, etc).  You should
  178. make sure the FILES= line in CONFIG.SYS allows for at least 20 open files.
  179. You should also have a BUFFERS= value of about 20 in CONFIG.SYS.
  180.  
  181. SUMMARY OF MS-DOS KERMIT COMMANDS
  182.  
  183. * MS-DOS Kermit 3.0 in Non-DOS Environments: 
  184.  
  185. MS-DOS Kermit 3.0 can run under Microsoft Windows 2.03 and Windows 386 2.03 as
  186. a regular MS-Windows application (icon, mouse, cut-&-paste, etc).  Files can
  187. be transferred while other applications are active, as long as Kermit has a
  188. piece of the screen (has not shrunk to an icon).  Install the KERMIT.PIF file
  189. from the Kermit distribution disk with your other MS-Windows PIF files and
  190. Kermit will start up as a normal-looking Windows application.  Without the
  191. .PIF file, Kermit will take over the whole screen (and will run faster, and
  192. will be able to use graphics).
  193.  
  194. MS-DOS Kermit 3.0 can run under OS/2 in the "DOS box", provided you first
  195. issue the command SETCOM40 COM1=ON.
  196.  
  197. Reports on DesqView, Concurrent DOS, etc, are not yet in for 3.0.
  198.  
  199. * Notation:
  200.  
  201.   <parameter>   - Replace this with an actual number, or filename, etc.
  202.   <number>      - Replace with an actual decimal number
  203.   <filename>    - A file specification, which may include disk & directory
  204.   <hh:mm:ss>    - Time of day in 24-hour notation, less than 12 hours from now
  205.   [<parameter>] - An optional field, which may be omitted
  206.   {A,B,C}       - Choose one of the items listed
  207.   [{A,B,C}]     - Optionally choose one of the items listed
  208.   = <value>     - Shows default value
  209.  
  210. * Backslash Codes:
  211.  
  212. Backslash codes can be used in ECHO, INPUT, OUTPUT, and many other commands:
  213.  
  214. \123    (up to 3 decimal digits) - A decimal number
  215. \d123   (up to 3 decimal digits) - A decimal number
  216. \o123   (up to 3 octal digits) - An octal (base 8) number
  217. \x123   (up to 3 hexadecimal digits) - a hexadecimal (base 16) number
  218. \{ }    For grouping, e.g. \{12}6 = Ctrl-L 6, not ~
  219. \;      Include a semicolon in a TAKE-file command or macro definition.
  220. \%      Introduce a Kermit variable, \%1, \%2, ..., \%a, \%b, ... \%z
  221. \K      A Kermit connect-mode verb like \Kexit
  222. \B      Send a BREAK (OUTPUT command only)
  223. \255    Shorthand for CRLF or LFCR   (INPUT command only)
  224. \CD     Carrier Detect RS-232 signal (WAIT command only)
  225. \DSR    Data Set Ready RS-232 signal (WAIT command only)
  226. \CTS    Clear to Send RS-232 signal  (WAIT command only)
  227.  
  228. * Program Management Commands:
  229.  
  230. EXIT or QUIT
  231.   Exit from MS-DOS Kermit.
  232. TAKE <filename>
  233.   Execute commands from the specified file instead of the keyboard.
  234. PUSH
  235.   Go to DOS prompt.  Return to Kermit prompt by typing the DOS EXIT command.
  236. RUN <command>
  237.   Run any DOS program or execute any DOS command, e.g. RUN EDLIN AUTOEXEC.BAT.
  238. VERSION
  239.   Display MS-DOS Kermit program version number and date.
  240. ECHO <text>
  241.   Display the <text> on the screen.  For issuing messages from TAKE files.
  242. SET PROMPT <text>
  243.   Change the program prompt from MS-Kermit> to the specified text.
  244. COMMENT <text>
  245.   For adding comments to a TAKE file.
  246. <command> ; text
  247.   Commands in TAKE files can have trailing comments preceded by semicolon (;).
  248. <text>-
  249. <text>
  250.   Commands in TAKE files or macro definitions can be continued with hyphens,
  251.   but not in a trailing comment.
  252.  
  253. * DOS-like Commands:
  254.  
  255. CD [<path>]
  256.   Like DOS CD command, but drive letter may also be included.
  257. DELETE <filespec>
  258.   Deletes specified file(s).
  259. DIRECTORY [<filespec>]
  260.   Like DOS DIR command.
  261. TYPE <filename>
  262.   Like DOS TYPE command.
  263. SPACE [<disk-letter>]
  264.   Shows free space on current or specified disk.
  265. SHOW MEMORY
  266.   Shows free memory.
  267.  
  268. * Commands for Getting Information:
  269.  
  270. HELP
  271.   Display a brief help message about MS-DOS Kermit.
  272. SHOW
  273.   Display current settings, definitions, statistics selectively
  274.   (type SHOW ? for a list of categories that can be shown).
  275. STATUS
  276.   Show values of all SET parameters.
  277.  
  278. * Commands for Setting Communication Parameters and Connecting to a Remote Host
  279.  
  280. SET PORT {COM1, COM2, etc} = COM1
  281.   Select communication device (SET PORT ? for list of available devices,
  282.   see below for local area nets).  You can also say SET PORT 1, SET PORT 2, etc
  283. SET PORT {BIOS1, BIOS2, etc}
  284.   Use BIOS-level driver for COM1, COM2, etc, rather than built-in code.
  285.   Allows Kermit to be used with nonstandard devices.
  286. SET SPEED <number>
  287.   Communications port line speed: 1200, 2400, 9600, etc.  SET SPEED ? for list.
  288. SET PARITY {EVEN, ODD, MARK, SPACE, NONE} = NONE
  289.   Character parity to use during communication.  If not NONE, then 8th-bit
  290.   quoting is used during file transfer.
  291. SET DISPLAY { 7, 8 } = 7
  292.   Use 7 for stripping off parity bit, e.g. with UNIX systems.
  293.   Use 8 for 8-bit international character sets.
  294. SET DUPLEX {FULL, HALF} = FULL
  295.   Select full or half duplex communication.
  296.   FULL = remote echo.  HALF = local echo plus RTS/CTS hardware handshake.
  297. SET HANDSHAKE {NONE, XON, CR, LF, CODE <ascii-value>} = NONE
  298.   Half-duplex line turnaround character (XON is most common).
  299. SET FLOW-CONTROL {XON/XOFF, NONE} = XON/XOFF
  300.   Select full-duplex flow control method.
  301. SET TERMINAL {VT320, VT102, VT52, HEATH-19, TEK4010} = VT320
  302.   Select type of terminal to emulate.
  303. SET TERMINAL CHARACTER-SET { LATIN1, DEC-MCS, GERMAN, FRENCH, etc } = LATIN1
  304.   Tell Kermit what character set is used by the host computer during terminal
  305.   emulation.  Received characters are translated from this set into the
  306.   current PC code page.  Characters that you type are translated from current
  307.   PC code page to this set.  LATIN1 is ISO Latin Alphabet 1 (an 8-bit set).
  308.   GERMAN, FRENCH, etc, are 7-bit National Replacement Character sets (NRCs).
  309.   Use SET KEY and SET TRANSLATION INPUT to override Kermit's built-in
  310.   character translations on an individual basis, and SET TERMINAL
  311.   CHARACTER-SET TRANSPARENT to disable them altogether.
  312. SET TERMINAL ?
  313.   Many other terminal parameters: color, tabstops, wrap, etc.
  314. CONNECT
  315.   Make a terminal connection to another computer on the currently selected
  316.   port using the current communication settings.  Use Alt-X to return
  317.   ("escape back") to the MS-Kermit> prompt (hold down the Alt key and press x),
  318.   Raises DTR.  Can abbreviate as C.
  319. HANGUP
  320.   Hang up a dialed modem connection by lowering DTR.
  321. SET DEBUG SESSION
  322.   Turn off terminal emulator, display received characters literally for
  323.   debugging: ^X = Ctrl-X, ~X = X with 8th bit on.
  324. SET DEBUG OFF
  325.   Turn off session debugging.
  326.  
  327. * Local Area Networks
  328.  
  329. SET PORT NETBIOS
  330.   Tells Kermit to use IBM Netbios rather than serial communication port.
  331.   Tells MS-DOS Kermit to await connections from other PCs on the net.
  332.   Also used with AT&T StarLAN/StarGroup.
  333. SET PORT NETBIOS <name>
  334.   Tells Kermit to connect to another PC on the Netbios network.  Also for
  335.   AT&T StarLAN/StarGroup.
  336. SET PORT NOVELL
  337.   For using Novell network asynchronous communication servers (NASI/NACS).
  338.   (see below).
  339. SET PORT DECNET [<node> [<password>]]
  340.   For DECnet-DOS LAT or CTERM connections.  Specify node to connect to, LAT
  341.   password if required. 
  342. SET PORT UB-NET1
  343.   For Ungermann-Bass Net/One.
  344. SET PORT OPENNET [<node>]
  345.   For Intel OpenNET, similar to Netbios.
  346. SET PORT 3COM
  347.   For using 3COM BAPI asynchronous communication server, BRIDGE PCS or 3+OPEN
  348.   TCP versions.
  349. SET PORT { BIOS1, BIOS2, BIOS3, BIOS4 }
  350.   For using any network that operates through a BIOS-level COM port driver.
  351.   Examples include Novell TES (see below), IBM EBIOS, 3COM BAPI (old BRIDGE
  352.   PCS version only), TCP/IP Telnet (e.g. through Interlan TCP/IP Novell
  353.   Gateway, or FTP Software TC/TCP Jan 1990 version 2.04 pl 1).
  354. HANGUP
  355.   Close network connection, terminate network session.
  356.  
  357. MS-DOS Kermit 3.0 can operate with Novell products in at least three ways:
  358. with the NASI/NACS asynchronous server, with NetWare/VMS via the TES.COM
  359. utility from Novell, and with NetWare File Servers.
  360.  
  361. 1. NASI/NACS.  Install NACS on a Novell async server and install NASI on a
  362. workstation (perhaps by loading it from a file server), both according to
  363. Novell's instructions.  Start the client network shell and then start NASI.
  364. Run Kermit, use SET KEY to attach keyboard verb \Knethold to a key (for
  365. example "SET KEY \1374 \Knethold" to assign it to Ctrl-F1), and give Kermit
  366. the commands SET PORT NOVELL and then CONNECT. The NASI menu screen should
  367. appear, or push Enter to make it appear.  Select an async port and NASI/NACS
  368. will make an initial attachment to that port.  Futher NASI/NACS commands are
  369. available by pressing the key for \Knethold while in CONNECT mode.  The Kermit
  370. command HANGUP will close and terminate the current connection.  Once a
  371. connection is running Kermit can be used in file transfer, CONNECT (terminal
  372. emulation), and script modes.
  373.  
  374. 2. TES.  Start the client network shell.  Ensure a VAX/VMS system is operating
  375. on the network as a NetWare File Server.  Run TES.  TES installs itself as a
  376. Terminate Stay Resident (TSR) program until you give the DOS command TES
  377. UNLOAD.  Next run Kermit and give the commands SET PORT BIOS1 and CONNECT.
  378. Press the TES hot keys, usually ALT-Left-Shift-T, and the TES menu will
  379. appear.  Select a machine for connection and press the ESC key.  A VMS login
  380. prompt should appear.  The TES connection will be maintained until you log out
  381. of VMS or the Kermit HANGUP command has been given.  Multiple connections are
  382. possible by using the TES hot key and placing the current one on hold.  Be
  383. aware that VMS command TYPE filename can cause TES to be overwhelmed by the
  384. VAX if the file is especially long.  Once a connection is running Kermit can
  385. be used in file transfer, CONNECT (terminal emulation) and script modes.
  386.  
  387. 3. File Servers.  This is especially easy because the file server disk drive
  388. letters work naturally with Kermit.  Special procedures are designed into
  389. Kermit to assist printing to a network printer while Kermit is attached to a
  390. host via a high speed communications port.  Network printing is achieved by
  391. using the Novell utility CAPTURE to redirect the first PC printer channel to
  392. the file server.  Kermit uses the file server the same way you do: as an
  393. additional set of disk drive letters and/or as extra printers.
  394.  
  395.  
  396. * CONNECT-Mode Escape-Level Commands:
  397.  
  398. During terminal emulation, you may type Ctrl-] (hold down Ctrl and press the
  399. rightbracket key) followed by any of the following characters:
  400.  
  401.   ?   Help -- prints the available single-character commands
  402.   0   (the digit zero) Transmit a NUL (ASCII 0)
  403.   B   Transmit a BREAK signal                                 (also Alt-B)
  404.   C   Close the connection and return to Kermit prompt level  (also Alt-X)
  405.   F   File the current screen in the screen dump file         (also Ctrl-End)
  406.   H   Hangup the phone (or network connection)
  407.   L   Transmit a Long Break (1.8 seconds)
  408.   M   Toggle the mode line, i.e. turn it off if it is on & vice versa
  409.   P   Push to DOS; get back to CONNECT by typing EXIT at the DOS prompt
  410.   Q   Temporarily quit logging the remote session
  411.   R   Resume logging the remote session
  412.   S   Show the status of the connection
  413.   ^]  (or whatever you have set the escape character to be)
  414.       Typing the escape character twice sends one copy of it to the host
  415.  
  416. You may use SET ESCAPE to change the escape character from Ctrl-Rightbracket
  417. to some other character, or you can use the Alt-key equivalents noted above
  418. on the IBM keyboard, or you can use SET KEY to assign \Kexit or other
  419. "Kermit verbs" to the keys of your choice.  \Kexit is also assigned to Alt-X
  420. on IBM keyboards.
  421.  
  422. * SET TRANSLATE INPUT Command:
  423.  
  424.   SET TRANSLATE ON
  425.   SET TRANSLATE INPUT <code1> <code2>
  426.  
  427. Specifies that when a character represented by <code1> arrives at the
  428. communication port during terminal emulation, it should be translated into
  429. <code2> before display on the screen.  Overrides current terminal character
  430. set translation for that character.  Translations set up in this way take
  431. effect only after you give the command SET TRANSLATE INPUT ON, and you can
  432. disable (and restore the default translations) with SET TRANSLATE INPUT OFF.
  433. SET TRANSLATE INPUT ON/OFF does not affect the built-in translation between
  434. terminal character set and PC code page.  To disable the latter, use SET
  435. TERMINAL CHARACTER-SET TRANSPARENT.
  436.  
  437. * SET KEY Command:
  438.  
  439.   SET KEY <scancode> <value>
  440.  
  441. Assigns <value> to the key whose scan code is given.  When you press the key
  442. or key combination that corresponds to the scan code during terminal
  443. emulation, the <value> is transmitted out the communication port.  If you
  444. don't know the scan code, type SET KEY alone on a line, then press the desired
  445. key or key combination when prompted, then enter the definition.  The <value>
  446. can be a single character, a text string (which may contain backslash codes),
  447. or one or more Kermit verbs.  SET KEY overrides the default translation for
  448. the given key.
  449.  
  450. * Commonly Used Kermit Verbs (default assignment in parens):
  451.  
  452. \Kexit        Exit from connect mode (Alt-X, Ctrl-]C)
  453. \Kbreak       Send a BREAK signal (Alt-B, Ctrl-]B)
  454. \Kdos         Push to DOS (Ctrl-]P)
  455. \Kdump        Dump current screen to file (Ctrl-]F)
  456. \Khangup      Hangup communication port connection (Ctrl-]H)
  457. \Klogoff      Stop session logging (Ctrl-]Q)
  458. \Klogon       Resume session logging (Ctrl-]R)
  459. \Kmodeline    Toggle mode line off/on++ (keypad minus)
  460. \Kprtscn      Print current screen (Print Screen)
  461. \Kreset       Reset terminal emulator (Alt-=)
  462. \Ktermtype    Change terminal type (Alt-minus)
  463. \Kupscn       Roll back screen (PgUp)
  464. \Kupone       Roll back screen one line (Ctrl-PgUp)
  465. \Kdnscn       Roll screen forward (PgDn)
  466. \Kdnscn       Roll screen forward one line (Ctrl-PgDn)
  467. \KterminalR   Execute macro named TERMINALR if any
  468. \KterminalS   Execute macro named TERMINALS if any
  469. \Knethold     Put a network connection on hold, select another one
  470.  
  471. Use SET KEY to assign or reassign these verbs to the keys of your choice.
  472. Example: "SET KEY \315 \Kexit" puts \Kexit on the F1 key.
  473.  
  474. * Commands for Transferring Files:
  475.  
  476. SEND <filename> [<alternate-name>]
  477.   Send files to remote Kermit receiver or server.  Can abbreviate as S.
  478. RECEIVE <parameter> <value>
  479.   Wait for a file to arrive from the other Kermit program, which must
  480.   be given a SEND command.  Can abbreviate as R.
  481. GET <remote-filename>
  482.   Ask a Kermit server to send the specified file(s).  Use GET alone on a line
  483.   to be prompted for remote and local names separately.
  484. MAIL <filespec> <address>
  485.   Send the file as electronic mail to the address (if the remote Kermit
  486.   supports this feature).
  487.  
  488. * Getting Information About File Transfer:
  489.  
  490. SHOW STATISTICS
  491.   Display efficiency and other statistics about file transfers.
  492. SHOW PROTOCOL
  493.   Display file transfer protocol-related parameter settings.
  494. SHOW FILE
  495.   Display file-related parameter settings
  496. SHOW SERVER
  497.   Examine server-related parameters
  498.  
  499. * Commands for Talking to a Server:
  500.  
  501. BYE
  502.   Shut down a remote Kermit server and log out its job
  503. FINISH
  504.   Shut down a remote Kermit server, put it back at command level
  505. GET <remote-filename>
  506.   Ask a Kermit server to send the specified file(s)
  507. SEND <filename> [<alternate-name>]
  508.   Send files to remote Kermit receiver or server
  509. REMOTE CD [<directory> [<password>]]
  510.   Tell remote server to change to named directory.
  511. REMOTE DELETE <filespec>
  512.   Tell remote server to delete the specified files.
  513. REMOTE DIRECTORY [<filespec>]
  514.   Tell remote server to send directory listing for specified files.
  515. REMOTE HELP
  516.   Ask the server to list the services it provides
  517. REMOTE HOST [command]
  518.   Command for remote host in its own command language
  519. REMOTE KERMIT [command]
  520.   Send a command to remote Kermit server in its own command language
  521. REMOTE LOGIN user
  522.   Login to a remote Kermit server, separate prompts for password, etc.
  523. REMOTE MESSAGE text
  524.   Send a one-line message to the remote Kermit server
  525. REMOTE SET <parameter> <value>
  526.   Tell remote server to set the specified parameter to the specified value.
  527. REMOTE SPACE [directory]
  528.   Show disk space on remote host
  529. REMOTE TYPE filespec
  530.   Display remote file(s)
  531. REMOTE WHO
  532.   Display users logged on remote system
  533.  
  534. * Commands for Acting as a Server:
  535.  
  536. DISABLE <parameter>
  537.   Disable various capabilities of the server (DISABLE ? for list)
  538. ENABLE <parameter>
  539.   Enable various capabilities of the server (ENABLE ? for list)
  540. SET SERVER TIMEOUT <num>
  541.   How often the server should send NAK packets while waiting for a command,
  542.   0 = never.
  543. SET SERVER LOGIN <name> <password>
  544.   Set up a name and password which must be sent to the server (by REMOTE
  545.   LOGIN) before it will accept any other commands.
  546. SERVER [{<seconds>, <hh:mm:ss>}]
  547.   Act as a Kermit server, optionally for or until the given time.
  548.   Default time is forever (until BYE or FINISH received, or interrupted
  549.   with Ctrl-C).
  550.  
  551. The MS-DOS Kermit server honors the following requests:
  552.  
  553. SEND        REMOTE CWD        REMOTE MESSAGE
  554. GET         REMOTE DELETE     REMOTE SPACE
  555. FINISH      REMOTE DIRECTORY  REMOTE TYPE
  556. BYE         REMOTE HOST       REMOTE SET
  557. LOGOUT      REMOTE KERMIT
  558.  
  559. * Interruption Commands While a File Transfer Is in Progress:
  560.  
  561. X or Ctrl-X: Stop sending the current file and go on to the next one, if any.
  562. Z or Ctrl-Z: Stop sending this file, and don't send any further files.
  563. E or Ctrl-E: Send Error packet to the remote Kermit.
  564. C or Ctrl-C: Return to Kermit command level immediately.
  565. Enter key:   Try to wake up a stuck file transfer.
  566.  
  567. * Setting Nonstandard File Transfer Parameters:
  568.  
  569. SET ATTRIBUTES { ON, OFF } = ON
  570.   Enable/Disable processing of file attribute packets.
  571. SET ATTRIBUTES { DATE, LENGTH, TYPE, CHARACTER-SET } { ON, OFF } = ON
  572.   Enable/Disable processing of specific file attributes.
  573. SET BLOCK-CHECK { 1, 2, 3 } = 1
  574.   Level of error checking, 1 by default, 3 is strongest.
  575. SET DEBUG PACKETS
  576.   Display packets on screen during file transfer.
  577. SET DEBUG OFF
  578.   Turn off display of packets.
  579. SET DESTINATION { DISK, PRINTER, SCREEN } = DISK
  580.   Direct incoming files to the specified device.
  581. SET DISPLAY { QUIET, REGULAR, SERIAL } = REGULAR
  582.   Select format of file transfer display.
  583. SET EOF { CTRL-Z, NOCTRL-Z } = NOCTRL-Z
  584.   Whether Ctrl-Z marks the end of a PC DOS text file.
  585. SET FILE TYPE { TEXT, BINARY } = TEXT
  586.   Text implies record format conversion and character set translation.  Use
  587.   BINARY to send or receive files with no conversaion at all.
  588. SET FILE CHARACTER-SET { CP437, CP850, CP860, CP863, CP865 }
  589.   Tell Kermit which IBM PC code page to use when sending or receiving a
  590.   text file.  Default is your current PC code page.  Kermit translates between
  591.   the current file character set and the transfer character set during file
  592.   transfer.
  593. SET TRANSFER CHARACTER-SET { TRANSPARENT, LATIN1 } = TRANSPARENT
  594.   Tell Kermit which character set to use when sending and receiving Kermit
  595.   packets.  TRANSPARENT means no translation.  LATIN1 is ISO Latin Alphabet 1,
  596.   useful for transferring text that contains accented characters with other
  597.   Kermit programs that support this feature. 
  598. SET FILE WARNING { ON, OFF, NO-SUPERSEDE } = ON
  599.   What to do when a file arrives that has the same name as an existing file.
  600.   ON = Automatically give the arriving file a unique name.
  601.   OFF = Overwrite the existing file with the new file.
  602.   NO-SUPERSEDE = Reject any file that has the same name as an existing file.
  603. SET INCOMPLETE { KEEP, DISCARD } = DISCARD
  604.   What to do with a file that does not arrive completely.
  605. SET RETRY <number> = 5
  606.   How many times to retry a particular packet before giving up on the file.
  607. SET TIMER { ON, OFF } = ON
  608.   Enable/Disable timeouts and retransmissions during file transfer.
  609. SET WINDOW <num> = 1
  610.   Number of sliding window packet slots.  Sizes greater than 1 can be used
  611.   only with other Kermit programs that supports sliding windows.  Improves
  612.   transmission efficiency on long-delay connections.
  613. SET SEND (or RECEIVE) <parameter> <value>
  614.   START-OF-PACKET <num> = 1  packet begin character, normally Ctrl-A
  615.   END-OF-PACKET <num> = 13   packet end character, normally carriage return
  616.   PACKET-LENGTH <num> = 94   packet length; 2000 max; > 94 is "long packets"
  617.   PAUSE <num> = 0            Interpacket pause, milliseconds
  618.   TIMEOUT <num> = 5          Timeout interval waiting for a packet, seconds
  619.   PADDING <num> = 0          How many padding characters before each packet
  620.   PADCHAR <num> = 0          Padding character to use
  621.  
  622. Use SHOW FILE, SHOW PROTOCOL to examine current file transfer settings.
  623.  
  624. * Commands for Unguarded File Transfer:
  625.  
  626. TRANSMIT <filename>
  627.   Send a text file to the host as if you were typing it at the keyboard.
  628. SET TRANSMIT <parameter> <value>
  629.   Various parameters used to control TRANSMIT command (SET TRANSM ? for list).
  630. LOG SESSION <filename>
  631.   Capture a remote file, which you must TYPE, into the named file.
  632.  
  633. * Commands for Recording:
  634.  
  635. LOG TRANSACTION [<filename>] = TRANSACT.LOG
  636.   Log file transfer names, times, etc, in given file.
  637. LOG SESSION [<filename>] = SESSION.LOG
  638.   Record terminal session in given file.
  639. LOG PACKETS [<filename>] = PACKET.LOG
  640.   Record file transfer packets in given file
  641. WRITE {PACKET,SESSION,TRANSACTION,SCREEN} {DATE,TIME,PATH,TEXT,etc} [<text>]
  642.   Write the given quantity to the specified log file or to the screen.
  643. CLOSE {PACKET, SESSION, TRANSACTION, ALL}
  644.   Close the specified log file and stop logging.
  645. REPLAY <filespec>
  646.   Display a session log, running it through the terminal emulator.
  647. SHOW LOG
  648.   Display names and status of logging and log files.
  649.  
  650. * Macros and Variables:
  651.  
  652. DEFINE <name> [<value>]
  653.   Defines a macro called "<name>" to have the given value.  If <value> omitted,
  654.   undefines the name.  Value may be a list of MS-DOS Kermit commands,
  655.   separated by commas.  Can also be used to define a variable like \%1,\%a,etc.
  656. [DO] <name> [<parameter1> [<parameter2> [<parameter3> [...]]]]
  657.   Executes the macro called "<name>", and assigns the parameters, if any,
  658.   to the variables \%1, \%2, \%3, etc, and sets the variable ARGC to the
  659.   number of parameters plus one (1 = no parameters, 2 = 1 parameter, etc).
  660. ASSIGN <variable1> <variable2>
  661.   Copies the current value of <variable2> into <variable1>.
  662. SHOW MACRO [<name>]
  663.   Shows the definition of the specified macro or variable.
  664. IF DEFINED <name> <command>
  665.   Executes the <command> if the <name> is defined.
  666. IF = ARGC <num> <command>
  667.   Executes <command> if ARGC is equal to <num> (numeric constant or variable)
  668. IF < ARGC <num> <command>
  669.   Executes <command> if ARGC is less than <num>
  670. IF > ARGC <num> <command>
  671.   Executes <command> if ARGC greater than <num>
  672. IF NOT > ARGC <num> <command>
  673.   Executes <command> if ARGC less than or equal to <num>
  674. IF =, <, >
  675.   Can also be used with any numeric variable, not just ARGC, including the
  676.   other predefined numeric variables, VERSION, COUNT, and ERRORLEVEL, or
  677.   any other variable (such as \%1, \%a) that has a numeric value.  Use
  678.   IF EQUAL to compare character strings (see below).
  679.  
  680. * Script commands:
  681.  
  682. INPUT [<timeout>] <string>
  683.   Wait up to <timeout> secs for <string> to arrive at communication port.
  684.   If it arrives, set SUCCESS.  If not, time out and set FAILURE.
  685.   String may contain backslash codes.
  686. OUTPUT <string>
  687.   Send the <string> out the communication port.
  688. SET INPUT CASE { IGNORE, OBSERVE } = IGNORE
  689.   Say whether alphabet case should matter in searching for INPUT string.
  690. SET INPUT DEFAULT-TIMEOUT <secs> = 1
  691.   Timeout interval to use if none given in INPUT command.
  692. SET INPUT ECHO { ON, OFF } = ON
  693.   Whether to display characters read by INPUT command on the screen.
  694. SET INPUT TIMEOUT-ACTION { PROCEED, QUIT } = PROCEED
  695.   PROCEED means set SUCCESS or FAILURE and go on to next statement in macro
  696.   definition or TAKE file.  QUIT means to quit from current macro or TAKE
  697.   file immediately upon timeout (i.e. upon failure).
  698. IF SUCCESS <command>
  699.   Execute the <command> if the preceding INPUT command succeeded.  Also works
  700.   with file transfer commands like SEND, RECEIVE, GET, BYE, etc.
  701. IF FAILURE <command>
  702.   Execute the <command> if the preceding INPUT or file transfer command failed.
  703. PAUSE <secs>
  704.   Do nothing for specified number of seconds, or until any character is typed
  705.   at the keyboard.  Raises DTR.
  706. WAIT [<timeout>] [\DTR] [\CD] [\CTS]
  707.   Wait <timeout> (seconds or until time hh:mm:ss) for specified modem signals.
  708.   Raises DTR.
  709. CLEAR
  710.   Clear communication port input buffer.
  711. STOP
  712.   Return from macro or TAKE file to the MS-Kermit> prompt.
  713. POP
  714.   Return from current macro or TAKE file to the macro, TAKE file which
  715.   invoked it, or if none, to the MS-Kermit> prompt.
  716. GOTO <label>
  717.   Instead of executing the next statement in the current macro definition or
  718.   TAKE-file, go to the specified label and begin executing there.  The label 
  719.   must be a word that begins with a colon (:) in the left margin in the
  720.   current macro definition or TAKE file.
  721. :LOOP
  722.   The previous line shows a label called "loop".  GOTO LOOP would find it.
  723. REINPUT [<timeout>] <string>
  724.   Like INPUT, but instead of waiting for <string> to arrive at communication
  725.   port, REINPUT rescans the text that has already arrived.
  726. SET COUNT <num>
  727.   Sets the loop counter to <num>.
  728. IF COUNT <command>
  729.   Subtract one from count.  If result > 0, execute <command>.
  730.   Use with GOTO to construct counted loops.
  731. SET ALARM <time>
  732.   Set an alarm <time> seconds from now, or at time hh:mm:ss.
  733. IF ALARM <command>
  734.   If the alarm time has passed, execute the <command>.
  735. SET ERRORLEVEL <number>
  736.   Set errorlevel to be returned to DOS by Kermit upon exit.    
  737. IF ERRORLEVEL <number> <command>
  738.   If errorlevel of most recently executed DOS command matches or exceeds
  739.   <number>, execute the <command>.
  740. IF EXIST <filename> <command>
  741.   If the named file exists, execute the <command>.
  742. ASK <variable> <prompt>
  743.   Print the <prompt> on the screen, assign what user types to the <variable>.
  744. ASKQ <variable> <prompt>
  745.   Like ASK, but do not echo what user types.
  746. IF EQUAL <string1> <string2> <command>
  747.   If the two character strings are the same, execute the <command>.
  748.   For use with INPUT, ASK, ASKQ, etc.
  749.  
  750. (End of MS-DOS Kermit Help File)
  751.