home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / ccdos / cckermhlp.txt < prev    next >
Text File  |  2020-01-01  |  12KB  |  304 lines

  1. Note:
  2. The IBM PC implemention of CC-DOS/MS-DOS Kermit Version 2.32(named CC-Kermit) 
  3. is a Chinese/English version of the old MS-DOS Version 2.32. It can runs on 
  4. most of the IBM PC family, including the PC,XT,AT, Portable PC, PCjr, PC 
  5. Convertible, and the PS/2 series, true IBM-compatibles like the Compaq, 
  6. AT&T 6300, and DEC VAXmate,and near-compatibles like the Olivetti M24, 
  7. Seequa Chameleon, and DG/1. In MS-DOS environment, CC-Kermit 2.32 is same as 
  8. MS-Kermit 2.32 completely, while in CC-DOS (Chinese Code DOS) environment,
  9. all message is automatically changed into Chinese and some functions of 
  10. MS-Kermit 2.32 is disabled. I don't rewrite User Guide of CC-Kermit. All 
  11. commands and user guides of MS-Kermit 2.32 can be used in CC-Kermit. 
  12.   --- Quanfang Zhang, Zhejiang University, P.R.China 7/11/91
  13.  
  14.    
  15. The following is the "MSKERM.HLP" file of MS-Kermit 2.32.
  16.       
  17.  
  18.  
  19.   MS-DOS KERMIT FOR THE IBM PC FAMILY, COMPATIBLES, AND OTHER MS-DOS SYSTEMS
  20.  
  21.                             Version 2.32, 11 Dec 1988
  22.  
  23.                                 PROGRAM SUMMARY
  24.  
  25.                C. Gianone (Columbia University)
  26.                      J.R. Doupnik (Utah State University)
  27.  
  28.              See the MS-DOS KERMIT USER GUIDE for complete details
  29.  
  30. Kermit-MS can be run interactively, from a batch file, as an "external" DOS
  31. command, or with redirected or piped standard input and output.  Upon initial
  32. startup, the program executes any commands found in the file MSKERMIT.INI in
  33. the current disk or DOS path, or the file specified by "-f filename" on the
  34. Kermit command line.
  35.  
  36. * Interactive Operation:
  37.  
  38. To run Kermit-MS interactively, invoke the program from DOS command level by
  39. typing its name, usually "kermit".  When you see the command's prompt,
  40. "Kermit-MS>", you may type Kermit commands repeatedly until you are ready to
  41. exit the program.  The commands EXIT or QUIT return you to DOS.
  42.  
  43. While typing commands, use BACKSPACE to erase the character most recently
  44. typed, Ctrl-W to delete the most recent field, or Ctrl-U to delete the entire
  45. command, and enter the command by typing RETURN (Carriage Return, Enter), or
  46. Ctrl-L.  A question marked typed at any point in a command (except in a
  47. filename or character string) will give you a brief hint about what's expected
  48. at that point.  Pushing ESC key will complete the command current field, if
  49. possible, and position the cursor at the next field.  If completion is not
  50. possible, Kermit will beep.  You can cancel any command during its execution by
  51. typing Ctrl-C.
  52.  
  53. * Command Line Invocation:
  54.  
  55. Kermit-MS may be invoked with command line arguments from DOS command level,
  56. for instance:
  57.  
  58.     A>kermit set port 1, set speed 9600, connect
  59.  
  60. In this case, help and completion are not available and Kermit-MS will exit
  61. back to DOS after completing the specified commands unless you include the
  62. "stay" command.  Several commands may be given on the command line, separated
  63. by commas.
  64.  
  65. * Batch Operation:
  66.  
  67. Like other MS-DOS programs, Kermit-MS may be operated under batch with command
  68. line arguments.  If you invoke it without command line arguments, it will run
  69. interactively, reading commands from the keyboard and not the batch file.  When
  70. it exits, batch processing will continue to the end of the batch file.  An
  71. ERRLEVEL number is returned by Kermit to assist batch file controls.
  72.  
  73. * Remote Operation:
  74.  
  75. The MS-DOS CTTY command allows an MS-DOS system to be used from a terminal
  76. connected to its communication port, e.g. "CTTY COM1".  You can then use DOS,
  77. and Kermit, from a terminal or computer connected to the PC's COM1 device.
  78.  
  79. Notation:
  80.  
  81. <parameter>   - Replace this with an actual number, or filename, etc.
  82. <number>      - Replace with an actual decimal number
  83. <filespec>    - A file specification, which may include disk & directory
  84. <hh:mm:ss>    - Time of day in 24-hour notation, less than 12 hours from now
  85. [<parameter>] - An optional field, which may be omitted
  86. {A,B,C}       - Choose one of the items listed
  87. [{A,B,C}]     - Optionally choose one of the items listed
  88.  
  89. * Top-Level Kermit-MS Commands:
  90.  
  91. -F <filespec>   (From DOS command line only)
  92.   Use <filespec> instead of MSKERMIT.INI as initialization file.
  93.   "kermit -f nul" runs Kermit without any initialization file at all.
  94. ASK <variable-name> <prompt string>
  95.   Prompt user, store what user types in variable.
  96. ASSIGN <variable-name-1> <variable-name-2> 
  97.   Copy the value of variable 2 to variable 1.
  98. BYE
  99.   Shut down a remote Kermit server and log out its job.
  100. CLEAR
  101.   Clear the communications input buffer.
  102. CLOSE {PACKET, SESSION, TRANSACTION, ALL}
  103.   Close the specified log file and stop logging.
  104. COMMENT <string>
  105.   For adding comments to a TAKE command file.
  106. CONNECT
  107.   Make a terminal connection to another computer.
  108. CWD <path> or CD <path>
  109.   Change local working directory.
  110. DEFINE <macro-name> [<definition>]
  111.   Group Kermit-MS commands together into a macro, or define a variable.
  112. DELETE <filespec>
  113.   Delete local files
  114. DIRECTORY [<filespec>]
  115.   List names, sizes, and dates of local files
  116. DISABLE <function>
  117.   Prevent the specified function to be performed when in server mode.
  118. DO <macro-name> <parameters>
  119.   Perform the commands in a macro, with parameters for substitution.
  120. ECHO <text>
  121.   Display the <text> on the screen
  122. ENABLE <function>
  123.   Allow the specified function to be performed when in server mode.
  124. EXIT
  125.   Exit from Kermit-MS
  126. FINISH
  127.   Shut down a remote Kermit server
  128. GET <remote-filespec>
  129.   Ask a Kermit server to send the specified file(s).
  130. GOTO <label>
  131.   In script execution, transfer control to the specified label.
  132.   Label appears in left margin, begins with colon (:).
  133. HANGUP
  134.   Instruct modem to hangup the phone, or close the network connection.
  135. HELP
  136.   Display a brief help message about Kermit-MS.
  137. IF [NOT] <condition> <command>
  138.   In a script, execute the command if the condition is true.  Conditions are:
  139.   ALARM, COUNT, DEFINED, ERRORLEVEL, EQUAL, EXIST, FAILURE, SUCCESS
  140. INPUT [timeout] text
  141.   Input the specified text from the remote system within 'timeout' seconds
  142. LOG PACKETS <filespec>
  143.   Record file transfer packets in specified file or device
  144. LOG SESSION <filespec>
  145.   Record remote terminal session in specified file or device
  146. LOG TRANSACTION <filespec>
  147.   Report the progress of file transfers in the specified file or device
  148. LOGOUT
  149.   Logout remote server, but don't exit from Kermit-MS
  150. MAIL <file> <user>
  151.   Send the file as mail to the user, through a Kermit server
  152. OUTPUT text
  153.   Output the specified text to the remote system
  154. PAUSE [{<seconds>, <hh:mm:ss>}]
  155.   Sleep for specified number of seconds or until the specified time of day
  156. POP
  157.   When executing a command file or macro, return immediately one level up
  158. PUSH
  159.   Invoke inferior MS-DOS command processor, type EXIT to DOS to return
  160. QUIT
  161.   Exit from Kermit-MS
  162. RECEIVE <alternate-name>
  163.   Wait for files from the other Kermit
  164. REMOTE <command>
  165.   Prefix for commands to remote Kermit server (see below)
  166. RUN <program> [<arguments>]
  167.   Invoke an MS-DOS command or program, optionally with command-line arguments
  168. SEND <filename> [<alternate-name>]
  169.   Send files to remote Kermit receiver or server
  170. SERVER [{<seconds>, <hh:mm:ss>}]
  171.   Act as a Kermit server, optionally for or until the given time
  172. SET <parameter> <value>
  173.   Set various parameters (see below)
  174. SHOW
  175.   Display current settings, definitions, statistics selectively (see below)
  176. SPACE
  177.   Show disk space
  178. STATUS
  179.   Show values of all SET parameters
  180. STAY (from DOS command line only)
  181.   Stay within Kermit after other commands have executed
  182. STOP
  183.   In a command file or macro, return to Kermit-MS> prompt level immediately
  184. TAKE <filespec>
  185.   Execute Kermit-MS commands from specified file
  186. TRANSMIT filespec [prompt]
  187.   Send the characters from the file "raw" with no error checking
  188. TYPE <filespec>
  189.   Display a local file on the screen
  190. VERSION
  191.   Display Kermit-MS program version number and release date
  192. WAIT {<seconds>, <hh:mm:ss>} [\CD] [\DSR] [\CTS]
  193.   Wait (until) the specified time for the given modem signals to appear
  194.  
  195. * File specifications:
  196.  
  197. In all commands, file specifications may include fully qualified DOS paths,
  198. including device specifications.  Allowable wildcard characters are "*"
  199. (match from here to end of field) and "?" (single character), as in DOS,
  200. except "#" must be used instead of "?" to match the first character of a
  201. filename, to allow ? to give help in that position.
  202.  
  203. * Interruption commands while a file transfer in progress:
  204.  
  205. ^X Stop sending the current file and go on to the next one, if any.
  206. ^Z Stop sending this file, and don't send any further files.
  207. ^E Send Error packet to the remote Kermit.
  208. ^C Return to Kermit-MS command level immediately (without notifying the host).
  209. CR Simulate a timeout: resend the current packet, or NAK the expected one.
  210.  
  211. * Remote Commands:
  212.  
  213. REMOTE CWD [directory]
  214.   Change remote Working Directory
  215. REMOTE DELETE filespec
  216.   Delete remote file(s)
  217. REMOTE DIRECTORY [filespec]
  218.   List remote file(s)
  219. REMOTE HELP
  220.   Ask the server to list the services it provides
  221. REMOTE HOST [command]
  222.   Command for remote host in its own command language
  223. REMOTE KERMIT [command]
  224.   Send a command to remote Kermit server in its own command language
  225. REMOTE LOGIN user
  226.   Login to a remote Kermit server, separate prompts for password, etc.
  227. REMOTE MESSAGE text
  228.   Send a one-line message to the remote Kermit server
  229. REMOTE SPACE [directory]
  230.   Show disk space on remote host
  231. REMOTE TYPE filespec
  232.   Display remote file(s)
  233. REMOTE WHO
  234.   Display users logged on remote system
  235. * MS-DOS Kermit server honors the following requests:
  236.  
  237. SEND        REMOTE CWD        REMOTE SEND
  238. GET         REMOTE DELETE     REMOTE SPACE
  239. FINISH      REMOTE DIRECTORY  REMOTE TYPE
  240. BYE,LOGOUT  REMOTE HOST       REMOTE WHO
  241.  
  242. * SET commands:
  243.  
  244. ALARM {seconds, hh:mm:ss}
  245.   In scripts, set an alarm (for use with IF ALARM).
  246. ATTRIBUTES {ON,OFF}
  247.   Enable or disable the use of File Attribute packets.
  248. BAUD <number>
  249.   Communications port line speed (synonym for SPEED)
  250. BELL {ON,OFF}
  251.   Whether to beep at the end of a transaction
  252. BLOCK-CHECK-TYPE {1,2,3}
  253.   Level of error checking for file transfer
  254. COUNT <number>
  255.   In scripts, set up a loop counter (for use with IF COUNT)
  256. DEBUG {ON,OFF,PACKETS,SESSION}
  257.   Display packets during file transfer, ctrl chars during terminal session
  258. DEFAULT-DISK <disk-name>
  259.   Default disk drive for file i/o
  260. DELAY <number>
  261.   Amount of time to pause after a SEND command before sending the file.
  262. DESTINATION {DISK,PRINTER,SCREEN}
  263.   Default destination device for incoming files
  264. DISPLAY {QUIET,REGULAR,SERIAL,7-BIT,8-BIT}
  265.   For selecting the type of file transfer display and terminal screen displays
  266. DUMP <filespec>
  267.   Screen dump file (or device) name
  268. END-OF-LINE <ASCII-value>
  269.   Packet termination character, normally CR (\13)
  270. EOF {CTRL-Z,NOCTRL-Z}
  271.   Method for determining or marking end of file
  272. ERRORLEVEL <number>
  273.   Status code to be returned by Kermit upon exit
  274. ESCAPE <character>
  275.   Escape character for CONNECT, normally Control-right square bracket (\29)
  276. FLOW-CONTROL {XON/XOFF,NONE}
  277.   Select full-duplex flow control method
  278. HANDSHAKE {XON, CR, LF, CODE <ascii-value>}
  279.   Half-duplex line turnaround character
  280. INCOMPLETE {DISCARD,KEEP}
  281.   What to do with an incompletely received file
  282. INPUT <parameter> <value>
  283.   Various parameters for INPUT script command
  284. KEY <keycode> <definition>
  285.   Specify key redefinitions, or "keystroke macros"
  286. LOCAL-ECHO {ON,OFF}
  287.   Specify which computer does the echoing during CONNECT
  288. MODE-LINE {ON,OFF}
  289.   Whether to display a mode line during terminal emulation
  290. PARITY {EVEN,ODD,MARK,SPACE,NONE}
  291.   Character parity to use during communication
  292. PORT {1,2,3,4,COM1,COM2,COM3,COM4,BIOS1,BIOS2,BIOS3,BIOS4,NET [<name>],UB-NET1}
  293.   Select a port, driver, or network for communication
  294. PROMPT <string>
  295.   Change the "Kermit-MS>" prompt to <string>
  296. RECEIVE <parameter> <value>
  297.   Request remote Kermit to use specified parameters (see below)
  298. REMOTE {ON,OFF}
  299.   For running Kermit-MS interactively from back port
  300. RETRY <number>
  301.   Packet retransmission threshold
  302. SEND <parameter> <value>
  303.   Use the specified parameters during file transfer (see below)
  304. SPEED <number>