home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / cdccyber / cd3ker.mss < prev    next >
Text File  |  2020-01-01  |  19KB  |  431 lines

  1. @make(manual)
  2. @device(talaris)
  3. @Style<Justification On, Hyphenation On, WidestBlank 1.4, Spacing 1,
  4.         Spread 1, Indent 0, HyphenBreak Off, DoubleSided> 
  5. @Define<Q,FaceCode R> 
  6. @Case<Device,
  7.  TALARIS=(
  8.     @Define<QU,FaceCode R,AfterEntry=[],BeforeExit=["]>), 
  9.  ELSE=( 
  10.     @Define<QU,FaceCode R,AfterEntry=["],BeforeExit=["]>) 
  11.  >
  12. @heading<Cyber 170 Kermit> 
  13. @begin<description,leftmargin +10,indent -10,spread 0> 
  14. @i(Author:)@\Jim Knutson, University of Texas.
  15.   
  16. @i(Language:)@\CDC FTN5 (Fortran 77) and COMPASS Assembler
  17.   
  18. @i(Version:)@\2.2@ @ @ @ September 1984, Jim Knutson, University of Texas. 
  19. @i( )@\2.2.1@ @ June 1985, Mark Miller, S. O. Lidie, Lehigh University. 
  20. @i( )@\2.2.2@ @ July 1986, S. O. Lidie, Lehigh University.
  21. @i( )@\3.0@ @ @ @ October 1984,  Joerg Hallbauer, Cal State University. 
  22. @i( )@\3.1@ @ @ @ December 1984,  Paul Wells, University of Washington.
  23. @i( )@\3.2@ @ @ @ February 1987, Steve Roseman, Lehigh University.
  24. @i( )@\3.3@ @ @ @ March 1987, Steve Roseman, Lehigh University.
  25.   
  26. @end<description>
  27.   
  28. @B<CYBER 170 Kermit Capabilities at a Glance:>
  29. @begin<verbatim>  @tabset<+32> 
  30.   
  31.  Local Operation@\No
  32.  Remote Operation@\Yes
  33.  Transfers text files@\Yes
  34.  Transfers binary files@\Yes
  35.  Wildcard Send@\Yes
  36.  ^X/^Z interruption@\Yes (through micro) 
  37.  Filename collision avoidance@\Yes
  38.  Can time out@\Yes
  39.  8th-bit prefixing@\Yes
  40.  Repeat count prefixing@\Yes
  41.  Alternate block checks@\No
  42.  Terminal emulation@\No 
  43.  Communications settings@\No 
  44.  Transmit BREAK@\No
  45.  Transaction logging@\Yes 
  46.  Session logging@\No 
  47.  Raw transmit@\No 
  48.  Sliding windows@\No 
  49.  Long packets@\Yes 
  50.  Act as server@\Yes
  51.  Talk to server@\No
  52.  Advanced server functions@\No
  53.  Advanced commands for servers@\Limited 
  54.  Handle Attribute Packets@\No
  55.  Command/Init files@\Yes 
  56.  Command Macros@\No
  57. @end<verbatim>
  58.   
  59. @Section<Cyber File Systems>
  60.   
  61. The features of the Cyber's file system that are of greatest interest to 
  62. Kermit users are storage class, file structure, file specifications and
  63. character sets.
  64.   
  65. @Subheading<Cyber Storage Classes>
  66.   
  67. The NOS operating system uses the concept of local and permanent file storage. 
  68. This means that files that are to be kept around after a job is finished must
  69. be moved to permanent storage first.  Jobs that wish to use a file from
  70. permanent storage must copy or attach it to local storage before using it. 
  71.   
  72. To send a file from the Cyber, you may GET/ATTACH the file before entering
  73. Kermit, or have Kermit access the file itself.  If you request that Kermit 
  74. send a file which is not found as a local file, it will attempt to find a 
  75. matching permanent file.  You may restrict Kermit to local or permanent files 
  76. by prefixing the file name with @B<L:> or @B<P:>, respectively. After 
  77. receiving a file on the Cyber do not forget to SAVE/REPLACE/DEFINE the file to 
  78. make it permanent. 
  79.   
  80. The DIRECTORY command and REMOTE DIRECTORY server command allow the user to
  81. display the names of available local or permanent files. 
  82.   
  83. @Subheading<Cyber File Structure>
  84.   
  85. Many Cyber files use internal structure information.  Cyber Kermit supports 
  86. two file types: Z-type (line image, unit record) called TEXT, and any other
  87. arbitrary file whose data is transferred 8 bits at a time (7.5 bytes per
  88. 60-bit word), called BINARY.  Other internal file structures, such as other 
  89. Cyber Record Manager record types, are not supported by Cyber Kermit. 
  90.   
  91. @Subheading<Cyber File Specification>
  92.   
  93. A NOS file name consists of from one to seven alphanumeric characters.  Special 
  94. characters are not allowed in the file name.  File names beginning with ZZ or
  95. SCR should be avoided, since these are commonly used scratch file names.
  96.   
  97. @index<Wildcard> 
  98.   
  99. Cyber Kermit allows a group of files to be specified in a single file 
  100. specification by including the special @qu"wildcard" characters, @qu"*" and
  101. @qu"?".  A @qu"*" matches any string of characters, including no characters at 
  102. all; a @qu"?" matches any single character.  Any number of @qu"*" and @qu"?" 
  103. may appear in a wildcard specification.  To complement the selection criteria,
  104. suffix a @qu"-" to the wildcard specification.
  105.   
  106. Here are some examples:
  107. @Begin(Description,spread 0.5,leftmargin +10, indent -8) 
  108. @q<*BUG>@\All files ending in @q<BUG>.
  109.     
  110. @q<*DOG*>@\All file names containing @q<DOG>. 
  111.     
  112. @q<F*>@\All files whose names start with F.
  113.   
  114. @q<F?X*>@\All files whose names start with F and contain X in
  115. the third position, followed by zero or more characters.
  116.   
  117. @q<FRED->@\All files except FRED. 
  118. @End(Description)
  119.   
  120. Wildcard notation is most commonly used to instruct Kermit to send, or display 
  121. a directory of, a group of files.  Its usage is similar to capabilities on 
  122. many other computer systems.
  123.   
  124. @Subheading<Cyber Character Sets>
  125.   
  126. Until the recent NOS/VE operating system, the character set used by most Cyber 
  127. systems was a six bit DISPLAY CODE character set.  The six bit character sets 
  128. supported by Cyber Kermit are the 63 and 64 character sets.  These character 
  129. sets differ in the use of the COLON and PERCENT SIGN characters.
  130.   
  131. There are also several ASCII character sets in use on NOS.  One set, called
  132. 6/12 or simply ASCII, uses 6-bit DISPLAY CODE characters with certain 
  133. characters set aside as flags to indicate lower case or control characters.
  134.   
  135. Another ASCII character set is the 8/12 or ASCII8 character set.  This stores 
  136. ASCII characters as 8 bits in a 12-bit byte.  The exception to this is that an 
  137. EOL (End-Of-Line) is indicated by the usual CDC convention of at least twelve 
  138. bits of 0 (0000B) in the low order bits of the word.  NUL characters are 
  139. represented as 4000B to prevent interpretation as an EOL sequence.
  140.   
  141. Cyber Kermit will normally automatically recognize the character set when 
  142. sending a TEXT file, and will do the appropriate conversions.  The first 
  143. buffer full (approx 1000 characters) from the disk file is examined and the
  144. file is recognized to be 8/12 ASCII if the top 4 bits of each byte are zero; 
  145. 6/12 ASCII if the first 2 characters in any CM word are lower case; display 
  146. code otherwise.  Received TEXT files are normally converted to 6/12 ASCII. 
  147. The SET TEXT-MODE command allows the user to request specific conversion modes
  148. of DISPLAY, 6/12-ASCII, or 8/12-ASCII, or set AUTO conversion as described
  149. above. 
  150.   
  151. @Section<Program Operation>
  152.   
  153. Cyber Kermit's prompt is @qu"Kermit-170>".  It must be run
  154. interactively and has no parameters.  Commands can be
  155. typed in like this: 
  156. @begin<example>
  157. /@ux[kermit] 
  158. Cyber-170/NOS KERMIT Ver 3.2.0  (87/01/16)
  159. Kermit-170>@ux[send dog*]
  160.   
  161.   [the files are sent] 
  162.   
  163. Kermit-170>@ux[status]
  164.   
  165.   [performance statistics are printed] 
  166.   
  167. Kermit-170>@ux[receive]
  168.   
  169.   [files are received]
  170.   
  171. Kermit-170>@ux[exit]
  172. @End<example> 
  173.   
  174. @index(KERMINI) @index(Kermit Initialization) 
  175.   
  176. Cyber Kermit provides an initialization file capability.  It will look for a
  177. file named KERMINI in the user's local files, and then in the permanent file
  178. catalog.  If found, Kermit will take commands from this file before requesting
  179. commands from the user.
  180.   
  181. @index<Help> 
  182. Cyber Kermit mimics the DEC-20 style command parser in that a question mark
  183. followed by a carriage return may be placed anywhere on the command line
  184. (except for the SEND and DIR commands).
  185. This will display the options available at that point.  Unfortunately, the 
  186. entire command will have to be retyped afterwards.
  187.   
  188. Command keywords may be abbreviated to their shortest unique combination. 
  189. This comes in very handy since Cyber Kermit does not support command
  190. completion. 
  191.   
  192. Cyber Kermit may only be run as a remote Kermit.  This Kermit is @qu"smart"
  193. and hence need not be closely watched during a transfer since it will timeout 
  194. in a deadlock situation.
  195.   
  196. A Cyber filename is restricted to 7 alphanumeric characters. When a file is 
  197. being sent to the Cyber, Kermit will take up to 3 characters of the extension
  198. (part following a period) of the micro's file name, plus as much as possible 
  199. from the first part of the file name.  This will lessen the conflicts when
  200. transferring a group of files with the same name but different extensions.
  201.   
  202. If a file under that name already exists, an @qu"error packet" stating so will 
  203. be sent back to the micro and Cyber Kermit will abort the entire transfer.
  204.   
  205. @index<Parity> 
  206. If you are having trouble transferring files with Kermit, it may be due to the 
  207. parity.  Cyber Kermit has no way of determining the parity of the connection
  208. and does not affect it in any way.  If you are having problems getting the 
  209. first packet to transfer, then this is probably the problem.  If necessary,
  210. enter a !@ TRMDEF command from within Kermit to set the Cyber front-end's 
  211. parity to match that of your micro (eg.  !@ TRMDEF,PA=N for no parity,
  212. !@ TRMDEF,PA=E for even.) 
  213.   
  214. @Section<Cyber Kermit Commands>
  215. The following is a list of Cyber Kermit commands and their descriptions. 
  216. @begin<description,leftmargin=+10,indent=-10>
  217. @Index<!>
  218. ! @i<command>@\@ Execute a NOS command and then return to Kermit.
  219. Note that a single space must follow the ! character.
  220. Cyber Kermit will supply a control statement terminator if needed.
  221.   
  222. @index(DIR)@index(DIRECTORY)
  223. DIRECTORY [@i<filename>]@\Displays the names of the files 
  224. local to the
  225. user's job, or the names of files in the user's permanent file catalog;
  226. @i<filename> may be a wildcard filename.
  227. @blankspace<1 line>
  228. If the command is specified with no 
  229. parameters or the L: parameter, all local files are listed.  If the P:
  230. parameter is used, all permanent files are listed. 
  231. @blankspace<1 line>
  232. To list a single local file or subset of local files, the user may specify a 
  233. file name or wildcard file name.  To list a single or subset of permanent
  234. files, the user may precede the file name or wildcard file name by P: 
  235. @blankspace<1 line>
  236. [The above syntax is also applicable to the REMOTE DIRECTORY server command.]
  237.   
  238. @Index<EXIT>@index<QUIT>@Index<Control-C> 
  239. EXIT, QUIT@\Exit from Kermit-170.  You may also stop Kermit-170 in the midst 
  240. of a transfer or during server operations by aborting your local Kermit
  241. with a CTRL-C.  Connect to the Cyber Kermit (don't forget to first FINISH 
  242. if you were using the Cyber Kermit in server mode) and then EXIT.
  243.   
  244. @Index<HELP> 
  245. HELP [@i<topic>]@\Give Help.  There's a general help text, plus
  246. separate help texts for each Kermit-170 command.  HELP ? lists the available 
  247. topics. 
  248.   
  249. @Index<PUSH> 
  250. PUSH@\Exit to NOS command level, saving the current Kermit 
  251. environment.  The environment will be restored when Kermit is
  252. reentered. 
  253.   
  254. @index<RECEIVE> 
  255. RECEIVE@\Receive a file or group of files from the other host.
  256. If the name in the header packet is not a legal Cyber file name,
  257. the first 7 legal characters will be used. 
  258. @blankspace<1 line>
  259. If the file already exits as a local file, Kermit will abort the transfer. 
  260. If an error occurs during transfer, the local file being received will be
  261. deleted to allow the transfer to be retried.
  262. After entering the RECEIVE command, you should escape back to your local Kermit
  263. and give the SEND command. 
  264.   
  265. @index<SEND>
  266. SEND @i<filename or L:filename or P:filename> 
  267. @\Send one or more files to the local (micro) Kermit; @i<filename> may 
  268. be a wildcard filename.  The name of each file is
  269. passed to the other Kermit in a file header packet, so that the file can be 
  270. stored there with the same name.
  271. You should escape back to your local Kermit and give the RECEIVE
  272. command.  If you don't do this fast enough the @qu"send-init" packet may
  273. arrive prematurely.  To prevent this, use SET DELAY or hit the RETURN key
  274. on your microcomputer if it does not timeout.
  275. @blankspace<1 line>
  276. If you use the first form of this command and no local file(s) match your 
  277. request, your permanent file catalog is searched for matching file(s). 
  278. If you prefix the filename with L:, only your local files are searched; if P:,
  279. only your permanent file catalog is searched.  (Note that for a permanent file
  280. transfer, any local file which has the same name as a permanent file being
  281. sent, is deleted.) 
  282.   
  283. @Index<SERVER>@Index<Control-C> 
  284. SERVER@\Act as a server for another Kermit.  Whatever options were 
  285. previously SET will be used.  The server may be shut down from the local 
  286. Kermit by using the BYE or FINISH commands.
  287. Generally, you should use the FINISH command if you were transferring
  288. a file to the Cyber so that you may then connect and make the file 
  289. permanent. The BYE or LOGOUT command causes the remote Kermit to logout 
  290. and thus should be used when receiving a file from the Cyber and there
  291. is no real reason to re-connect. 
  292. @blankspace<1 line>
  293. The following server features are currently supported in Kermit-170:
  294. GET, SEND, FINISH, BYE, REM DIR 
  295.   
  296. @Index<SET>
  297. SET @i{keyword value}@\Establish system-dependent parameters.  You can examine
  298. their values with the 
  299. SHOW command.  Numeric values may be decimal, octal (postfixed with a B), 
  300. or hexadecimal (postfixed by an H).  The following may be SET: 
  301. @Begin(Description,leftmargin +4,indent -4)
  302. @index<Debugging> 
  303. DEBUG @i<option>@\Show packet traffic explicitly.  Options are:
  304. @Begin(Description,leftmargin +4,indent -4)
  305. ALL@\Set all debug options (PACKETS and STATES). 
  306.   
  307. LOG-FILE @i<filename>@\Log states and packets to the specified file.  The
  308. default log-file is named KERMLOG. 
  309.   
  310. OFF@\Don't log debugging information (this is the default).  If 
  311. debugging was in effect, turn it off and close the log file. 
  312.   
  313. PACKETS@\Log each incoming and outgoing packet (lengthy).
  314.   
  315. STATES @\Log Kermit state transitions and packet numbers (brief).
  316. @End(Description)
  317.   
  318. DELAY @i<decimal-number>@\Sets the number of seconds to wait before sending 
  319. the first packet.  This gives you time to @qu"escape" back and issue a RECEIVE 
  320. command.  The default is 2 seconds.
  321.   
  322. @index<Duplex> 
  323. DUPLEX @i<keyword>@\Changes the method of echoing characters when being
  324. prompted for commands. 
  325. The choices are FULL and HALF.  FULL means the Cyber will echo the
  326. characters you type.  HALF means the local system echoes them.  FULL is 
  327. the default, and is used by most hosts. 
  328.   
  329. @index<File Type> 
  330. FILE-MODE @i<ftype>@\Declares the file mode to be used while processing Cyber
  331. disk files.  Allowable values for @i<ftype> are TEXT and BINARY. 
  332. TEXT means that the file contains text in either 8/12 ASCII, 6/12 ASCII, or 
  333. Display Code (See SET TEXT-MODE command). BINARY means that file contains
  334. binary data, packed 7.5 
  335. 8-bit bytes per 60-bit word.  The default is TEXT. 
  336.   
  337. @index<Retry> 
  338. INIT-RETRY @i<decimal-number>@\Set the maximum number of retries allowed for 
  339. the initial connection before giving up. Default is 15. 
  340.   
  341. @index<Receive>@index<Receive Files>
  342. RECEIVE @i{parameter value}@\These commands allow you to specify
  343. to the other Kermit what the packets it sends should look like, 
  344. or to inform this Kermit what to expect.  @i<Value> may be
  345. specified as a decimal number, an octal number (B suffix), or a
  346. hexadecimal number (H suffix).  Character values are specified 
  347. as the numeric equivalent of the ASCII character. 
  348. @Begin(Description,leftmargin +4,indent -4)
  349. END-OF-LINE @i<value>@\The octal value of the ASCII character which will be
  350. used as a line terminator for packets by the other system.  Carriage return 
  351. (15B) is the default. 
  352.   
  353. PACKET-LENGTH @i<value>@\Maximum packet length the other system may send,
  354. a decimal number, between 20 and 1000,
  355. 94 by default.  Size used is the minimum of this parameter and the 
  356. SEND PACKET-LENGTH of the other Kermit.
  357.   
  358. PAD-CHARACTER @i<value>@\Character to use for padding.  Default is NUL.
  359.   
  360. PAD-LENGTH @i<value>@\Set the number of padding characters to send before a
  361. packet.  Default is no padding.
  362.   
  363. QUOTE-CHARACTER @i<value>@\The printable character to use for quoting of 
  364. control characters. Default is # (43B).  There should be no reason to change 
  365. this. 
  366.   
  367. SYNC-CHARACTER @i<value>@\The control character that marks the beginning of
  368. the packet.  Normally SOH (Control-A, ASCII 1).  There should be no reason
  369. to change this. 
  370.   
  371. TIME-OUT @i<value>@\The number of seconds the other Kermit should wait for a
  372. packet before asking for retransmission. Default is 10 seconds. 
  373. @End(Description)
  374.   
  375. RETRY @i<decimal-number>@\Sets the maximum number of retries allowed for
  376. a particular packet before giving up. Default is 10. 
  377.   
  378. SEND @i{parameter value}@\These commands allow you to specify how outgoing 
  379. packets should look, in case the other Kermit has non-standard requirements.
  380. @Begin(Description,leftmargin +4,indent -4)
  381. END-OF-LINE @i<value>@\The octal value of the ASCII character to be used as a
  382. line terminator for packets, if one is required by the other system.  Carriage
  383. return (15B) by default. 
  384.   
  385. PACKET-LENGTH @i<value>@\Maximum packet length to send, decimal number,
  386. between 20 and 1000, 94 by default.  Size used is the minimum of this 
  387. parameter and the RECEIVE PACKET-LENGTH of the other Kermit.
  388.   
  389. PAD-CHARACTER @i<value>@\Character to use for padding.  Default is NUL.
  390.   
  391. PAD-LENGTH @i<value>@\Set the number of padding characters to send before a
  392. packet.  Default is no padding.
  393.   
  394. QUOTE-CHARACTER @i<value>@\The printable character to use for quoting of 
  395. control characters.  The default is # (43B).  There should be no reason 
  396. to change this. 
  397.   
  398. SYNC-CHARACTER @i<value>@\The control character that marks the beginning of
  399. the packet.  Normally SOH (Control-A, ASCII 1).  There should be no reason
  400. to change this. 
  401.   
  402. TIME-OUT @i<value>@\How many seconds to wait for a packet before 
  403. trying again.  Default is 10 seconds. 
  404. @End(Description)
  405.   
  406. @index<Text Mode> 
  407. TEXT-MODE @i<ctype>@\Sets the character set of TEXT files.  Allowable values 
  408. for @i<ctype> are: AUTO, DISPLAY, 6/12-ASCII, and 8/12 ASCII.  The default is 
  409. AUTO, which tells Cyber Kermit to attempt to auto-recognize files on send,
  410. and write 6/12 ASCII files on receive.
  411. @End(Description)
  412.   
  413. @index<SHOW>
  414. SHOW@\Display current SET parameters, version of Kermit-170, and other
  415. information. 
  416.   
  417. @index<STATUS>
  418. STATUS@\Give statistics about the most recent file transfer.
  419.   
  420. @index(TAKE)
  421. TAKE @i<filename or L:filename or P:filename>@\Take Kermit commands from a
  422. file.  Kermit will first look in the user's local files; if not found it will 
  423. then look in the permanent file catalog.  You may restrict the search by 
  424. prefixing the filename with "P:" or "L:".  (See the SEND command above.)  When
  425. an logical end-of-record is encountered on the TAKE file, Kermit will revert 
  426. to accepting commands from the terminal.  TAKE commands cannot be nested; a
  427. TAKE command read from a file will begin reading commands from the new file,
  428. but at it's end will not revert to the first file.
  429. @End(Description)
  430.