home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / honeywellgcosb.zip / hdps8.rof < prev    next >
Text File  |  1988-08-16  |  31KB  |  916 lines

  1. .m1 4
  2. .m4 4
  3. .pl 66
  4. .ll 72
  5. .tr ~
  6. .ic ^^
  7. .pc #
  8. .at (oc)  .oc - option list entry
  9. .br
  10. .ne 5
  11. .ti 3
  12. #1
  13. .in 7
  14. .fi
  15. .br
  16. .en (oc)
  17. .at (jf)    .jf - Turn journ Off!
  18. .sp 1
  19. .in -5
  20. .fi
  21. .en (jf)
  22. .at (jn)
  23. .br
  24. .ne 5
  25. .sp 1
  26. .in +5
  27. .nf
  28. .en (jn)
  29. .at (pg)   .pg - Start paragraph
  30. .sp 1
  31. .ne 2
  32. .ti +5
  33. .en (pg)
  34. .at (sb)   .sb - Start subsection
  35. .sp 2
  36. .ne 4
  37. .us
  38. #1
  39. .sp
  40. .ti +5
  41. .en (sb)
  42. .ef ''- % -''
  43. .of ''- % -''
  44. Honeywell GCOS Kermit
  45. .br
  46. Version 1.1
  47. .br
  48. January 1985
  49. .sp
  50. .pg
  51. This writeup describes the features and use of Kermit-GCOS, a program for
  52. Kermit protocol file transfers.  Kermit-GCOS runs under the Honeywell
  53. GCOS time sharing system (TSS) and should normally be installed
  54. on the TSS command library as file CMDLIB/KERM
  55. to run as the TSS command KERMIT.
  56. It can, however, be placed on any user catalog and run
  57. as a TSS user program.
  58. Kermit-GCOS was written by John Huxtable, University of Kansas
  59. Academic Computing Services.
  60. .pg
  61. On first reading, you may want to skip many of the sections which
  62. provide detailed information and look at only the overview and example
  63. sections.  Before using Kermit-GCOS, however, you
  64. should go back and read the full writeup.
  65. .sb 1.1.1.~What~is~Kermit?
  66. Kermit is a protocol designed for reliable file transfer between
  67. computers.
  68. The transfer takes place through a standard RS-232 communications
  69. port,
  70. allowing implementation of Kermit transfer programs on most computers.
  71. Although Kermit is technically the name of the transfer protocol,
  72. it is common practice
  73. to refer to both the protocol and programs which use the protocol
  74. as Kermits;
  75. this will be done through the remainder of this writeup.
  76. .pg
  77. Kermit development started at the Columbia University Center for Computing
  78. Activities in 1981.
  79. The primary developers were Bill Catchings
  80. and Frank da Cruz.
  81. Since that time the protocol has been extended and implemented for
  82. many systems.
  83. Persons interested in how the protocol works should read
  84. articles in the June and July 1984 issues of
  85. .ul
  86. Byte
  87. magazine which describe it in some detail.
  88. .pg
  89. In order to transfer a file with Kermit,
  90. Kermit must be running on
  91. both the sending and receiving computers.
  92. One Kermit
  93. (called "local Kermit")
  94. must be able to establish the connection
  95. with the other Kermit
  96. (called "remote Kermit").
  97. In the case of transfer between a microcomputer
  98. and a mainframe this is generally done by the microcomputer Kermit
  99. acting as a terminal as well as providing file transfer capability.
  100. .pg
  101. Microcomputer versions of Kermit are available from many bulletin
  102. board systems.  A tape containing all "known" versions of Kermit can
  103. be obtained from Columbia University.
  104. For current ordering information contact:
  105.  
  106.     KERMIT Distribution
  107.     Columbia University Center for Computing Activities
  108.     7th Floor, Watson Laboratory
  109.     612 West 115th Street
  110.     New York, N.Y.  10025
  111. .sb 1.1.2.~Syntax~Conventions
  112. To show the syntax of commands and responses
  113. this writeup uses the following conventions:
  114. .pg
  115. Angle brackets surround a description of
  116. what should be typed.
  117. For example,
  118. .jn
  119. <option>
  120. .jf
  121. means to type a Kermit option;
  122. it does
  123. .ul
  124. not
  125. mean type "<option>" literally.
  126. .pg
  127. Square brackets surround an optional item.
  128. For example,
  129. .jn
  130. Kermit [<command>]
  131. .jf
  132. means type "Kermit",
  133. optionally followed by some command.
  134. If a "*" follows the closing square bracket,
  135. it means "zero or more".
  136. For example,
  137. .jn
  138. Kermit [<option>]*
  139. .jf
  140. means type "Kermit" followed by zero or more options.
  141. .pg
  142. Control sequences
  143. are shown using
  144. the convention that
  145. "^^x" means
  146. "hold the control key down,
  147. press the 'x' key,
  148. then release both keys."
  149. For example,
  150. when asked to type
  151. .jn
  152. ^^]
  153. .jf
  154. hold the control key down and push the ] key.
  155. .pg
  156. When a keyword appears in a syntax description,
  157. the letters which appear in uppercase must be typed.
  158. The letters which appear in lower case
  159. are optional.
  160. Digits and special characters must be typed.
  161. For example:
  162. .jn
  163. +OverWrite
  164. .jf
  165. indicates that "+", "O" and "W" MUST be typed;
  166. the letters "ver" and "rite" are optional.
  167. The minimum entry to invoke this option would be:
  168. .jn
  169. +ow
  170. .jf
  171. Note that the characters may be entered in either case;
  172. the case in the syntax description is merely a method
  173. to indicate which characters are required.
  174. .sb 1.1.3.~GCOS~File~Formats
  175. GCOS uses many different methods of storing and accessing files.
  176. Since other systems do not necessarily support analogs of GCOS formats,
  177. three file formats have been defined to handle all cases.
  178. .pg
  179. The default format is "Text".
  180. This is the standard format used for text files in GCOS TSS.
  181. When Kermit-GCOS transmits a text file, it removes GCOS file control
  182. and record control words from the file and transmits a carriage-return,
  183. line-feed sequence at the end of each record.  It also deletes the
  184. high (9th) bit of each nine-bit byte.
  185. These bits are always zero in a text file
  186. so no information is lost.
  187. When Kermit-GCOS receives a file in text format, it adds a zero high (9th) bit
  188. to each byte so that four fit evenly into each 36-bit Honeywell word.
  189. It also converts the carriage-return, line-feed sequence at the end of
  190. each record into Honeywell record control information and stores the
  191. file in GCOS system standard TSS format.
  192. Files transmitted to GCOS can
  193. always be stored in text format even if the file content is eight-bit
  194. data, such as a .COM or .EXE file from a microcomputer.
  195. When transferred from GCOS to a system of the originating type, such
  196. files will be restored exactly to their original form.
  197. Text is the most convenient format to use for
  198. files transferred to GCOS for archival purposes.
  199. .pg
  200. The second format is "BYtestream".
  201. A bytestream file is the best format to use
  202. when sending non-text (binary) files, such as eight-bit telemetry data,
  203. from other systems to GCOS for processing on GCOS.
  204. The data is stored with no record structure,
  205. i.e. only the bytes received with no added "control" information.
  206. As in text mode,
  207. Kermit-GCOS adds a high-order zero bit to each incoming eight-bit
  208. character, to align on nine-bit Honeywell byte boundaries with
  209. four characters per 36-bit word.
  210. The unused portion of the last 1280-byte block of the file is filled with
  211. zeros (ASCII nulls).
  212. When transmitting a bytestream file, Kermit-GCOS strips the high-order bit
  213. from each 9-bit byte, and transmits the full file including any trailing
  214. zeros (nulls) which pad the last block.
  215. The Bytestream option automatically sets the +Random option
  216. since bytestream files must be accessed in random (direct
  217. access) mode.
  218. .pg
  219. The third format is "BItstream".
  220. A bitstream file also contains data only, with no control information.
  221. It is different from bytestream in that
  222. each nine eight-bit bytes received are packed into two 36-bit Honeywell
  223. words.  During transmission, each pair of Honeywell words is unpacked
  224. into nine eight-bit bytes.
  225. This format permits transmitting
  226. and receiving GCOS files, such as random libraries, which use all
  227. 36 bits in each word.
  228. Bitstream format is useful for archiving binary GCOS files on other
  229. systems.  One of the other two formats should be used for most other
  230. purposes.  Bitstream files should be accessed in random (direct access)
  231. mode.
  232. Specifying Bitstream format automatically implies the +Random option.
  233. .sb 1.1.4.~GCOS~Data~Transfer~Modes
  234. Kermit-GCOS can operate in two communications modes.  One mode
  235. receives packets as standard ASCII input, with a carriage return
  236. (decimal 13) used to end each packet; the other receives packets
  237. using "paper-tape" mode, with an ASCII DC3 character (also known
  238. as XOFF, ^^S, decimal 19, or hexadecimal 13)
  239. used to end each packet.
  240. Which mode you should use depends on your GCOS site's system configuration.
  241. .pg
  242. Between your local Kermit and Kermit-GCOS is a Honeywell
  243. communications computer, called a front-end processor.
  244. One of the Honeywell front-end software programs is called GRTS.
  245. GRTS uses the at-sign (@) as a character delete code for normal input
  246. and provides no way to change this.
  247. For example, the character sequence "ABC@@D" would be received through
  248. GRTS as "AD".
  249. Since the Kermit protocol requires that all printable ASCII characters
  250. (including @) can be sent and received,
  251. by default Kermit-GCOS uses paper-tape mode to read packets.
  252. In paper-tape mode, "@" is treated as a normal printing character.
  253. In this mode, however, the end of input is indicated by an ASCII DC3
  254. character (XOFF) instead of a carriage return.
  255. This means that before beginning a file transfer you must set the
  256. send end of line character for your local Kermit to this value.
  257. .pg
  258. Honeywell's newer front end software has the ability
  259. to change the character delete code.
  260. If you change it to a non-printing ASCII character
  261. (e.g. backspace or delete)
  262. then you need not use paper-tape mode.
  263. For non-paper-tape input mode, your local send end of line character
  264. should be a carriage return.  This is the default for most versions
  265. of Kermit.
  266. To select this mode for Kermit-GCOS use the -TapeMode option which
  267. is described in the option section below.
  268. .pg
  269. Unless you must operate in paper-tape mode, it is best to use the
  270. -TapeMode option.  Tape mode prohibits the use of XON/XOFF flow
  271. control, since the XOFF control would also signal the end of a
  272. packet.  In general, GRTS does not support flow control; however,
  273. if your site has implemented flow control for GRTS, sending a Kermit packet
  274. while Kermit-GCOS is not in a receive state would lock the line.  You
  275. would then have to escape to interactive mode, type ^^Q^^D^^S to
  276. regain control, and restart the file transfer from the beginning.
  277. .pg
  278. Flow control can also be a problem if your connection to GCOS is
  279. through a network.  To use tape mode through a
  280. network it must not depend on XON/XOFF control for blocks the size
  281. of Kermit packets (up to 96 characters).
  282. You may need to set network parameters to pass XOFF as data.  Consult
  283. with local support staff or see local documentation if your
  284. connection is through a network.
  285. .pg
  286. Finally, whenever GRTS is ready for input it sends an ASCII DC1
  287. character.  If your local Kermit has an option for DC1 (^^Q or XON)
  288. handshaking, you should select it, especially if you are using tape mode.
  289. .sb 1.2.1.~An~Overview~of~Kermit-GCOS
  290. This section presents a summary of the features of Kermit-GCOS.
  291. It assumes you are already familiar with
  292. some basic information about GCOS time-sharing, such as how to log on
  293. and off.
  294. If you are not,
  295. then first read appropriate documentation for these
  296. topics.
  297. .pg
  298. Kermit-GCOS operates as a remote version only.
  299. That is,
  300. it never originates a connection.
  301. It must be called by Kermit running on another system,
  302. usually a microcomputer Kermit in local mode acting as a terminal.
  303. .pg
  304. Commands and options to control Kermit-GCOS can be supplied on
  305. the command line, entered following prompts in interactive
  306. mode, or sent from your local Kermit through the use of the
  307. Kermit-GCOS server mode.
  308. .pg
  309. Multiple files can be transmitted by supplying a list of names
  310. through the index file option.  Separate file format options can be
  311. given for each entry in the index file.
  312. .pg
  313. A working directory can be defined as the default location for
  314. files to be sent or received.  The working directory is internal to
  315. Kermit-GCOS.  It is not dependent on the working directory facility
  316. introduced recently in GCOS.
  317. .sb 1.2.2.~Invoking~Kermit-GCOS
  318. To start Kermit-GCOS,
  319. enter the following command line:
  320. .jn
  321. KERMit [<kermit~command>] [<option>]*
  322. .jf
  323. where the "<kermit~command>"
  324. is an optional Kermit command.
  325. If you do not specify a command,
  326. Kermit will enter interactive mode,
  327. prompting you for commands.
  328. If you do specify a command,
  329. Kermit will execute the command
  330. and then end.
  331. If options are given but no command,
  332. Kermit sets the options
  333. and enters interactive mode
  334. (see
  335. Kermit Options,
  336. below).
  337. .sb 1.2.3.~Kermit~Commands
  338. Kermit-GCOS recognizes the following commands:
  339. .sp
  340. .oc ?~--~Print~a~List~of~Commands~Recognized
  341. Typing a "?" as a command will cause a list
  342. of recognized commands to be printed.
  343. .sp
  344. .oc Done~--~Exit~Kermit
  345. Done
  346. .sp
  347. The Done command exits Kermit.
  348. You may also type "Exit" or "Quit".
  349. .sp
  350. .oc Help~--~Provide~Basic~Explanations
  351. Help <command>
  352. .br
  353. Help <option>
  354. .sp
  355. The Help command prints information about the
  356. <command> or <option> specified.
  357. Specifically,
  358. the relevant portion of this document is printed.
  359. .sp
  360. .oc Receive~--~Receive~a~file
  361. Receive [<option>]*
  362. .sp
  363. The Receive command causes Kermit-GCOS
  364. to wait for files to be sent from the local Kermit.
  365. The files will be created or accessed according to the current
  366. option settings,
  367. unless overridden on the command line
  368. (see
  369. Kermit Options,
  370. below).
  371. .sp
  372. .oc SENd~--~Send~a~File
  373. SENd [<filespec>]* [<option>]*
  374. .sp
  375. A <filespec> is either the name of a file to send
  376. or "indeX=filename"
  377. where the file contains Kermit SENd command options and filespecs.
  378. .pg
  379. The SENd command causes Kermit-GCOS
  380. to send files to the local Kermit.
  381. The files will be sent according to the current option settings,
  382. unless overridden on the command line
  383. or in an index file.
  384. Kermit-GCOS will wait for the number of seconds
  385. specified in the Delay option
  386. before starting to send the files.
  387. This allows you time to escape back to your local Kermit
  388. and type RECEIVE.
  389. .sp
  390. .oc SERver~--~Enter~Server~Mode
  391. SERver [<option>]*
  392. .sp
  393. The SERver command causes Kermit-GCOS
  394. to enter server mode.
  395. While in server mode,
  396. Kermit-GCOS will wait for commands from
  397. your local Kermit.
  398. When a command is received,
  399. it is executed.
  400. Server mode is the preferred mode
  401. of operation,
  402. although not all local Kermits support it.
  403. If your local Kermit supports server mode,
  404. you should use it.
  405. The use of server mode is detailed more fully below.
  406. .sp
  407. .oc SET~--~Set~Kermit~Options
  408. SET [<option>]*
  409. .sp
  410. The SET command causes Kermit to set its options
  411. as you specify on the command line.
  412. Normally,
  413. options given on a command line
  414. apply only to that command.
  415. A SET command causes them to change until a later SET command is given.
  416. .sp
  417. .oc STatus~--~Print~Options~Status
  418. STatus
  419. .sp
  420. The STatus command causes Kermit-GCOS
  421. to print a list of the current option settings.
  422. .in 0
  423. .an (pgse) 0
  424. .sb 1.2.4.~Kermit~Options
  425. .an (pgse) 1
  426. The following options are recognized (default settings are shown in
  427. parentheses):
  428. .jn
  429. ?
  430. CWD=pathname
  431. DeBug=function (Off)
  432. Delay=nn (10)
  433. (+|-)Discard (-)
  434. Format=fileformat (Text)
  435. indeX=filename
  436. (+|-)OverWrite (-)
  437. (+|-)Permanent (+)
  438. (+|-)Random (-)
  439. SendEndOfLine=nn (13)
  440. SendStartofPacket=nn (1)
  441. (+|-)TapeMode (+)
  442. .jf
  443. .ne 10
  444. .sp
  445. Options:
  446. .sp
  447. .oc ?
  448. causes a list of the allowed options for the command given
  449. to be printed.
  450. .oc CWD=pathname
  451. sets the Kermit working directory to the specified path.  By
  452. default, your working directory is your USERID.  It can be
  453. changed to any catalog or subcatalog where you want files
  454. placed by default.
  455. .oc DeBug=function
  456. specifies how much debugging information is to be
  457. written to the debug file "kerm*dbg".
  458. The default is "Off", which means that no debugging information
  459. will be written.
  460. "States" causes the current protocol state to be written
  461. when it changes.
  462. "Packets" causes each packet sent or received to be written.
  463. "All" causes all possible debug information to be written.
  464. This information is rarely useful,
  465. unless you suspect that your communications line
  466. is noisy and wish to inspect what is being sent.
  467. .oc Delay=nn
  468. causes Kermit to wait nn seconds before sending the first packet
  469. when using the SENd command.
  470. The default is 10 seconds.
  471. .oc +Discard
  472. causes Kermit to discard an incomplete transmission.
  473. If you interrupt the transmission of a file,
  474. the file will not be created on GCOS.
  475. If -OverWrite is in effect,
  476. the previous contents will be unchanged.
  477. .oc Format=fileformat
  478. causes any file transferred in either direction
  479. to be treated according to the file format specified.
  480. The formats are "Text", "BYtestream", and "BItstream".
  481. See the section on file formats.
  482. The default is Text.
  483. .oc indeX=filename
  484. specifies a file containing
  485. Kermit SENd commands and options,
  486. one command per line.
  487. This option permits sending multiple files with a single command.
  488. This option is analgous to the "wildcard send" feature of some Kermits
  489. in that it allows transfering multiple files easily.  It
  490. was selected for Kermit-GCOS because GCOS does not support wildcard names,
  491. and allowing an index file of names provides additional
  492. flexiblity in sending dissimilar names.
  493. This option is only meaningful when used with the Kermit SENd command,
  494. or from "GET" commands received in Server Mode.
  495. Only the "Format=", +Random, +Discard,
  496. -Permanent and  +OverWrite options
  497. may be used in index files.
  498. .oc +OverWrite
  499. causes an existing file of the same name to be overwritten.
  500. The default is -OverWrite,
  501. which causes the incoming file to be renamed
  502. to avoid conflicts.
  503. The file is renamed by appending "_n"
  504. to the file,
  505. where n is the smallest digit not resulting in a clash.
  506. If the filename is too long,
  507. the underscore will be omitted.
  508. If the filename is still too long,
  509. characters will be deleted from the end
  510. until it fits.
  511. .oc -Permanent
  512. causes Kermit to use standard GCOS rules
  513. for creating/accessing files.
  514. So if there are no slashes or dollar signs
  515. in the filename and if the filename is less than or
  516. equal to eight characters long,
  517. and if a quick access file of the same name does not
  518. already exist,
  519. the file will be created as temporary.
  520. Otherwise it will be created as permanent.
  521. If +Permanent
  522. (the default)
  523. is used,
  524. the file will always be created/accessed as permanent.
  525. .oc +Random
  526. causes Kermit to access the file as random.
  527. The default is sequential, or -Random.
  528. For non-text files, +Random must be specified.
  529. .oc SendEndOfLine=nn
  530. causes Kermit to terminate its outgoing packets
  531. with the ASCII character whose decimal value is nn.
  532. Example:
  533. SendEndOfLine=26
  534. would cause Kermit to terminate its outgoing packets with a ^^Z
  535. (decimal ASCII value = 26).
  536. The default is carriage return
  537. (value = 13).
  538. .oc SendStartofPacket=nn
  539. causes Kermit to start its outgoing packets
  540. with the ASCII character whose decimal value is nn.
  541. Example:
  542. SendStartofPacket=26
  543. would cause Kermit to start its outgoing packets
  544. with a ^^Z
  545. (decimal ASCII value = 26).
  546. The default is ^^A (value = 1).
  547. .oc -TapeMode
  548. causes Kermit to use standard GCOS terminal input mode
  549. instead of "paper tape" input mode to read incoming packets.
  550. See the GCOS Data Transfer Modes section, above, for more information.
  551. The default, +tapemode, must be used at sites where the
  552. character delete code is "@" because Kermit requires the
  553. ability to send and receive all printable ASCII characters.
  554. .in 0
  555. .sb 1.2.5.~Server~Mode
  556. Kermit-GCOS server mode enables Kermit-GCOS to receive commands
  557. through packets from your local Kermit if it supports server mode.
  558. This eliminates the need to switch back and forth between
  559. terminal mode and local mode each time you start a file transfer.
  560. .pg
  561. In addition to the file transfer commands, GET and SEND,
  562. Kermit-GCOS Server mode supports
  563. several generic commands defined in the Kermit protocol.
  564. A short list of the commands as given
  565. in the Kermit Protocol manual follows.
  566. Be warned that not all Kermits support all
  567. Server commands,
  568. and even if a Kermit does support a command,
  569. it may not be invoked with the same name
  570. as another Kermit's.
  571. For example,
  572. the "erase" command,
  573. which releases files,
  574. is called the "remote delete" command
  575. by Kermit-MS.
  576. Read the documentation for your microcomputer Kermit
  577. for details.
  578. .sp
  579. The following server commands are supported:
  580. .jn
  581. CWD        - Change Working Directory
  582. Erase      - Release a file
  583. Finish     - Terminate Server Mode
  584. Get        - Receive a file from GCOS
  585. Logout     - Terminate Kermit and Disconnect from TSS
  586. Send       - Send a file to GCOS
  587. Status     - Query Kermit-GCOS Status
  588. Type       - List a file.
  589. .jf
  590. The following descriptions
  591. of server mode commands
  592. apply to Kermit-MS.
  593. .sp
  594. .oc Bye
  595. This command ends your GCOS session for you
  596. and in addition, exits Kermit.
  597. You will then be back in MS-DOS.
  598. .sp
  599. .oc CWD
  600. This command is used to change your working directory
  601. (catalog).
  602. By default,
  603. your working directory is your userid,
  604. so any files that you send will be
  605. created under your userid but not under any catalog.
  606. Suppose you wanted to send your files to a subcatalog on
  607. your account called "/microfiles".
  608. You would enter
  609. .jn
  610. REMote CWD /microfiles
  611. .jf
  612. in Kermit-MS,
  613. enter a RETURN to the "Password:" prompt,
  614. and then use the "send" command.
  615. Any files sent would be placed under the "/microfiles" catalog.
  616. Typing "REMote~CWD" with no catalog specified
  617. causes your current working catalog to be displayed.
  618. .sp
  619. .oc Erase
  620. Erase is used to delete a file from your GCOS current working directory.
  621. You must enter
  622. .jn
  623. REMote DELete <filename>
  624. .jf
  625. to invoke this command.
  626. Erasing multiple files with one command is not supported.
  627. .sp
  628. .oc Finish
  629. This command tells Kermit-GCOS to exit server mode.
  630. This is useful if you want to resume using Kermit-MS as
  631. a terminal after doing some file transfers.
  632. Just enter "Finish",
  633. then "connect",
  634. then enter a RETURN and you will be back
  635. at star-level on GCOS.
  636. .sp
  637. .oc Get
  638. To download (get) a file from GCOS to the microcomputer,
  639. enter
  640. .jn
  641. GET pathname
  642. .jf
  643. where "pathname" specifies the GCOS file you want to get.
  644. The file name at the end of "pathname"
  645. will be used as the MS-DOS file name.
  646. To give the MS-DOS file a different name,
  647. enter
  648. .jn
  649. GET
  650. .jf
  651. Kermit-MS will prompt for "Remote~Source~File:~".
  652. You should respond with the pathname of the GCOS file.
  653. Kermit-MS will then prompt for "Local~Destination~File:~".
  654. You should respond with the MS-DOS name under which
  655. you wish the file to be saved.
  656. The remote file may be an index file.
  657. If you type
  658. .jn
  659. get index=/mylist
  660. .jf
  661. this indicates that the GCOS file "/mylist" contains
  662. the names of files to be sent.
  663. .sp
  664. .oc Logout
  665. This command ends your GCOS session for you but
  666. does not exit Kermit.
  667. .sp
  668. .oc Send
  669. To upload (send) a file from Kermit-MS to Kermit-GCOS,
  670. enter
  671. .jn
  672. SEND <filespec> [<GCOS filespec> [<option>]*]
  673. .jf
  674. where "<filespec>" may contain MS-DOS wild-card characters to
  675. specify more than one file.
  676. For example,
  677. .jn
  678. SEND *.txt
  679. .jf
  680. will send all files that have the extension "txt".
  681. Since the question mark ("?") is used within Kermit-MS
  682. to obtain help,
  683. you must use the equal sign ("=") for single-character
  684. wild-cards.
  685. .pg
  686. The <GCOS~filespec> may be a list of filenames
  687. and index files
  688. (see SEND in the commands section).
  689. .sp
  690. .oc Status
  691. This command displays the current status of Kermit-GCOS.
  692. This Server mode command is not currently
  693. supported by Kermit-MS,
  694. so there is no way to invoke it.
  695. .sp
  696. .oc Type
  697. To display the contents of a GCOS file,
  698. enter
  699. .jn
  700. REMote TYPE <filename>
  701. .jf
  702. and the file will be printed,
  703. maddenly slowly,
  704. on your screen.
  705. .in 0
  706. .br
  707. .sb 1.3.1.~Sample~Kermit~Sessions
  708. You must always begin a Kermit transfer by starting your local
  709. Kermit and setting local options, then connecting to TSS.
  710. The local options available and how to set them will depend on
  711. what computer and version of Kermit you are using.
  712. However, some options must
  713. be set correctly before a connection can be established
  714. and before file transfer is possible.  These include baud rate,
  715. local end of line, and local echo.
  716. .pg
  717. The following
  718. sample session with Kermit-MS and Kermit-GCOS
  719. downloads (gets) a file from GCOS
  720. to MS-DOS.
  721. The example assumes that drive "A"
  722. is your default drive
  723. and that it contains a disk with
  724. the MSKERMIT program.
  725. User input is underlined.
  726. The sequence ^^]C refers
  727. to "control-]" followed by "C",
  728. i.e. hold the control key down
  729. and press the ] key
  730. then release the control key and type a "C".
  731. For other versions of microcomputer Kermit, the details will be different.
  732. .pg
  733. This session transfers the GCOS file "myfile" under subcatalog "mycat"
  734. of your logon userid to the MS-DOS file "dosfile.txt" using a 1200 baud
  735. connection to a GCOS system which uses "@" as the character
  736. delete symbol.
  737. .jn
  738. A>_m_s_k_e_r_m_i_t
  739. IBM-PC Kermit-MS V2.26
  740. Type ? for help
  741.  
  742. Kermit-MS>_s_e_t_ _b_a_u_d_ _1_2_0_0
  743. Kermit-MS>_s_e_t_ _l_o_c_a_l_-_e_c_h_o_ _o_n
  744. Kermit-MS>_s_e_t_ _e_n_d_-_o_f_-_l_i_n_e_ _1_9
  745. Kermit-MS>_c_o_n_n_e_c_t
  746.  
  747. [Connecting to host, type control-] C to return to PC]
  748. .us
  749. RETURN
  750.  
  751. HIS TIME-SHARING SYSTEM  mm/dd/yy  hh.mmm  CHANNEL xxxx
  752.  
  753. USERID- _u_s_e_r_i_d_$_p_a_s_s_w_o_r_d
  754. *_k_e_r_m_i_t_ _s_e_r_v_e_r
  755. Kermit-GCOS:  Version 1.0
  756.  
  757. Entering Server Mode.
  758. Escape back to your local KERMIT and use server commands.
  759. To exit Server Mode, enter the FINISH command from your local KERMIT.
  760. To exit KERMIT in an emergency, enter control-D control-S (^^D^^S)
  761. _^^_]_C
  762. Kermit-MS>_g_e_t
  763.  Remote Source File: _/_m_y_c_a_t_/_m_y_f_i_l_e
  764.  Local Destination File: _d_o_s_f_i_l_e_._t_x_t
  765.  
  766. <Here follows the file transfer>
  767.  
  768. Kermit-MS>_b_y_e
  769. A>
  770. .jf
  771. .pg
  772. The next example shows the same file transfer using version 1.20 of
  773. Kermit-PC without server mode.  This transfer is to a GCOS system which
  774. accepts "@" as character data, so it uses the -TapeMode option.
  775.  
  776. .jn
  777. A>_k_e_r_m_i_t
  778. CUCCA IBM-PC Kermit-PC  Version 1.20
  779.  
  780. Kermit-PC>_s_e_t_ _b_a_u_d_ _1_2_0_0
  781. Kermit-PC>_s_e_t_ _l_o_c_a_l_ _o_n
  782. Kermit-PC>_c_o_n_n_e_c_t
  783. [Connecting to host. Type CTRL-]C to return to PC.]
  784.  
  785. _R_E_T_U_R_N
  786.  
  787. HIS TIME-SHARING SYSTEM  mm/dd/yy  hh.mmm  CHANNEL xxxx
  788.  
  789. USERID- _u_s_e_r_i_d_$_p_a_s_s_w_o_r_d
  790. *_k_e_r_m_i_t_ _-_t_m
  791. Kermit-GCOS:  Version 1.0
  792. Kermit-GCOS>_s_e_n_d_ _/_m_y_c_a_t_/_m_y_f_i_l_e
  793. Escape back to your local KERMIT and enter RECEIVE mode.
  794. _^^_]_C
  795. Kermit-PC>_r_e_c_e_i_v_e_ _d_o_s_f_i_l_e_._t_x_t
  796.  
  797. <Here follows the file transfer>
  798.  
  799. Kermit-PC>_c_o_n_n_e_c_t
  800. _R_E_T_U_R_N
  801. *_b_y_e
  802. <GCOS logoff summary>
  803. _^^_]_C
  804. Kermit-PC>_e_x_i_t
  805. A>
  806. .jf
  807. .pg
  808. Transferring a file from your microcomputer to GCOS is similar, but
  809. you would enter a RECEIVE command for Kermit-GCOS (or place it in
  810. server mode), then escape back to your local Kermit
  811. and enter a send command.
  812. .bp
  813. .sb 1.4.1.~Bootstrapping~Kermit-GCOS
  814. There are three different ways which you may obtain Kermit-GCOS:
  815. through the HLSUA library, from Columbia University, or over a
  816. telecommunications line.
  817. .pg
  818. The easiest is through the HLSUA library as a FILSYS save tape.
  819. Installation instructions accompany the tape.
  820. .pg
  821. The Columbia University CUCCA Kermit distribution tape contains
  822. five files for Kermit-GCOS.  These are:
  823.  
  824.     Name       Lines   Content
  825.  
  826.     HDPS8.B     3489   B language source for Kermit-GCOS
  827.     HDPS8.DOC    924   This documentation in printable form
  828.     HDPS8.PAK   1957   Kermit-GCOS H* in packed text format
  829.     HDPS8.ROF    915   This documentation in ROFF input form
  830.     HDPS8.FTN    122   Fortran program to convert .PAK file to H*
  831.  
  832. All five files are in text format.
  833. The first step in installing Kermit-GCOS is, of course, to copy these
  834. files from the tape to disk.
  835. .pg
  836. Since the Columbia tape cannot contain a Honeywell
  837. random binary file, Kermit is provided in packed
  838. ASCII text form (HDPS8.PAK) along with a Fortran program (HDPS8.FTN)
  839. which documents the packed format and converts the packed file
  840. into Honeywell executable (H*) format.
  841. Create a 65 block random file to hold the H* and
  842. run the following job:
  843.  
  844.         $$t(;)
  845.         $;ident;userid,banner
  846.         $;option;fortran
  847.         $;use;.gtlit
  848.         $;fortran;ascii,xref,optz
  849.         $$select(userid/hdps8.ftn)
  850.         $;execute
  851.         $;prmfl;01,w,r,userid/kermit
  852.         $;prmfl;02,r,s,userid/hdps8.pak
  853.         $;endjob
  854. .pg
  855. After this job runs, copy file "userid/kermit" to "cmdlib/kerm" to
  856. make Kermit available through the command library.
  857. .pg
  858. The packed text file contains a checksum byte on each line, and does not
  859. contain and GRTS character delete codes (@), so it can be sent to
  860. GCOS over a telecommuncations connection using any ASCII file
  861. transfer program.  The installation process
  862. for generating an H* file is the same as described above.
  863. The program will print warning messages if any checksum errors are
  864. encountered.
  865. .sb 1.4.2.~Setting~Local~Options
  866. Kermit-GCOS contains three flags to enable setting local options.
  867. As distributed, all three flags are set to false.
  868. The flags allow setting the default working directory to the
  869. current TSS working directory instead of the USERID when entering
  870. Kermit, enabling the server command for remote directory, and enabling
  871. the server command for remote space information.  You should enable
  872. remote directory only if you have the LC command which is distributed
  873. with the B language package written at the University of Waterloo.
  874. You should enable the remote space command only if you have replaced
  875. the standard Honeywell SMCL command with a version which permits
  876. directing output to a file with "SMCL >filename".
  877. You should enable the working directory switch only if your site
  878. has enabled the Honeywell TSS working directory feature.  Note that
  879. Kermit working directories can be used regardless of the setting of
  880. this switch-- it controls only the default working directory on
  881. entry to Kermit.
  882. .pg
  883. After running HGUNPACK to convert the Kermit packed text file into
  884. an H*, you can use LODX to modify the flag locations to match local
  885. capabilities.  The flag addresses are
  886.  
  887.     Address (Octal)     Content
  888.       000153              wat_lc
  889.       000154              wat_smcl
  890.       000155              wat_cwd
  891.  
  892. All values are initially false (zero).
  893. The following example enables remote directory and working directory
  894. initialization.
  895.  
  896.     *_l_o_d_x_ _/_k_e_r_m_i_t
  897.     patch, save or run? _p
  898.     ?_1_5_3_ _1
  899.     ?_1_5_5_ _1
  900.     ?_<_r_e_t_u_r_n_>
  901.     patch, save or run? _s
  902.     patch, save or run?_<_r_e_t_u_r_n_>
  903.     *
  904. .pg
  905. These values are declared at the beginning of the EXTRN section of
  906. the B source code.
  907. You can adjust the settings for your site there if you recompile
  908. the source code.
  909. .pg
  910. Note that the user documentation describes Kermit with the default
  911. (false) settings for all three switches.
  912. That is, it does not list REMOTE DIRECTORY and REMOTE SPACE as
  913. available server commands, and states that the working directory
  914. is initially set to the USERID.  If you modify these flags, update
  915. the documentation.
  916.