home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / old / ckermit5a190 / cklker.doc < prev    next >
Text File  |  2020-01-01  |  14KB  |  296 lines

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