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