home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / cklker.txt < prev    next >
Text File  |  2020-01-01  |  15KB  |  345 lines

  1. CKLKER.DOC          Documentation for C-Kermit Version 7.0
  2.  
  3.                  Stratus VOS VERSION
  4.  
  5. Applies to version:     7.0.196
  6. This file last updated: Sat Feb 19 17:13:45 2000
  7.  
  8. Authors: Kernie Brashier <kernie@stratosphere.com>
  9.          David Lane <lane@watsun.cc.columbia.edu>
  10.          Frank da Cruz, Christine M. Gianone, Columbia University.
  11.  
  12.   Copyright (C) 1985, 2000,
  13.     Trustees of Columbia University in the City of New York.
  14.     All rights reserved.  See the C-Kermit COPYING.TXT file or the 
  15.     copyright text in the ckcmai.c module for disclaimer and permissions.
  16.  
  17.  
  18. Report problems, suggestions, fixes, etc, to:
  19.  
  20.   kermit-support@columbia.edu (Internet)
  21.  
  22. or:
  23.  
  24.   The Kermit Project
  25.   Columbia University 
  26.   612 West 115th Street
  27.   New York, NY  10025-7799
  28.   USA
  29.  
  30.  
  31. DOCUMENTATION
  32.  
  33. Frank da Cruz and Christine M. Gianone, "Using C-Kermit", Second Edition,
  34. 1997, Digital Press / Butterworth-Heinemann, Woburn, MA, ISBN 1-55558-164-1
  35. US single-copy price: $44.95; quantity discounts available.  Available in
  36. computer bookstores or directly from Columbia University:
  37.  
  38.   http://www.columbia.edu/kermit/manuals.html
  39.  
  40. Features added after version 6.0 was released are documented in the text file,
  41. ckermit2.txt.
  42.  
  43.  
  44. FILES
  45.  
  46. File naming conventions are listed in ckaaaa.txt.
  47.  
  48. VOS installation instructions are in the cklins.txt file.
  49.  
  50.  
  51. INTRODUCTION
  52.  
  53. This document describes how to use C-Kermit on a Stratus Computer, Inc.,
  54. computer running VOS.  For a current list of limitations and restrictions of
  55. VOS C-Kermit, also read the files ckcbwr.txt and cklbwr.txt files provided
  56. with the VOS C-Kermit distribution files.  For Stratus users running FTX, use
  57. the FTX version of C-Kermit.  For Stratus users of Fault-Tolerant HP-UX,
  58. use the HP-UX version of C-Kermit.
  59.  
  60. VOS (Virtual Operating System) is the operating system for Stratus Computer,
  61. Inc.'s fault-tolerant systems. VOS is a multi-user, symmetric multi-processing
  62. OS, targeted toward on-line transaction processing environments.  VOS
  63. currently runs on proprietary hardware using three major processor types, the
  64. Motorola 680x0 series (sometimes referred to as VOS-CISC), the Intel i860
  65. (referred to as VOS-RISC), and the newer Continuum processor (HP PA-RISC 7100
  66. and 8000).  Other than the processors, VOS is the same on all three platforms
  67. and VOS C-Kermit runs on all three kinds of processors.  VOS C-Kermit has been
  68. successfully tested on VOS releases from 10.5 to 14.2.0.
  69.  
  70.  
  71. INSTALLATION
  72.  
  73. Instructions for building and installing VOS C-Kermit are given in the file
  74. cklins.txt in the C-Kermit distribution and in the cklmak.cm command macro.
  75. In general, collect all the files from the C-Kermit distribution and run the
  76. command macro.  The macro compiles the sources, builds a bind control file,
  77. and runs the binder.  The result is a group of program modules, including
  78. kermit.pm, the VOS C-Kermit program for the architecture upon which you built
  79. it.  After checking for errors in the build process and testing C-Kermit, you
  80. may install it in a system-wide application directory.
  81.  
  82.  
  83. USING VOS C-KERMIT
  84.  
  85.  . Preparing Your VOS Session for C-Kermit
  86.  
  87.    . Setting Your Terminal Type
  88.  
  89. Since VOS C-Kermit does not currently provide the FULLSCREEN file transfer 
  90. display, your actual VOS terminal type does not matter to C-Kermit.  If you 
  91. are using a TCP/IP network connection with C-Kermit in local mode, however, 
  92. the TELNET negotiations will send your VOS terminal type to the remote host, 
  93. unless you tell C-Kermit to send another terminal type.  For more information 
  94. about this, see the section on TCP/IP network connections later in this 
  95. document.
  96.  
  97. To set your terminal type, use a command such as:
  98.  
  99. set_terminal_parameters -terminal_type vt100
  100.  
  101. You can find out your current terminal type by using the 
  102. display_terminal_parameters command, and you can get a list of terminal types 
  103. supported on your system with the list_terminal_types command.
  104.  
  105.   . Checking and Setting Your Communications Speed
  106.  
  107. When you use C-Kermit to transfer files in remote mode, it bases its packet 
  108. time-outs on the communications speed of your login terminal as reported by 
  109. VOS.  If you have dialed in at (say) 2400 bps and VOS thinks your speed is 
  110. 19200 bps, file transfers might not work well, or at all.
  111.  
  112. VOS knows your communication speed if your terminal or PC is connected
  113. directly, or through a modem, to a communication port on the VOS system.  If
  114. you give the display_terminal_parameters command, you will see a display.
  115.  
  116. If you have entered the VOS system through a network connection such as a
  117. terminal server or X.25 PAD, or from another host, you are not attached to a
  118. real communications port, so VOS might not know your true communications
  119. speed.  If the speed shown by the display_terminal_parameters command is not
  120. your true communications speed, you should adjust the time-outs used by
  121. C-Kermit before doing remote mode file transfers.  There is more information on
  122. this in the section on file transfers later in this document.
  123.  
  124.  
  125. PROGRAM CONTROL
  126.  
  127. VOS users might find C-Kermit's command processing to be somewhat unfamiliar.
  128. It lacks a number of VOS features and has others that VOS does not.  For
  129. example, it does not make use of the s$parse_command routine, but it does
  130. provide command completion and help during command entry.  C-Kermit's user
  131. interface is intended to be compatible with other Kermit programs, rather than
  132. with any particular operating system.  This applies to the VAX/VMS, UNIX, and
  133. other versions of C-Kermit as well as to the VOS version.  Once you have
  134. learned to control one Kermit program, you will also be familiar with most
  135. others, such as MS-DOS Kermit for PCs.
  136.  
  137. C-Kermit is a character-mode application designed to be used from a terminal.
  138. If you are accessing your VOS system from a terminal or terminal emulator, you
  139. can start the Kermit program just as you would most other programs, that is,
  140. by typing "kermit" followed, optionally, by command line arguments.  Then you
  141. can have an interactive dialog with C-Kermit, using your keyboard and screen.
  142.  
  143. Be aware that since C-Kermit does not use s$parse_command, it does not
  144. recognize the -form or -usage arguments.  To get help on command line
  145. arguments, use kermit -h.  To get help on interactive commands, type "help"
  146. or "?" at the C-Kermit prompt.
  147.  
  148.  
  149. C-KERMIT COMMAND-LINE ARGUMENTS
  150.  
  151. Uppercase command-line arguments are lowercased by VOS before passing them
  152. to Kermit, which of course results in a parse error or the wrong command being
  153. executed.  To prevent this, enclose uppercase command-line arguments in
  154. single quotes, e.g.
  155.  
  156.   kermit '-Y'
  157.  
  158. Also use single quotes for grouping of multiple "words" into a single
  159. command-line argument, e.g.:
  160.  
  161.   kermit '-C' 'take oofa.ksc, exit'
  162.  
  163.  
  164. INTERRUPTING C-KERMIT
  165.  
  166. C-Kermit can be interrupted at its prompt, in the middle of typing a command, 
  167. during execution of any command except CONNECT or remote-mode file transfer, 
  168. and during local-mode file transfer by typing your interrupt key (usually 
  169. Ctrl-C), if it is enabled.  C-Kermit can also be interrupted by the Break key 
  170. at these times and during CONNECT, if the Break key is enabled.
  171.  
  172.  
  173. RUNNING C-KERMIT IN COMMAND MACROS
  174.  
  175. C-Kermit reads its input from the terminal port of a process, not from 
  176. command_input or default_input.  For this reason, the &attach_input directive 
  177. in a command macro is not effective for C-Kermit.  C-Kermit will still try to 
  178. read from your terminal.  The best way to have a command macro send commands 
  179. to C-Kermit is to build a C-Kermit script file and have the command macro 
  180. start C-Kermit with the script, using the -f command line argument.  This will
  181. work in login and sub-process processes, and in batch (both started processes 
  182. and batch queue processes).
  183.  
  184.  
  185. C-KERMIT INITIALIZATION FILES
  186.  
  187. VOS C-Kermit uses the initialization file (home_dir)>ckermit.ini, but 
  188. C-Kermit can be built with a system-wide initialization file.  For more 
  189. information on this, see the ckccfg.doc file. 
  190.  
  191. The standard initialization file automatically executes the user's own 
  192. customization file ckermod.ini, if it exists in the user's home directory, so 
  193. each user can create a personalized C-Kermit environment without having to 
  194. duplicate the common material from the standard initialization file.
  195.  
  196. If you have a dialing directory file, it should be installed in your home 
  197. directory, with the name ckermit.kdd. If you have a services directory file, 
  198. it goes in the same place under the name ckermit.ksd.
  199.  
  200. C-Kermit uses what other systems call environment variables, which do not 
  201. exist under VOS.  To simulate this, VOS C-Kermit uses a file under the home 
  202. directory called ckermit.env.  This file is a list of variables and their 
  203. values, separated by an equals sign (don't put spaces around the equals).  An
  204. example is included with the C-Kermit distribution.
  205.  
  206.  
  207. TERMINAL CONNECTION
  208.  
  209.  . The CONNECT-Mode Escape Character
  210.  
  211. VOS C-Kermit's default CONNECT-mode escape character is Ctrl-\
  212. (Control-Backslash).  Terminal emulation is provided by your terminal,
  213. workstation terminal window, or terminal emulator.  VOS C-Kermit recognizes
  214. keystrokes as single 7- or 8-bit bytes.  8-bit codes can be used if you have a
  215. keyboard capable of generating them, if C-Kermit has a clean 8-bit path to the
  216. keyboard, if you have told C-Kermit to SET COMMAND and TERMINAL BYTESIZE 8,
  217. and if your VOS terminal has the bits_per_char attribute set to 8, as shown by
  218. the update_channel_info command.  Be aware that VOS sometimes thinks you have
  219. an 8-bit terminal connection when you do not; often this is because of a
  220. network connection of which VOS is unaware.
  221.  
  222.  
  223. NETWORK CONNECTIONS
  224.  
  225. VOS C-Kermit can be built with support for TCP/IP and X.25 network
  226. connections.  To use either of these, you must have VOS support for that type
  227. of network.  To see what software support you have on your system, use the
  228. display_software_purchased command.  If C-Kermit is built with both TCP/IP and
  229. X.25 network support, TCP/IP is the default.  If only one network type is
  230. included in the build, then that one is the default.  To change the type of
  231. network, use the SET NETWORK command.  The SET HOST command will use the
  232. current network type to make a network connection.  Use the SHOW NETWORK
  233. command to see what the network type is currently set to.
  234.  
  235.  . TCP/IP
  236.  
  237. The VOS support required for TCP/IP connections is the OS TCP/IP product set.
  238. As a simple test, change directories to the run-time library using the 
  239. command:
  240.  
  241. change_current_dir (master_disk)>system>tcp_os>object_library
  242.  
  243. If this directory exists on your system, you can build C-Kermit with TCP/IP 
  244. support.  Note that C-Kermit uses the OS TCP/IP product, not the firmware 
  245. resident TCP/IP product. The TCP/IP interpretation of the SET HOST command
  246. is well documented in the "Using C-Kermit" book.
  247.  
  248.  . X.25
  249.  
  250. The VOS support required for X.25 connections is X.25 and X.29 networking. 
  251. Almost every VOS system has this.  The simplest way is just to build C-Kermit 
  252. with X.25 enabled and try it.
  253.  
  254. VOS C-Kermit supports both X.29 and STS connections.  To specify an X.29 
  255. connection, use the gateway name and address for the host name, separating
  256. them with a colon, like:
  257.  
  258.   set host sprintgate:311012300456789
  259.  
  260. For an STS connection, use the either the full module name to have StrataNet 
  261. resolve the full module name, like:
  262.  
  263.   set host %s1#m1
  264.  
  265. or use just the system name but include a percent sign to get a system 
  266. connection, like:
  267.  
  268.   set host %s1
  269.  
  270. If you leave out the percent sign, C-Kermit will interpret the system name as 
  271. a gateway name with no address given, and it probably won't connect.  For STS
  272. connections, you may use an optional extension separated by a colon, as:
  273.  
  274.   set host %s1#m1:100
  275.  
  276.  
  277. FILE TRANSFER
  278.  
  279.  . Setting Time-outs
  280.  
  281. If you are accessing VOS through a network connection and VOS thinks your 
  282. terminal communications speed is something other than what it really is, 
  283. you should change the time-outs C-Kermit will use for remote mode file 
  284. transfers.  The correct value depends on the communications speed and the size 
  285. of the packets you are using.  As a rule of thumb, use twice the packet size 
  286. in bytes divided by the communications speed in bytes per second.  To find the 
  287. bytes per second speed of your line, just divide the bits per second value by 
  288. ten.  It is better to err on the side of too long a time-out than too short, 
  289. so if the result you get seems a little short or if your transfers keep 
  290. failing with time-outs, add a few seconds.
  291.  
  292.  . File Organizations
  293.  
  294. VOS has a varied assortment of file organizations.  Kermit as a general rule 
  295. only understands two types of files, text and binary.  You should tell 
  296. C-Kermit which type of file, text or binary, you are working with, since it 
  297. cannot tell with any deal of accuracy. Normally, text files created by EMACS
  298. or EDIT are sequential.  Binary files under VOS can be fixed, relative, 
  299. or stream.  Sequential files can be binary, and stream files can be text.
  300. Fixed files can be created with "holes" if they are created in random access.
  301. VOS C-Kermit does not understand indexes, character set files, extent files, 
  302. or random files with missing records.  In practice, Kermit works well for text 
  303. files, and for binary files from other systems.  Binary files that originated
  304. on VOS may need some massaging when they make it back to a VOS system.
  305.  
  306.  . Sending Files
  307.  
  308. When sending, VOS C-Kermit opens any file organization and uses the current
  309. Kermit file type (the default is text).  Use the SHOW FILE command to see what
  310. C-Kermit thinks the current file type is.  For text files, VOS C-Kermit
  311. appends a CRLF to the end of the result of each read operation.  This is
  312. consistent with the Kermit "text" format.  When sending files in binary mode,
  313. VOS C-Kermit does not add any information to the end of the record; the data
  314. is simply sent without any conversions or translations.  For binary stream
  315. files, VOS C-Kermit uses raw reads; for binary transfers of any other file
  316. organization, and for text transfers of any file organization, sequential
  317. reads are done.
  318.  
  319. There is a general problem with transfer of VOS files through non-VOS systems
  320. (e.g. by ftp) that is not specific for Kermit.  The Stratus community has a
  321. solution for this, called "bundle.cm," a utility that is available free from
  322. ftp://ftp.stratus.com/pub/vos/utility.  This utility is only for
  323. Stratus-to-Stratus use; it converts VOS files so they can pass through and be
  324. stored on non-VOS systems.  Such bundles must eventually be transferred to an
  325. Status destination where "unbundle.cm" extracts the original VOS files intact.
  326.  
  327. Note that ckltxt.cm and cklxtr.cm (and the corresponding .pm's) that come with
  328. VOS C-Kermit are NOT suitable for this purpose; they work for executable
  329. program images, but not necessarily for other kinds of files.
  330.  
  331.  . Receiving Files
  332.  
  333. When receiving files, C-Kermit creates text files as sequential, and binary
  334. files as stream.  If the other Kermit can send attribute packets with file
  335. types, this lets VOS C-Kermit create files reasonably for you.
  336.  
  337. If a file arrives that has the same name as an existing file, VOS C-Kermit may
  338. rename one of the files, depending on the SET FILE COLLISION setting.  When
  339. renaming files, VOS C-Kermit uses the "generation" numbering scheme similar to
  340. UNIX C-Kermit.  For example if the file "oofa.txt" needed to be renamed,
  341. C-Kermit would rename it to "oofa.txt.~1~" with increasing numbers until there
  342. is no collision with an existing name.
  343.  
  344. (End of CKLKER.DOC)
  345.