home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / honeywellcp6a / hc6kerdoc.txt < prev   
Text File  |  2020-01-01  |  40KB  |  823 lines

  1. 13.0  CP-6 Kermit
  2.  
  3. Program:  Lee Hallin (Honeywell Bull, Los Angeles Development Center) with
  4.           testing and suggestions from J. T. Anderson (Honeywell Bull, Los
  5.           Angeles Developement Center), and Mike Iglesias and others
  6.           (University California at Irvine).
  7.  
  8.           Many thanks to John Stewart of Carleton University, Tom
  9.           Erskine of CRC, Mike Iglesias of UC Irvine and Mike Schmidt
  10.           of Honeywell Bull, Canada, for their help and supplied code
  11.           for version 1.00.
  12. Language: PL-6
  13. Version:  1.00
  14. Date:     January, 1988
  15.  
  16. Please send any questions, bugs and/or suggestions to any of the following:
  17.  
  18. U.S. Mail:
  19.   Honeywell Bull
  20.   5250 West Century Blvd
  21.   Los Angeles, CA  90045
  22.   Attn: Lee Hallin
  23.  
  24. CP-6 Mail on the LADC support machine (aka L66A):
  25.   Lee Hallin
  26.  
  27. ARPANET Address:
  28.   Lee-Hallin%LADC@BCO-MULTICS.ARPA
  29.  
  30.  
  31. 13.1  Introduction
  32.  
  33. This version of Kermit is written in PL-6; a PL/1-like implementation language
  34. available on the Honeywell CP-6 operating system.  This Kermit contains all of
  35. the "basic" Kermit features and several optional/advanced features.  Some of
  36. the optional features are suggested in the Kermit User's Guide and/or Kermit
  37. Protocol Manual, while others where implemented to provide added flexibility
  38. on CP-6.  The following table briefly summarizes the capabilities of this
  39. version of Kermit.
  40.  
  41. Features this Kermit has or can do:
  42.   Transfers text files
  43.   Transfers binary files
  44.   Sends file groups (wildcarding)
  45.   File overwrite protection
  46.   Timeouts
  47.   8th-bit prefixing
  48.   Repeat count prefixing
  49.   Transaction logging
  50.   Debugging facility
  51.   Acts as a server
  52.   Talks to a server (limited)
  53.   Automatically reads default commands from a file
  54.   Reads commands from a file
  55.   Help for each of the commands
  56.   Graceful handling of interrupted group transfers
  57.  
  58. Features not included in this version:
  59.   Advanced server commands
  60.   Extended block checks (2 and 3 byte checks)
  61.   Handling file attributes
  62.  
  63. 13.2  Invocation syntax
  64.  
  65. The invocation syntax for CP-6 KERMIT is as follows:
  66.   !KERMIT [cmd-file] [,default-file] [{ON|TO|OVER|INTO} ,dest] [( options [)]]
  67.  
  68. The invocation parameters have the following meaning:
  69.  
  70.   cmd-file -
  71.     is a CP-6 file containing KERMIT commands.  See Section 13.4 below for a
  72.     list of legal KERMIT commands.
  73.   default-file -
  74.     is a file containing KERMIT commands that will be read automatically
  75.     before most other commands are executed.  This file is read through the
  76.     F$DEFAULTS DCB and if the file name is not specified, it defaults to
  77.     :KERMIT_INI.
  78.   dest -
  79.     is where KERMIT will output messages that would go to the screen by
  80.     default.  These messages are written through the M$LO DCB.
  81.   options -
  82.     one or more of the options/commands, separated by semicolons, listed in
  83.     this help file.  Note that if any commands (other than DONT GREET, DONT
  84.     PROMPT, NO DEFAULTS and SILENT MODE) are specified on the invocation line,
  85.     when the last such command is completed, KERMIT will exit rather than
  86.     prompt for more commands.
  87.  
  88.  
  89. 13.3  Commands only legal on invocation line
  90.  
  91. The following commands are intended for use on the CP-6 KERMIT invocation
  92. line.  Although most of them may be issued after you are already in CP-6
  93. KERMIT, there is little reason to do so because by then it's too late for them
  94. to be effective (e.g., specifying NO GREETING after you are already in KERMIT
  95. makes little sense and will have no effect).
  96.  
  97. { D[ONT] | N[O] } G[REETING]
  98.         Causes the greeting (KERMIT 1.00 Here (01/25/87)) to be suppressed.
  99.  
  100. { D[ONT] | N[O] } P[ROMPT]
  101.         Causes the prompt string to be suppressed.
  102.  
  103. N[O] D[EFAULTS]
  104.         By default, when KERMIT is invoked it looks for a file called
  105.         :KERMIT_INI in the current directory.  If it is NOT found, then the
  106.         logon account is searched (if it is not the current account).  If the
  107.         file is found in either account, it is read and any KERMIT commands in
  108.         it are executed.  This NO DEFAULTS option suppresses this behavior if
  109.         it is specified on the command line.  Furthermore, if it is the only
  110.         option on the command line, KERMIT will prompt the user for additional
  111.         commands.  Otherwise, all the commands/options on the command line are
  112.         executed and then KERMIT exits.
  113.  
  114. SILE[NT] [M[ODE]]
  115.         Causes KERMIT to NOT write anything through the M$LO DCB (DCB4).  This
  116.         may not be completely successful in some situations.
  117.  
  118. 13.4  Normal CP-6 KERMIT Commands
  119.  
  120. !command
  121.         Any command which may be entered from IBEX may be entered while in
  122.         KERMIT by preceding the IBEX command with a !  (the IBEX prompt
  123.         character).  For all of these commands, with the exception of !XEQ,
  124.         the user is returned to KERMIT after the command is executed.
  125.  
  126.         Note: This feature will NOT work on pre-C00 versions of CP-6.
  127.  
  128. ?
  129.         Requests that the next level of HELP be displayed.  This should only
  130.         be issued after a HELP or ? command.  See the HELP command below for
  131.         more information.
  132.  
  133. ??
  134.         Requests all remaining HELP on the most recently specified topic.
  135.         This should only be issued after a HELP or ? command.  See the HELP
  136.         command below for more information.
  137.  
  138. BYE
  139.         Tells "the other" KERMIT (which should be running in SERVER mode) to
  140.         exit and terminate the session.
  141.  
  142. CG = comgroup_name
  143.         Specifies the name of the ComGroup to be used for file transfers.
  144.         This option is only meaningful when specified in conjunction with the
  145.         STATION option.  If either the CG or STATION options are specified
  146.         without the other option then the option that was specified will
  147.         be IGNORED.
  148.  
  149. C[OPY] sourcelist [{ON|TO|OVER|INTO} destination] [FROM fid]
  150.         Causes CP-6 KERMIT to M$LINK to PCL, passing the entire COPY command
  151.         to PCL.  Since PCL, not KERMIT, is really doing the COPY, the command
  152.         specified may have any of the options that the PCL COPY command
  153.         accepts.
  154.  
  155. DATE
  156.         Displays the current date and time in the format:
  157.          mmm dd 'yy hh:mm    (month) (day) (year) (hour) (minute)
  158.  
  159. DEB[UG] [[{ON|TO|OVER|INTO}] debug-file] [( option, [,option...] )]
  160.         Specifies what information will be written to the debug file.
  161.  
  162.         The debug parameters have the following meaning:
  163.  
  164.         debug-file
  165.             is a CP-6 file where the requested (via options) debug information
  166.             will be written.  If 'debug-file' is not specified on a command,
  167.             any previously specified 'debug-file' name will be used.  If this
  168.             is the first DEBUG command issued, the file name '*DEBUG' will be
  169.             used by default.
  170.         option
  171.             is one of the following:
  172.  
  173.         A[LL] -
  174.             writes ALL available debug information
  175.         C[OMMAND] -
  176.             writes a copy of the command issued by the user.  This is handy
  177.             when you are DEBUGging INTO the same file (as might be done when
  178.             the DEBUG command is in the :KERMIT_INI file) and you want/need to
  179.             know at what point in the DEBUG file each CP-6 KERMIT session
  180.             began.
  181.  
  182.         E[RROR] -
  183.             writes unexpected monitor errors
  184.         I[NFORMATION] -
  185.             writes "miscellaneous" information.  Currently, this just means
  186.             include a copy of the CP-6 KERMIT invocation line (B$JIT.CCBUF) in
  187.             the debug file.
  188.         M[ICRO] -
  189.             writes a debug record for each packet sent and received, timeout
  190.             value change and unexpected monitor errors.  This is a shorthand
  191.             method of specifying the ERROR, RECEIVE, SEND and TIMEOUT options.
  192.         OF[F] -
  193.             Causes CP-6 KERMIT to CLOSE the debug file and cease writing debug
  194.             information to it.  A subsequent DEBUG command without a
  195.             'debug-file' specified will cause the previous debug file to be
  196.             extended.
  197.         ON -
  198.             Causes CP-6 KERMIT to start/continue writing debug information to
  199.             the debug file.
  200.         REA[D] -
  201.             writes a debug record for each record READ from a CP-6 file being
  202.             transferred to "the other" computer.
  203.         REC[EIVE] -
  204.             writes a debug record for each packet received from "the other"
  205.             computer.
  206.         S[END] -
  207.             writes a debug record containing packets that CP-6 KERMIT sends to
  208.             "the other" computer.
  209.         T[IMEOUT] -
  210.             writes a debug record indicating that either a read timeout value
  211.             was changed or that a timeout occurred; the text of the record
  212.             indicates which occurred.
  213.         W[RITE] -
  214.             writes records as they were written to a CP-6 file; as a result of
  215.             a RECEIVE command on CP-6 or a SEND command on "the other"
  216.             computer when CP-6 KERMIT was running as a SERVER.
  217.  
  218.         The default is to NOT DEBUG.  However, if a DEBUG command is specified
  219.         with no parameters, the default is DEBUG INTO *DEBUG(MICRO).
  220.  
  221.         Each record written to the debug file is preceded by a 15 byte header.
  222.         The first four bytes indicate what type of record it is and have the
  223.         following meanings:
  224.  
  225.         'Cmnd' - the record contains a KERMIT command as issued by the user.
  226.         'Info' - the record contains miscellaneous information.  With this
  227.                  version of CP-6 KERMIT, the record will contain a copy of the
  228.                  KERMIT invocation line.
  229.         'Read' - the record was one READ from a CP-6 file and was eventually
  230.                  SENT (hopefully) to the "other" computer.
  231.         'Rcvd' - the record was RECEIVEd from the "other" computer.
  232.         'Sent' - the record was SENT to the "other" computer.
  233.         'Timo' - either a read timed out or a timeout value was changed.  The
  234.                  remaining portion of the record (past the header) contains a
  235.                  message indicating what happened.
  236.         'Writ' - the record was written as a logical record to the file that
  237.                  was RECEIVEd from the "other" computer.
  238.  
  239.         The remaining 11 bytes of header is a time stamp which is provided to
  240.         aid the user in finding "timing holes" which may exist between the
  241.         personal computer and CP-6 versions of KERMIT.
  242.  
  243.  
  244. [LOCAL] DEL[ETE] sourcelist [FROM fid]
  245.         Causes CP-6 KERMIT to M$LINK to PCL, passing the entire DELETE command
  246.         (minus the LOCAL if it was specified) to PCL.  Since PCL, not CP-6
  247.         KERMIT, is really doing the DELETE, the command specified may have any
  248.         of the options that the PCL DELETE command accepts.
  249.  
  250. { DIRECTORY | DIR } [[DP#packset].account | R[ESET]]
  251.         Changes the default account and optionally, the default packset.  The
  252.         default account and packset are the account and associated packset
  253.         that are selected if an account is not supplied as part of a disk fid.
  254.         Initially, the default account is the logon or running account and the
  255.         packset name is nil.  When used without parameters, the DIRECTORY
  256.         command displays the current directory.
  257.  
  258. DO command-to-be-passed-to-IBEX
  259.         Any command which may be entered from IBEX may be entered while in
  260.         CP-6 KERMIT by preceding the IBEX command with 'DO '.  For all of
  261.         these commands, with the exception of DO XEQ, the user is returned to
  262.         CP-6 KERMIT after the command is executed.
  263.  
  264.         Note: This feature will NOT work on pre-C00 versions of CP-6.
  265.  
  266. { E[ND] | EX[IT] | X[IT] | Q[UIT] }
  267.         Exits CP-6 KERMIT after closing and saving any currently OPEN files.
  268.  
  269. ERASE [ALL | ldevlist]
  270.         ERASE deletes the accumulated output for ALL or for the specified
  271.         logical devices defined for the session or job.  If no parameters are
  272.         specified, ALL is assumed.
  273.  
  274. FIN[ISH]
  275.         Tells the "other" KERMIT (which is assumed to be running in SERVER
  276.         mode) to exit.  Unlike the BYE command, the "other" session remains
  277.         active.
  278.  
  279. H/ELP [(processor)][ TOPICS ][ keyword1 ][ - ][ keyword2]
  280.  
  281.         HELP prints information.
  282.  
  283.         HELP messages have levels.  Once the initial level has been printed,
  284.         typing a question mark prints the next level, usually containing
  285.         greater detail.  Typing two question marks prints the entire message.
  286.  
  287.         Any processor with a standard HELP file can be read from KERMIT.
  288.  
  289.         The HELP can be issued at the double-bang (!!) without losing the
  290.         suspended activity.  Thus, one may exit a processor (such as FORTRAN)
  291.         with a <CNTL><Y>, query for HELP information, and then issue GO to
  292.         return to FORTRAN.
  293.  
  294.         Parameters have the following meanings:
  295.  
  296.         processor -
  297.             specifies a program or processor that has an associated HELP file.
  298.             The default is the processor currently under control (in this
  299.             case, KERMIT).
  300.  
  301.         TOPICS -
  302.             specifies that only a list of available topics (message names) is
  303.             required.  The range of topics is determined by keyword1 or
  304.             keyword2.
  305.  
  306.         keyword1  -
  307.             specifies the name of the message to be printed.
  308.  
  309.         keyword2  -
  310.             if a range is specified (by including a dash " - " or greater than
  311.             ">"), keyword2 is the upper limit of the range.  If a range is not
  312.             specified, keyword2 is a submessage, or category within a message.
  313.  
  314. L[IST] [(listopt)] [sourcelist [{ON|TO|OVER|INTO} destination]] [FROM fid]
  315.         Causes KERMIT to M$LINK to PCL, passing your entire LIST command to
  316.         PCL.  Since PCL is really doing the LIST, the command specified may
  317.         have any of the options that the PCL LIST command accepts.
  318.  
  319. LOC[AL] { CWD [[.] account] | DIR[ECTORY] [listopt] }
  320.         The LOCAL commands are miscellaneous commands to be performed on the
  321.         local machine; in this case CP-6.  The LOCAL CWD (Change Working
  322.         Directory) performs the same function as the CP-6 DIRECTORY command.
  323.         The LOCAL DIRECTORY command performs the same function as the CP-6 PCL
  324.         LIST command.
  325.  
  326. LOG [T[RANSACTIONS]] [{ON|TO|OVER|INTO}] fid
  327.         LOGs information about the files transferred into the specified file.
  328.         This is especially useful when CP-6 KERMIT is running as a SERVER.  In
  329.         SERVER mode it is difficult (at best) to get "informational" messages
  330.         displayed to the user because the "other" computer is in transfer mode
  331.         all the time.
  332.  
  333.         LOG information is written to the indicated EDIT KEYED file with the
  334.         fractional portion of the EDIT key being the same for like types.  The
  335.         following is a summary of the various types currently generated:
  336.  
  337.         xxxxx.000 - Date, time and users logon account and name
  338.         xxxxx.100 - A message indicating the direction (SEND or RECEIVE) of
  339.                     the transfer, file name, number of records and the mode
  340.                     (TEXT or BINARY).  This record is actually written twice;
  341.                     once when the transfer starts (the text indicates this)
  342.                     and again when the transfer completes.  This is the reason
  343.                     why this file is KEYED and makes it possible to tell if a
  344.                     started transfer actually finished normally.
  345.         xxxxx.200 - Packet sizes used (by each side) for the transfer
  346.         xxxxx.300 - Number of Data packets used and how many bytes were
  347.                     transferred
  348.         xxxxx.600 - Elapsed time of the transfer
  349.         xxxxx.700 - Error message from any error that may have prematurely
  350.                     stopped the transfer
  351.  
  352. OUT[PUT] [{ON|TO|OVER|INTO}] destination
  353.         Directs KERMIT's primary output to the specified destination.
  354.  
  355.         The default is OUTPUT ON ME.
  356.  
  357. PRINT [ALL | ldevlist]
  358.         Causes accumulated output for the specified logical device to be
  359.         released to the symbiont.  If no parameters are specified, ALL is
  360.         assumed.
  361.  
  362. PROM[PT] 'prompt-string'
  363.         Specifies the prompt string that KERMIT will subsequently prompt with.
  364.  
  365.         The default is PROMPT 'CP-6 Kermit> '.
  366.  
  367. { READ | TAKE } fid
  368.         Causes subsequent KERMIT commands to be read from 'fid'.  When the end
  369.         of 'fid' is reached, input reverts back to the source in use prior to
  370.         the READ command.  READ commands may NOT be nested; that is, a file
  371.         being READ cannot contain a READ command.
  372.  
  373. REC[EIVE] [{ destfid | otherfid {ON|TO|OVER|INTO} destfid }]
  374.         Instructs KERMIT to RECEIVE file(s).  If no parameters are specified,
  375.         the file name is taken from the file packet sent to CP-6 from "the
  376.         other" computer.  If destfid is specified, it overrides the name sent
  377.         in the file packet.  If otherfid is specified, it is ignored!
  378.  
  379. SEN[D] sourcefid [[AS] destfid]
  380.         Causes KERMIT to SEND sourcefid to "the other" computer.  If destfid
  381.         is specified and sourcefid is NOT wildcarded, destfid will be sent as
  382.         the file name in the file packet to "the other" computer.  'sourcefid'
  383.         may be wildcarded using the question mark (?) as the wildcard
  384.         character.
  385.  
  386. SER[VER]
  387.         Puts CP-6 KERMIT into file SERVER mode.  In this mode, CP-6 KERMIT
  388.         accepts its commands through packets from "the other" computer.  Once
  389.         this command is issued on CP-6, it can be stopped in any one of three
  390.         ways:
  391.  
  392.           1) If "the other" computer goes back to emulator mode on CP-6 and a
  393.              carriage return(s) are entered, CP-6 KERMIT will again prompt the
  394.              user for commands.
  395.           2) Issue the FINISH command on "the other" computer.  This will
  396.              cause CP-6 KERMIT to exit to IBEX.
  397.           3) Issue the BYE command on "the other" computer which causes CP-6
  398.              KERMIT to be exited and an !OFF command to be issued thus
  399.              terminating the CP-6 session.
  400.  
  401. SET B[LOCK] [-] [C[HECK]] [=] { 1 | 2 | 3 } [CHARACTER] [CHECKSUM]
  402.         Note:  Only 1 is supported at the present time.
  403.  
  404.         KERMIT checks the validity of data in each packet via a block check.
  405.         The sender of the packet computes the block check based on the other
  406.         characters in the packet and the receiver recomputes it the same way.
  407.         If these quantities agree, the packet is accepted and the transmission
  408.         proceeds.  If they disagree, the packet is rejected and transmitted
  409.         again.
  410.  
  411.         There are three different block checks (sometimes know as checksums)
  412.         that are supported in the KERMIT protocol.  The first one ("1" in the
  413.         option list above) is the simplest block check and is required to be
  414.         supported in all versions of KERMIT.  At the present time, this is the
  415.         ONLY one supported by CP-6 KERMIT.  This block check is only a 6-bit
  416.         quantity (the low order 8 bits of the arithmetic sum folded upon
  417.         itself).  With only six bits of accuracy, the chances are one in 64
  418.         that an error can occur which will not be detected in the checksum,
  419.         assuming that all errors are equally likely.
  420.  
  421.         The second block check ("2" in the option list above) is much like the
  422.         first except that it is a 12-bit checksum instead of 6-bit.  This
  423.         reduces the chance of an undetected error to be one in 4096 but also
  424.         takes another byte in the packet that otherwise could have been used
  425.         for data.
  426.  
  427.         The third and last block check ("3" in the option list above) is a
  428.         3-character, 16-bit Cyclic Redundancy Check, CCITT format.  In
  429.         addition to errors in any odd number of bits, this method detects
  430.         double bit errors, all error bursts of length 16 or less and more than
  431.         99.99% of all possible longer bursts.  This method also uses two more
  432.         bytes in the packet that could have otherwise been used for data.
  433.  
  434. SET D[ELAY] [=] value
  435.         "value" specifies the number of seconds to wait before sending the
  436.         first packet to "the other" computer after a SEND command is issued to
  437.         CP-6 KERMIT.  The reason for this is to give you enough time to
  438.         "escape" back to "the other" computer and issue a RECEIVE command.
  439.         This "delay" does NOT occur when CP-6 KERMIT is in SERVER mode.
  440.  
  441.         The default is SET DELAY = 10.
  442.  
  443. SET F[ILE] parameter
  444.  
  445.         B[INARY] EX[TENSIONS] [=] 'suffix' [,'suffix'...]
  446.                 This option, when used in conjunction with SET FILE
  447.                 MODE=AUTOMATIC and SET FILE PC EXTENSION=YES, allows the user
  448.                 to specify a list of (possibly wildcarded) binary file
  449.                 extensions (i.e., suffixes).  If the name of a file being
  450.                 transferred matches any of the extensions specified in this
  451.                 option, the file will be transferred in BINARY mode.
  452.                 Otherwise, the transfer will be done in TEXT mode.  Each of
  453.                 the extensions you specify is implicitly preceded with a '?'.
  454.  
  455.                 The default is SET FILE BINARY EXTENSIONS = '-ARC', '_ARC',
  456.                 '-COM', '_COM', '-EXE', '_EXE', '-LIB', '_LIB'.
  457.  
  458.         C[P] [-] [6] [F[IDS]] [P[ERMITTED]] [=] { Y[ES] | N[O] }
  459.                 If YES is specified, CP-6 KERMIT will expect the file names
  460.                 passed, in type 'F' packets, to be legal CP-6 fids.  This
  461.                 being the case, any periods in names will be treated as CP-6
  462.                 file name, account and/or password delimiters as opposed to PC
  463.                 name and extension separators.  If NO is specified, then CP-6
  464.                 KERMIT looks for illegal fid characters in the passed file
  465.                 names.  If any are found, they are replaced with the SET FILE
  466.                 REPLACEMENT character, which is an underscore (_) by default.
  467.  
  468.                 The default is SET FILE CP6 FIDS PERMITTED = NO.
  469.  
  470.         E[DIT] [K[EY]] [=] { Y[ES] | N[O] }
  471.                 If YES is specified, then RECEIVEd file will be EDIT KEYED.
  472.                 Otherwise, the file will be created as a CONSECutive file.
  473.  
  474.                 The default is SET FILE EDIT KEYED = NO.
  475.  
  476.         E[ND] O[F] R[ECORD] [=] dec3 [,dec3]
  477.                 This option allows the user to specify the "end of record"
  478.                 sequence that will be sent in packets to delimit logical
  479.                 records.  The values are specified in decimal and separated
  480.                 with commas.
  481.  
  482.                 The default is SET FILE END OF RECORD = 13, 10 which is CR,
  483.                 LF.
  484.  
  485.         I[NCOMPLETE] [=] { D[ISCARD] | K[EEP] }
  486.                 If KEEP is specified, any portion of a file transfer (to CP-6)
  487.                 prior to an interruption will be kept.  If DISCARD is
  488.                 specified, only successfully transferred files will be
  489.                 retained.
  490.  
  491.                 The default is SET FILE INCOMPLETE = DISCARD.
  492.  
  493.         M[ODE] [=] { A[UTOMATIC] | B[INARY] | T[EXT] }
  494.                 This option controls the file transfer mode.
  495.  
  496.                 If BINARY is specified, all records being read or written
  497.                 from/to a CP-6 file should be 128 bytes.  All bytes are
  498.                 transmitted such that they will end up on "the other" machine
  499.                 as they were on the source machine (e.g., TAB characters will
  500.                 end up as TAB characters rather than an appropriate number of
  501.                 blanks).
  502.  
  503.                 If TEXT is specified, each record being sent from a CP-6 file
  504.                 will have the END OF RECORD (see SET FILE END OF RECORD)
  505.                 character(s) appended to it in the packet.  Similarly, packets
  506.                 being received will have the END OF RECORD character(s)
  507.                 removed from each record before the record is written to the
  508.                 CP-6 file.
  509.  
  510.                 If AUTOMATIC is specified, a RECEIVE transfer will be done in
  511.                 BINARY mode if:
  512.                   1) the SET FILE PC EXTENSIONS = YES and
  513.                   2) if the name of the file being transferred matches one of
  514.                      those extensions in the extension list (see SET FILE
  515.                      BINARY EXTENSIONS).
  516.                 If AUTOMATIC is specified and a SEND is being done, the
  517.                 transfer will be done in BINARY if:
  518.                   1) the CP-6 files 'TY' field equals 'BI' (as in BInary) or
  519.                   2) if SET FILE PC EXTENSIONS = YES and the name of the file
  520.                      being transferred matches at least one of the extensions
  521.                      in the binary extension list (see SET FILE BINARY
  522.                      EXTENSIONS option).
  523.  
  524.                 The default is SET FILE MODE AUTOMATIC.
  525.  
  526.         N[AMES] [=] { A[S] [IS] | L[OWER] [C[ASE]] | U[PPER] [C[ASE]] }
  527.                 This option controls if and how file names will be changed
  528.                 prior to being used on CP-6.
  529.  
  530.                 If AS IS is specified, then the file names will be used "as
  531.                 is" on CP-6.
  532.  
  533.                 If LOWERCASE is specified, then the file name will be changed
  534.                 to all lowercase prior to being used on CP-6.
  535.  
  536.                 If UPPERCASE is specified, then the file name will be changed
  537.                 to all uppercase prior to being used on CP-6.
  538.  
  539.                 The default is SET FILE NAMES = AS IS.
  540.  
  541.         [PC] EX[TENSIONS] [=] { YES | NO }
  542.                 This option controls whether the BINARY EXTENSION list will be
  543.                 used to determine the MODE of file transfers.  See SET FILE
  544.                 MODE and SET FILE BINARY EXTENSIONS options for more
  545.                 information.
  546.  
  547.                 The default is SET FILE PC EXTENSIONS YES.
  548.  
  549.         PR[EFIX] [=] '19characters'
  550.                 This option allows a CP-6 file prefix (up to 19 characters) to
  551.                 be specified.When a file is RECEIVEd on CP-6, this prefix will
  552.                 precede the file name passed from "the other" computer.  When
  553.                 a file is SENDed from CP-6, this prefix (if present) will be
  554.                 removed from the file name sent to "the other" computer.  This
  555.                 feature was added to aid, for example, those users who are
  556.                 using CP-6 to "backup" the files on their "other" machine
  557.                 (usually a micro).
  558.  
  559.                 For instance, suppose you have a hard disk on your "other"
  560.                 computer that has multiple subdirectories.  In several of
  561.                 those subdirectories is a file called 'READ.ME'.  If you were
  562.                 to "backup" all those subdirectories into a single account on
  563.                 CP-6, you would end up with one READ.ME file.  The file would
  564.                 be either from the first (if SET FILE WARNING ON) or the last
  565.                 (if SET FILE WARNING OFF) subdirectory you "backed-up".  With
  566.                 this option, you could specify a different PREFIX (I.e., the
  567.                 subdirectory name) for each subdirectory you "backup".  This
  568.                 would result in all of the READ.ME files ending up with unique
  569.                 names on CP-6.
  570.  
  571.                 For another way to get files "restored" back to "the other"
  572.                 computer, see the SET FILE SUBDIRECTORY CHAR command.
  573.  
  574.                 The default is SET FILE PREFIX = '' which effectively disables
  575.                 this feature.
  576.  
  577.         R[EPLACEMENT] [C[HARACTER]] [=] '1character'
  578.                 If SET FILE CP-6 FIDS PERMITTED = NO is in effect, CP-6 KERMIT
  579.                 will check all specified CP-6 file names for illegal
  580.                 characters (including periods).  If any are found, they are
  581.                 replaced with the '1character' specified on this option.
  582.  
  583.                 The default is SET FILE REPLACEMENT CHARACTER = '_'.
  584.  
  585.         SUB [DIRECTORY] C[HARACTER] [=] '1character'
  586.                 This command permits the user to simulate subdirectories
  587.                 (to a limited extent) on CP-6.  This is done by choosing a
  588.                 character to represent the subdirectory separator character.
  589.                 This character and all characters preceding it will be
  590.                 removed from file names sent to the local Kermit.
  591.  
  592.                 For example, if you type:
  593.                   SET FILE SUBDIRECTORY CHARACTER = ':'
  594.                   SEND TEST:FILE_EXT
  595.                 the file would be sent under the name 'FILE.EXT'.
  596.  
  597.                 If you want to turn this feature off, simply type:
  598.                   SET FILE SUBDIRECTORY OFF
  599.                 This will disable the feature until a subsequent
  600.                 SET FILE SUBDIRECTORY ON command is issued.  Event when this
  601.                 feature is disabled, the SET FILE SUBDIRECTORY CHARACTER is
  602.                 still retained so once specified it doesn't need to be SET
  603.                 again.
  604.  
  605.                 Initially, this feature is OFF, but the character is set to
  606.                 ':'.  This character was chosen because it can't occur in a PC
  607.                 filename, but it can in a CP-6 filename.  This feature is
  608.                 mainly intended to help organize CP-6 directories which are
  609.                 being used as central repositories for micro software.
  610.  
  611.                 The default is SET FILE SUBDIRECTORY CHARACTER = ':' and
  612.                                SET FILE SUBDIRECTORY OFF.
  613.  
  614.         SUB [DIRECTORY] [=] { OFF | ON }
  615.                 When ON is specified, the feature described under the SET FILE
  616.                 SUBDIRECTORY CHAR command will be used.  When OFF is specified
  617.                 said feature is disabled but the character specified in
  618.                 SET SUB DIRECTORY CHAR will be retained.
  619.  
  620.         W[ARNING] [=] { OFF | OVER | ON | TO | INTO }
  621.                 This option controls what happens if the file being sent to
  622.                 CP-6 already exists.
  623.  
  624.                 If OFF or OVER is specified, any existing file of the same
  625.                 name is overwritten.  If no file currently exists, a new one
  626.                 is created.
  627.  
  628.                 If ON or TO is specified and a file of the same name already
  629.                 exists, an error is returned and the existing file remains
  630.                 unchanged.
  631.  
  632.                 If INTO is specified and the file already exists, the file
  633.                 will be extended.  If no file currently exists then one is
  634.                 created.
  635.  
  636.                 The default is SET FILE WARNING ON.
  637.  
  638. SET R[ETRY] [C[OUNT]] [F[OR]] { I[NITIAL] [P[ACKETS]] | P[ACKETS] }
  639.         This option sets the error retry threshold for either the Initial
  640.         packet or Data packets.
  641.  
  642.         The defaults are SET RETRY COUNT FOR INITIAL PACKET = 10 and
  643.                          SET RETRY COUNT FOR PACKETS = 10.
  644.  
  645. SET SEN[D] parameter
  646.  
  647.         EI[GHT] [B[IT]] [Q[UOTING]] [C[HARACTER]] [=] '1character'
  648.                 This option will only be used when the parity of the
  649.                 communications line is something other than NONE or ZERO
  650.                 (i.e., when the eighth bit is not available for data).  When
  651.                 specified, this character must be "Y" or "N" or a character in
  652.                 the range ASCII 33-62 ("!" through ">") or 96-126 ("'" through
  653.                 "~"), but MUST be different from the SEND QUOTE and SEND REPT
  654.                 values.  The value is interpreted as follows:
  655.  
  656.                 Y  CP-6 KERMIT will do 8-bit quoting if "the other" KERMIT
  657.                    requests it.
  658.                 N  8-bit quoting will NOT be done.
  659.                 &  (or any other character in the range 33-62 or 96-126) means
  660.                    CP-6 KERMIT will use this character for 8-bit quoting (if
  661.                    "the other" KERMIT responds with a "Y" or the same
  662.                    character).  The "&" is the recommended 8-bit quote
  663.                    character.
  664.  
  665.                 The default is SET SEND EIGHT BIT QUOTING CHARACTER = 'Y'.
  666.  
  667.         E[ND] O[F] L[INE] [=] dec3
  668.                 The ASCII character that will be used as the line terminator
  669.                 for all outgoing packets.  The default value is 13 (Carriage
  670.                 Return).
  671.  
  672.         PACK[ET] [L[ENGTH]] [=] dec
  673.                 The maximum length packet that CP-6 KERMIT wants to receive, a
  674.                 number in the range 7 to 94, inclusive.  It is recommended
  675.                 that this value be 94 (the maximum) unless numerous retries
  676.                 are occurring in which case the value should be gradually
  677.                 decreased until retries only occur occasionally, if at all.
  678.  
  679.                 The default is SET SEND PACKET LENGTH = 94.
  680.  
  681.         PAU[SE] [=] dec
  682.                 Specifies how many seconds to pause before ACKnowledging a
  683.                 packet.  Setting this to a nonzero value will slow down the
  684.                 rate at which data packets arrive, which may be necessary for
  685.                 systems that have "sensitive" front ends and cannot accept
  686.                 input at a high rate.
  687.  
  688.                 The default is SET SEND PAUSE = 0.
  689.  
  690.         PADC[HAR] [=] dec3
  691.                 This is a padding character that the "other computer" will
  692.                 send before each packet.  The number of padding characters
  693.                 required is determined by the value of the SEND PADDING
  694.                 parameter.  It is doubtful that you will ever need to set this
  695.                 or the SEND PADDING values.
  696.  
  697.                 The default is SET SEND PADCHAR = 0.
  698.  
  699.         PADD[ING] [=] dec
  700.                 This indicates the number of padding characters (see SET SEND
  701.                 PADCHAR) that the "other computer" should send before each
  702.                 packet.  It is doubtful that you will ever need to set this
  703.                 value.  A value of 0 (zero) means that no padding characters
  704.                 are needed.
  705.  
  706.                 The default is SET SEND PADDING = 0.
  707.  
  708.         Q[UOTE] [CTL] [=] '1character'
  709.                 This is the printable ASCII character CP-6 KERMIT will use to
  710.                 quote control characters.  This must be a printable character
  711.                 and the MUST be different from both the EIGHT BIT QUOTING
  712.                 CHARACTER and the REPEAT CHARACTER.
  713.  
  714.                 The default is SET SEND QUOTE CTL = '#'.
  715.  
  716.         R[EP] [E[A]] [T] [C[HARACTER]] [=] '1character'
  717.                 This is the character that will indicate a repeated character.
  718.                 This can be any printable character in the range ASCII 33-62
  719.                 ("!" through ">") or 96-126 ("'" through "~") but MUST be
  720.                 different than both the SEND QUOTE and SEND EIGHT BIT QUOTING
  721.                 CHARACTER.  Any character outside this range indicates
  722.                 repeating will NOT be done.  The tilde (ASCII 126, "~") is the
  723.                 recommended and normal repeat prefix.  If "the other" KERMIT
  724.                 does not respond with the same character, no repeating will be
  725.                 done.  If repeating is possible by both KERMITs, it will be
  726.                 used to represent 4 or more consecutive occurrences of the
  727.                 same character.
  728.  
  729.                 The default is SET SEND REPEAT CHARACTER = '~'.
  730.  
  731.         S[TART] [O[F]] [P[ACKET]] [=] dec
  732.                 The synchronization character that marks the beginning of the
  733.                 packet.  This is a SOH (CTRL-A) by default but may be
  734.                 changed if needed.
  735.  
  736.                 The default is SET SEND START OF PACKET = 1.
  737.  
  738.         T[IMEOUT] [=] dec
  739.                 The number of seconds after which CP-6 KERMIT wants "the
  740.                 other" KERMIT to time out while waiting for a packet from
  741.                 CP-6.
  742.  
  743.                 The default is SET SEND TIMEOUT = 8.
  744.  
  745. SET TAB EX[PANSION] [=] { OFF | ON }
  746.         Indicates if received TAB characters are to be replaced with an
  747.         appropriate number of spaces to move to the next "tab stop".  If ON is
  748.         specified, it is only honored during TEXT mode transfers (i.e., in a
  749.         BINARY transfer, TABs will be sent as TAB characters).
  750.  
  751.         The default is SET TAB EXPANSION ON.
  752.  
  753. SET TABS [ dec [,dec...] ]
  754.         Accepts the desired "tab stop" settings.  Up to 40 values may be
  755.         specified but they must be in ascending order.  A value of 0 (zero)
  756.         means revert back to the default.
  757.  
  758.         These values are only used on TEXT mode transfers and only if SET TAB
  759.         EXPANSION = ON, which IS the default.
  760.  
  761.         The default is SET TABS 9,17,25,33,41,49,57, ... ,305,313,321.
  762.  
  763. SHOW
  764.         Shows the current settings for SETable items.
  765.  
  766. STATION = station_name
  767.         Specifies the name of the ComGroup station to be used for file
  768.         transfers.  This option is only meaningful when specified in
  769.         conjunction with the CG option.  If either the CG or STATION options
  770.         are specified without the other option then the option that was
  771.         specified will be IGNORED.
  772.  
  773. TR[ANSMIT] fid
  774.         Sends 'fid' to the "other computer" raw; that is, with no protocol
  775.         involved.  CP-6 KERMIT will DELAY the sending of 'fid' by the number
  776.         of seconds currently set for the SET DELAY option.
  777.  
  778. 13.5  Installation
  779.  
  780. 13.5.1  To start the installation of this version of KERMIT, put the following
  781.         files into the same account.  They may coexist with other files in
  782.         the account.
  783.  
  784.          HC6KERMIT_BLD      Section 13.5 (Installation) of HC6KERMIT_DOC
  785.          HC6KERMIT_C61      INCLUDEd file used in HC6KERMIT_PAR & _PL6 files
  786.          HC6KERMIT_DOC      Documentation for this version of CP-6 KERMIT
  787.          HC6KERMIT_FCC      HC6KERMIT_DOC file with Fortran Carriage Control
  788.          HC6KERMIT_HER      HERMAN.X source file; used to create HELP:KERMIT:
  789.          HC6KERMIT_INS      CP-6 XEQ file that customizes the HC6KERMIT_JCL
  790.          HC6KERMIT_JCL      File to !XEQ that creates KERMIT & HELP:KERMIT:
  791.          HC6KERMIT_PAR      Source file for the PARTRGE processor
  792.          HC6KERMIT_PL6      Source file for the PL-6 compiler
  793.          HC6KERMIT_UPD      List of changes/fixes made to CP-6 Kermit
  794.          HC6KERMIT_UPD_PAR  If present, CP-6 style updates to HC6KERMIT_PAR
  795.          HC6KERMIT_UPD_PL6  If present, CP-6 style updates to HC6KERMIT_PL6
  796.  
  797. 13.5.2  Change, via the !DIR command, your file management directory to the
  798.         account where the above files reside.
  799.  
  800. 13.5.3  Make a listing of HC6KERMIT_FCC by issuing the following command:
  801.          !LDEV LP30 LP,FORM='LONG'
  802.          !COPY HC6KERMIT_FCC TO LP30(VFC,FVFC)
  803.          !PRINT LP30
  804.  
  805. 13.5.4  Next, !XEQ HC6KERMIT_INS.  This file MUST be XEQ'd (not BATCH'd)
  806.         because it will ask various questions and then will change other files
  807.         based upon your answers to the questions.
  808.  
  809.         The logon account that HC6KERMIT_INS is XEQ'd from will need WRITE
  810.         access to the account where the HC6? files reside.
  811.  
  812. 13.5.5  Be certain that the account you will be running HC6KERMIT_JCL from is
  813.         authorized to run with the resources specified on the !RES/ORES
  814.         commands in the HC6KERMIT_JCL file.  Furthermore, that account must
  815.         have access to execute PL6.:SYS, PARTRGE.:SYS and HERMAN.X.
  816.  
  817. 13.5.6  Next, XEQ or BATCH HC6KERMIT_JCL.  This will create the KERMIT
  818.         run unit and the HELP:KERMIT: file, used by the CP-6 HELP facility.
  819.  
  820.         Note:  By default, the listings produced by the PL-6 compile and
  821.         PARTRGE will be EDGEMARK'd.  If you do NOT want them EDGEMARK'd,
  822.         include DEST=LP as a substitution on your XEQ/BATCH of HC6KERMIT_JCL.
  823.