home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / hp1000 / hp1000doc.txt next >
Text File  |  2020-01-01  |  21KB  |  474 lines

  1. ""
  2. HELP
  3.   
  4. This info goes with KERMIT version 1.99 or later, as of April 24, 1987.
  5.   
  6. KERMIT is a file-transfer protocol for use over an asynchronous serial
  7. telecommunications lines.  Files are broken up into "packets", adding
  8. checksums and other control information to ensure, with high likelihood,
  9. error-free and complete transmission.
  10.   
  11. KERMIT-RTE is implemented for HP-1000 systems running RTE-6/VM or RTE-A.
  12. The following commands may be entered in upper- or lower-case:
  13.   Bye      Connect  Exit     Finish   Get      Help     Quit     REceive
  14.   RUn      SET      SENd     SERver   SHow     STatus   Transfer
  15. Note: the minimum allowable abbreviation is shown in UPPER-CASE.
  16.   
  17. Info about a given command's parameters, if any, is available via a "?" --
  18. "SET ?" gives you a list of settable parameters.  Info about the commands
  19. themselves is available via "HELP <command>" where you replace "<command>"
  20. with one of the commands shown above.  If you need even more help, consult
  21. the KERMIT user's manual.
  22. ""
  23. CONNECT
  24.   
  25. CONNECT [<lu#>]
  26.   
  27. The CONNECT command puts KERMIT into a terminal-emulator state, connecting
  28. your terminal to either the <lu#> in this command, if given, or to the LU#
  29. given in a previous SET LINE command.  Anything you type will be sent to
  30. the other "remote" computer; anything it sends back will be displayed on
  31. your terminal.  WARNING: If you are NOT connected via a "D" mux (currently
  32. only under RTE-A), TYPE SLOWLY! You may otherwise lose keystrokes.
  33.   
  34. When you are typing to KERMIT-RTE, it will prompt you with "KERMIT-RTE>"
  35. unless you have changed the prompt (see SET PROMPT for info).  When you
  36. CONNECT to another machine, you will see information about how to ESCAPE
  37. back to KERMIT-RTE, and then you will be typing as if you were on a terminal
  38. directly connected to the other machine.  When you need to return to KERMIT-
  39. RTE (to give it a command or to exit), you will need to type the ESCAPE info
  40. as shown in the message you got when you did the CONNECT (see SET ESCAPE for
  41. more info).  You will then get a message about having returned to the local
  42. machine and KERMIT-RTE.
  43. ""
  44. EXIT
  45. ""
  46. QUIT
  47.   
  48. EXIT or QUIT causes this KERMIT to shut itself down in an orderly way (as
  49. opposed to crashing!), closing debugging files if opened, and restoring
  50. various things to their original state before KERMIT was run.
  51.   
  52. If you are running KERMIT-RTE as a server, you must use the FINISH, BYE, or
  53. LOGOFF commands from your local machine rather than QUIT or EXIT.
  54. ""
  55. GET
  56. ""
  57. RECEIVE
  58.   
  59. GET <file-descriptor> [<file-mask>]
  60. RECEIVE [<file-mask>]
  61.   
  62. GET and RECEIVE tell this KERMIT to receive one or more files from the
  63. KERMIT running on the other computer, be it a PC or another mainframe.
  64.   
  65. If the other KERMIT is a SERVER, you MUST use GET instead of RECEIVE; GET
  66. requires a file-descriptor which must be legal for the remote system, and
  67. may contain wild-cards if the remote KERMIT will accept them.
  68.   
  69. The optional <file-mask> parameter allows you to rename the first received
  70. file to that mask, and remaining files using all but the file-name part of
  71. the mask.  If the received files are put in FMGR space, their names will be
  72. subject to (possibly severe) editing, since FMGR allows only 6 characters.
  73. FILE-WARNING NOTE: If a received file's name conflicts with an existing file,
  74. the RECEIVE or GET will be aborted with a message unless file-warnings are
  75. off.  If file-warnings are off, new files will overlay the first existing
  76. one with the same name.  Do "HELP SET WARNING" if you need more information
  77. on this.
  78. ""
  79. SEND
  80.   
  81. SEND <file-descriptor> [<first file-name>]
  82.   
  83. "SEND <file-descriptor>" causes KERMIT-RTE to send the file(s) matching the
  84. file-descriptor to the other KERMIT whether or not it is a SERVER.
  85.   
  86. "SEND <file-descriptor> <first file-name>" works as above starting with the
  87. given file-name (wild-cards are NOT allowed here!); this is used primarily
  88. to resume sending a set of files after some kind of interruption.
  89.   
  90. Files' names are sent to the "other" KERMIT in a "packet" so that they will
  91. know what to receive.  If the SEND command is issued to the remote KERMIT
  92. (you are CONNECTed) then you must escape back to the local KERMIT to give a
  93. RECEIVE command within 15 seconds or this packet may be lost.  If this is
  94. not an appropriate delay, you may alter it using the SET DELAY command.
  95. ""
  96. RUN
  97.   
  98. "[RUN] <program-name> [<run-string parameters>]" causes KERMIT to schedule
  99. the named program with wait, passing any run-string parameters as supplied.
  100. If the program so scheduled returns a non-zero first parameter or a string,
  101. they will be displayed at your terminal.
  102. ""
  103. SERVER
  104.   
  105. This command causes KERMIT-RTE to act as a server, getting all further
  106. commands from another KERMIT in "packets".  This command may only be used
  107. if this KERMIT-RTE is the "remote" KERMIT and the "local" KERMIT knows how
  108. to talk to a server (not all of them do!).   Once this KERMIT becomes a
  109. server, you will be told to ESCAPE back to the local KERMIT.
  110.   
  111. Once acting as a server, KERMIT-RTE may only be shut down by a local KERMIT
  112. command such as FINISH, BYE, or LOGOUT, as appropriate.  FINISH will shut
  113. down KERMIT-RTE but not log-off the session.  If you need to rename received
  114. files or direct them to a particular directory during a server receive, you
  115. may SET RMASK to accomplish this before starting the server -- see SET RMASK
  116. for further information.
  117.   
  118. KERMIT-RTE is set up so that if the default communication parameters are
  119. already compatible with your PC, you can "[ru] kermit SERver".
  120. ""
  121. STATUS
  122.   
  123. STATUS causes KERMIT-RTE to display retry- and overall packet-counts and
  124. timing information about the most recent file transfer, and retry- and
  125. overall packet-counts of all file transfers done during the current
  126. KERMIT-RTE session.
  127. ""
  128. TRANSFER
  129.   
  130. Transfer <file-name> [NOecho]
  131.   
  132. This causes all further commands to be obtained from the file-name given.
  133. If 'NO' or blanks appear after the file-name, commands obtained from the
  134. file will not be echoed at the console; anything else will cause those
  135. commands to be shown at your terminal as they are processed.
  136.   
  137. Transfer-files may contain any legal command except the transfer command
  138. itself.  If the transfer-file contains a blank line, control will return
  139. to your terminal for one command, and then return to the transfer-file.
  140. If you should inadvertently put a blank line in the transfer-file, you
  141. will have to enter SOMETHING at the KERMIT-RTE prompt; entering one or
  142. more commas will return you to the transfer-file.  At the end of the file
  143. control automatically return to your terminal.  NOTE: all commands which
  144. appear in a transfer-file after a SERVER command will not be processed!
  145. ""
  146. FINISH
  147. ""
  148. BYE
  149.   
  150. BYE or FINISH
  151.  
  152. FINISH causes the remote KERMIT to terminate but not log-off from the remote
  153. system when the remote KERMIT is acting as a server.  It does not cause the
  154. local KERMIT to terminate.
  155.   
  156. BYE causes the remote KERMIT to terminate AND log-off from the remote system
  157. when the remote KERMIT is acting as a server.  It DOES cause KERMIT-RTE to
  158. terminate as if an EXIT or QUIT command was given.
  159.   
  160. WARNING: You should NOT use the BYE command under any KERMIT if there is a
  161. permanent connection between the systems, and if some kind of "log-on" is
  162. usually performed on BOTH systems.  If you do use the BYE command in such
  163. a situation, one system's log-off messages could act like a log-on attempt
  164. to the other system, and since that is bound to fail, the resulting message
  165. will be like a log-on attempt to the first system, resulting in a chain-
  166. reaction which has been known to seriously degrade system performance.
  167. ""
  168. SHOW
  169. ""
  170. <
  171.   
  172. SHOW
  173. SET <param> <value>
  174.  
  175. SET and SHOW allow you to set or see system-dependent characteristics.
  176.   
  177. SHOW causes KERMIT-RTE to display the values of the SET parameters, and
  178. various other information.
  179.   
  180. SET commands require one of the following <parameter-names>:
  181.   BInary   BQuote   Check    DEBug    DELay    Escape   Ibm      Line
  182.   PACket   PARity   PRompt   Quote    REPeat   RETry    RMask    Sync
  183.   Warning
  184. NOTE: The minimum allowable abbreviation is shown in UPPER-CASE.
  185.  
  186. SET commands also require a value which is dependent on which parameters
  187. is being set.  If a parameter requires a numeric value, you may enter it
  188. in decimal, octal (post-fixed with a 'B'), hexadecimal (post-fixed with
  189. an 'H'), or as a single literal character (post-fixed with a '"').
  190.   
  191. For more information on the settable parameters and the type of allowable
  192. values they require, do "help set <parameter-name>" from the above list;
  193. to get help on set debug, for example, you would type "help set debug".
  194. ""
  195. BINARY
  196.   
  197. SET BINARY ON or OFF
  198.   
  199. As of version 1.97, KERMIT-RTE can transfer non-ASCII files to compatible
  200. KERMITs if you SET BINARY ON.
  201.   
  202. "Normal" (non-binary) transfers convert the logical END-OF-RECORD in a file
  203. to a <CR> <LF> sequence which all KERMITs know how to use.  If this sequence
  204. appears as part of the normal data in a file, the destination KERMIT will
  205. start a new record at that point and drop both characters.  Once you have
  206. SET BINARY ON, KERMIT-RTE will transfer all data as it appears in the file
  207. and ignore the "special" significance of CR/LF within the file.  Further,
  208. the file's record-structure is ignored; the file operates as if it's records
  209. are all 256 bytes long.  For this reason you should GET or RECEIVE (or SET
  210. RMASK) using a FULL FILE DESCRIPTION, including the type, size, and record-
  211. length.  Otherwise the file will default to type-4, 24 blocks, record-length
  212. of 0.
  213.   
  214. NOTE: if the communications line requires parity other than NONE, and if you
  215. have disabled binary-quoting (see SET BQUOTE), transfers of binary files
  216. will not be allowed.
  217. ""
  218. BQUOTE
  219.   
  220. SET BQUOTE <value>
  221.   
  222. If you need to send non-text data to another KERMIT using a communications
  223. line with parity other than NONE, KERMIT-RTE can do "8th-bit prefixing" if
  224. the other KERMIT agrees to do it also.  What this means is that if KERMIT is
  225. about to send a character which has it's 8th bit set, KERMIT will send a
  226. special character (the "BQUOTE") before it (which tells the other KERMIT to
  227. set the 8th bit on the next character it receives).  The setting of the 8th
  228. bit would otherwise be lost due to the parity setting.
  229.   
  230. With this command you may set the BQUOTE to something other than the usual
  231. "&" (46 octal).  The value you enter is the character-code of the character
  232. you would like to use (which must match what the other KERMIT expects); it
  233. must be in the range of 33-62 or 96-126 (all numbers decimal) and it must be
  234. different than the QUOTE (for control codes) and the REPEAT (use for repeat-
  235. count processing).  You may enter this number in decimal, octal (nnnB),
  236. hexadecimal (nnH), or as the literal character followed by a quote (").
  237.   
  238. You should not have to change this for most KERMITs.  Setting the BQUOTE to
  239. 32 decimal (ASCII blank) turns 8th-bit prefixing off; this interacts with
  240. the communications-line parity and may prevent binary-file transfers.
  241. ""
  242. CHECK
  243.   
  244. SET CHECK <checksum type>
  245.   
  246. This command allows you to request alternate checksum bytes within packets:
  247.       "SET CHECK 1" builds 1-byte (arithmetic) checksums <default>
  248.       "SET CHECK 2" builds 2-byte (arithmetic) checksums
  249.       "SET CHECK 3" builds 3-byte (CCITT-CRC) checksums
  250.   
  251. By setting CHECK to 2 or 3, KERMIT's error-detecting capability increases,
  252. but only if the other KERMIT can also do it!  If it can't do 2- or 3-byte
  253. checksums, don't worry, because all KERMITs already know to do the 1-byte
  254. checksum.
  255. ""
  256. DEBUG
  257.   
  258. SET DEBUG <keyword>
  259.   
  260. In the event that you experience some problem with KERMIT-RTE's operations,
  261. you may arrange for KERMIT-RTE to perform some self-diagnosis.  Before you
  262. can debug any of KERMIT-RTE's operations, you must first setup it's debug
  263. logging file via "SET DEBUG FILE <file-name>", which will create the given
  264. file if it doesn't already exist.  NOTE - if the debug logging file already
  265. exists, it will be overlaid!  You may then "SET DEBUG <type>" as shown in
  266. the following to obtain:
  267.    STATES - shows packet numbers/types and internal state as
  268.             A Abort transmission  B Break transmission  C Transfer complete
  269.             D Data                E Error               F File header
  270.             R Receive initiate    S Send initiate       T Timeout
  271.             Z End of file 
  272.    PACKETS - shows the actual data in incoming and outgoing KERMIT packets. 
  273.              You will need to consult the KERMIT protocol manual in order 
  274.              to get a description of these
  275.    ALL     - a combination of STATES and PACKETS
  276.    OFF     - turns off debugging
  277. ""
  278. DELAY 
  279.   
  280. SET DELAY <value>
  281.   
  282. This sets the time in seconds which the KERMIT-RTE will delay before it
  283. sends the first packet of a file.  It starts out at 15 seconds and you may
  284. change to anything from 1 to 30 seconds, to give yourself time to escape
  285. back to the local KERMIT to give a RECEIVE command.  This command will not
  286. be allowed if this KERMIT is the local one.
  287.   
  288.       SET DELAY 25   sets the send-delay to 25 seconds.
  289. ""
  290. PROMPT
  291.   
  292. SET PROMPT [<up to 20 non-blank characters>]
  293.   
  294. When you are trying to work with a copy of KERMIT-RTE at both ends of a link,
  295. you may have some difficulty in determining whether a command-line prompt is
  296. for the "local" KERMIT or for a "remote" KERMIT.  To resolve this problem,
  297. you may change the command-line prompt that KERMIT-RTE uses to any sequence
  298. of up to 20 non-blank characters (a blank terminates the prompt-string);
  299. KERMIT-RTE will shift the string to all upper-case.  If no prompt-string is
  300. given, the original command-prompt will be restored.
  301. ""
  302. IBM
  303.   
  304. SET IBM ON or OFF
  305.   
  306. You may "SET IBM ON" or "SET IBM OFF" only if the local KERMIT is talking
  307. to a remote KERMIT requiring IBM mode (half-duplex).  If IBM mode is ON,
  308. KERMIT will wait until it has received a DC1 (XON, or ^Q) character before
  309. it transmits anything.  Further, IBM ON causes KERMIT-RTE to locally echo
  310. keystrokes during CONNECT mode.
  311. ""
  312. LINE
  313.   
  314. SET LINE <lu>
  315.   
  316. This tells KERMIT-RTE which logical unit number (<lu>) is to be used for
  317. communications to a remote computer.  The LU# must be legal for your session,
  318. and should be a 12792B/C or 12040B/C/D multiplexer port hooked to the desired
  319. remote computer or modem.
  320.   
  321. KERMIT-RTE starts up in "remote-host" mode, which means it expects that
  322. you are running from a PC and will transfer files on "LU 1".  By setting
  323. the line to some other LU, you are putting KERMIT-RTE into "local-host"
  324. mode.  Some commands work in one mode and not the other, or they operate
  325. differently depending on the KERMIT's mode.  You can switch from local-
  326. host mode back to remote-host mode by SETting LINE to your terminal LU.
  327. ""
  328. PACKET
  329.   
  330. SET PACKET <size>
  331.  
  332. This is used to change the packet size from it's default 94 bytes to any
  333. size from 31 to 94 bytes.  If the connection is very good, you may get
  334. slightly better thruput with a packet size of 94 bytes.  For noisy lines,
  335. you may be able to avoid (costly) retries by reducing the packet size
  336. ""
  337. PARITY
  338.   
  339. SET PARITY NONE/ODD/EVEN/MARK/SPACE
  340.   
  341. As of version 1.97, you may set the parity of KERMIT's remote line.  When
  342. the system boots up, a port's parity is set by the system manager to suit
  343. the needs of most users.  If you need to communicate with a remote system
  344. which uses some other parity, you may change it (before you CONNECT) to be
  345. compatible with the other system.  KERMIT will restore the original parity
  346. when you SET LINE to some other LU or exit out of KERMIT.
  347.   
  348. WARNING -- use this command with extreme caution!  If the parity you set is
  349. different from what the other system actually does use, you may still be
  350. able to talk through CONNECT, but file-transfers will be impossible, and it
  351. will be difficult to determine why!
  352.   
  353. NOTE -- KERMIT-RTE supports "binary quoting" for the transfer of some non-
  354. printable data over lines where parity is not NONE (do H BQuote for info).
  355. ""
  356. WARNING
  357.  
  358. SET WARNING OFF or ON
  359.   
  360. You may "SET WARNING OFF" to allow received file(s) to overlay existing
  361. file(s) with the same name.
  362.   
  363. You may "SET WARNING ON" to restore KERMIT-RTE's starting condition, in
  364. which a file-reception which would overlay an existing file will be aborted
  365. and you will get an error message telling you about it.
  366. ""
  367. RETRY
  368.   
  369. SET RETRY <number of retries/packet> [Initial]
  370.   
  371. If KERMIT encounters an error in receiving or sending a packet to the other
  372. computer, it will retry sending that packet.  It will keep on retrying the
  373. packet transfer operation until the retry-limit is reached.  The retry-
  374. counter is reset each time a packet is successfully transferred so that an
  375. intermittently noisy line can be tolerated.
  376.   
  377. KERMIT-RTE starts with a retry-limit of 5; with this command you may change
  378. it to any value from 5 to 30.  If you can't transfer a packet trying 30
  379. times, you probably never will.
  380.   
  381. If you include the (I)nitial qualifier (only the first character is used),
  382. you will adjust the retry-limit used on initiation of a connection.  The
  383. default setting for the initial retry-limit is 15; you may increase it to
  384. 30, as above.
  385. ""
  386. RMASK
  387.   
  388. SET RMASK <file-mask>
  389.   
  390. Since server-receives won't allow you to specify any receive-mask info,
  391. this command, given before the server command, will do it for you.  The
  392. file mask may specifications for directory, subdirectory, type-extension,
  393. file-type, file-size, security-code, record-length, and so on, but wild-
  394. card characters may not be used.  NO CHECKING IS PERFORMED as to the
  395. validity of the file-mask when it is entered, only when it is used.  If the
  396. file-mask parameter is not given, a previously-defined file-mask (if any)
  397. will be cleared; otherwise, any subsequent server-receives will function
  398. exactly like a RECEIVE command with the same file-mask.  Do "HELP RECEIVE"
  399. for more information.
  400. ""
  401. QUOTE
  402.   
  403. SET QUOTE <value>
  404.   
  405. The quote character is the character that the local KERMIT sends to prefix
  406. control-characters which may occur in the files to be transferred.  The
  407. normal quote character is "#" (43 octal), and there should be no reason to
  408. change this.  If the remote KERMIT requires some other quote character,
  409. enter it's NUMERIC VALUE (character-code) as "SET QUOTE <value>", entering
  410. the value in decimal, octal (nnnB), hexadecimal (nnH), or as a literal
  411. character followed by a quote character (").  The character-code for this
  412. alternate quote character must be in the range of 33 to 126 (decimal), and
  413. it must not conflict with the BQUOTE character (for 8th-bit flagging) or the
  414. REPEAT character (for repeat-count processing).
  415. ""
  416. REPEAT
  417.   
  418. SET REPEAT <value>
  419.   
  420. The repeat character is the character that the local KERMIT sends to prefix
  421. a repeat-count character.  If both KERMITs agree to do it (with the same
  422. character), data can be compressed if 4 or more identical characters need
  423. to be sent consecutively.
  424.   
  425. This command allows you to set KERMIT-RTE's repeat character to match the
  426. one that the other KERMIT is using.  The usual repeat-character is a "~"
  427. (tilde, decimal 126, or octal 176), and most KERMITs which know how to do
  428. this will use it.  If the KERMIT you want to talk with uses some other
  429. character to prefix repeat-counts, you may enter it's character code here
  430. in decimal, octal (nnnB), hexadecimal (nnH), or as a literal character if
  431. entered followed by a quote character (").  It must not be the same as
  432. either the QUOTE character (for control-codes) or the BQUOTE character (for
  433. 8th-bit processing).  The value you enter must be in the range of 33-62 or
  434. 96-126.
  435. ""
  436. SYNC
  437.   
  438. SET SYNC <value>
  439.   
  440. The sync character is the character the local KERMIT expects to receive as
  441. the first character of any from the other KERMIT.  Control-A is the default
  442. sync for most KERMITs and there should be no reason to change it.  If the
  443. other KERMIT uses some other SOH, you must "SET SOH <value>", where <value>
  444. is the character-code (a number) of the SOH character to be used; it must be
  445. from 1 to 31 and must not conflict with the EOL or IBM-prompt characters.
  446.   
  447. The character-code may be entered in decimal, octal (nnnB), hexadecimal (nnH),
  448. or as a literal followed by a quote character (").
  449. ""
  450. ESCAPE
  451.   
  452. SET ESCAPE <value>
  453.   
  454. The escape character is the character that you enter to "escape" back to the
  455. local KERMIT after CONNECTing to another machine.  The normal escape for
  456. KERMIT-RTE is control-] (35 octal) and probably doesn't need to be changed.
  457. If this character is commonly used by the other machine for some reason, you
  458. may change by "SET ESCAPE <value>", where <value> is the character-code (a
  459. number) of the escape character to be used, which must range from 1 to 31
  460. (decimal).  The actual value may be entered in decimal, octal (nnnB), hexa-
  461. decimal (nnH), or as a literal followed by a quote character (").
  462.  
  463. The escape character is always a control-code of some kind.  It tells the
  464. KERMIT terminal emulator to look for the next character as a KERMIT command
  465. (rather than sending it to the remote computer).  If the default escape
  466. character (control-], abbreviated as ^]) is in effect, then
  467.   
  468.     ^]^] will actually send one ^] to the remote computer
  469.     ^]C  will "Close" the CONNECTion (return to local)
  470.     ^]Q  will Quit debug logging, if active
  471.     ^]R  will Resume debug logging, if previously active
  472.  
  473. Note that there are no spaces between the escape and the command character.
  474.