home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ckl196.zip / cklker.txt < prev    next >
Text File  |  1999-12-05  |  15KB  |  335 lines

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