home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / atarist / astkerdoc.txt < prev    next >
Text File  |  2020-01-01  |  8KB  |  189 lines

  1. 1. GEM ATARI/ST Kermit
  2.  
  3. Author:           Bernhard Nebel, Technische Universitaet Berlin
  4. Contributions by: Bill Catchings, Bob Cattani, Chris Maio (Columbia Univ.),
  5.                   who wrote the 'minimal' C-Kermit and
  6.                   Glean Seaton, Robert A. Larson,
  7.                   who modified from UNIX Kermit to OS9 Kermit
  8. Language:         DRI C
  9. Documentation:    Bernhard Nebel
  10. Version:          1.02
  11. Date:             June 1986
  12.  
  13. GEM Kermit capabilities at a glance:
  14.  
  15.   Local operation:                 Yes
  16.   Remote operation:                No
  17.   Transfer text files:             Yes
  18.   Transfer binary files:           Yes
  19.   Wildcard send:                   Yes
  20.   ^X/^Y interruption:              Only simple abort
  21.   Filename collision avoidance:    Yes
  22.   Can time out:                    Yes
  23.   8th-bit prefixing:               Yes
  24.   Repeat count prefixing:          No
  25.   Alternate block checks:          No
  26.   Terminal emulation:              Provided by accessory
  27.   Communication settings:          Yes (RS232 par. by accessory)
  28.   Transmit BREAK:                  If accessory can
  29.   Handshaking (for IBM):           Yes
  30.   Transaction logging:             Yes
  31.   Session logging:                 Yes
  32.   Raw transmit:                    Yes
  33.   Act as server:                   No
  34.   Talk to server:                  Yes
  35.   Advanced server functions:       No
  36.   Advanced commands for server:    No
  37.   Local file management:           Yes
  38.   Handle attribute packets:        No
  39.   Command/init files:              Yes (only for non-RS232 par.)
  40.   Command macros:                  No
  41.  
  42. GEM Kermit is a program that implements the KERMIT file transfer protocol
  43. for ATARI/ST micros running GEM. It is written in DRI C. The implementation
  44. is based on OS9 Kermit, Version 1.5, a modified 'minimal' implementation
  45. of Kermit in C. The main advantage of GEM Kermit compared with DRI's
  46. Kermit is that it is able to talk with IBMs and that it uses the GEM user
  47. interface.
  48.  
  49.  
  50. 2. Program operation
  51.  
  52. GEM Kermit can be evoked as any other GEM application just by clicking
  53. on the icon twice. A resource file 'KERMIT.RSC' has to be present in the
  54. same directory as Kermit resides for proper opertation. Otherwise the
  55. program will abort with an error message. If a file 'KERMIT.INI' exists
  56. it is used to setup the communication parameters (except for RS232
  57. parameters).
  58.  
  59. After the program is started the familiar desktop and a menu bar should
  60. appear on the screen. Now you can start to transfer everything
  61. back and forth between your ATARI/ST and other machines. If it does
  62. not work, you probably forgot to connect both with the appropriate
  63. wires (use the RS232/modem plug!), or some communication parameters are
  64. wrong, or you are really stupid (or there is a bug in the program).
  65. In any case it might be helpful to study the next few chapters.
  66.  
  67. 3. Commands
  68.  
  69. Kermit commands are evoked by selecting a drop down menu item. These
  70. items will be discussed briefly in the following.
  71.  
  72. 3.1 DESK menu
  73.  
  74. That is the familiar DESK menu. The first item (KERMIT-Info) tells you
  75. something about the program itself and how I can be reached by e-mail.
  76. The other items should give you the capabilty to configure the RS232
  77. interface and to open a virtual terminal connection to the other
  78. computer. You need both of these accessories because GEM-Kermit cannot
  79. set the RS232 parameters by its own and it does not supply a virtual
  80. terminal!
  81.  
  82. By the way, for users of IBMs I included an IBM terminal accessory
  83. which works in line mode. The messages of this program are still in German,
  84. therefore you either have to change and recompile it, or you have to learn
  85. German.
  86.  
  87. 3.2 FILE menu
  88.  
  89. This menu gives you the ability to DELETE, RENAME and TYPE files.
  90. Files are selected by the standard file selection dialog box.
  91. Be aware that wilcards in a delete command do not have the expected
  92. effect, but they will select the first file matching the specification.
  93. Additionally, you can get information about free space on a disk.
  94. And of course, the QUIT command is also present in this menu.
  95.  
  96. 3.3 TRANSFER menu
  97.  
  98. All transfer commands (SEND, RECEIVE, GET, PUT, LOGOUT server, QUIT server)
  99. can be found in this menu. Files and directories for these commands are
  100. again selected by the standard file selection dialog box. SEND and PUT
  101. handle wildcards in the right way. RECEIVE and GET will use a file
  102. specification as a name for the first file to receive, all other files
  103. will be stored under names sent by the remote host. If you do not
  104. input a file name also the first file transferred will be stored under
  105. the name provided by the remote host. In any case the files are stored
  106. in the selected directory.
  107.  
  108. 3.4 OPTION menu
  109.  
  110. In this menu commands for changing switches (e.g. BINARY TRANSFER, IBM
  111. MODE), starting and stopping logs (DEBUG and SESSION LOG), saving and
  112. restoring parameters (SAVE and RESTORE STATE) as well as for evoking a
  113. parameter changing dialog are found. The details of these commands are not
  114. provided here, the interested user will find information about these
  115. in other Kermit publications or will learn how to use them by trial and
  116. error, hopefully. The only thing I will mention is that the RS232
  117. communication parameters (e.g. baud rate, byte format) are not included.
  118. They must be changed using the appropriate accessory.
  119.  
  120. 4. How to install GEM Kermit
  121.  
  122. If you got the program and the resource file (for German or English)
  123. as a binary excutable file, perhaps as a uudecoded file, everything
  124. should work out fine. Otherwise all the files with the AST prefix
  125. have to be compiled and linked (using ASTKER.INP). The resource
  126. file must be renamed to KERMIT.RSC and you are ready.
  127. Currently, the following files are necessary:
  128.  
  129.  ASTKER.C      main program
  130.  ASTFIO.C      file I/O on the ATARI
  131.  ASTGEM.C      GEM interface
  132.  ASTGMO.C      GEM interface for changing options
  133.  ASTGMT.C      GEM interface for transfer
  134.  ASTGCM.C      QUIT/LOGOUT server
  135.  ASTGET.C      GET from server
  136.  ASTSEN.C      SEND protocol
  137.  ASTREC.C      RECEIVE protocol
  138.  ASTUTL.C      utility functions for Kermit protocol
  139.  ASTINC.H      common include file for all Kermit modules
  140.  ASTOBJ.H      object definitions for GEM Kermit
  141.  ASTKER.INP    input file for link batch file
  142.  ASTKER.BAT    link batch file
  143.  ASTODE.UUE    (uuencoded) for RCS (if you want to change the resource)
  144.                results in ASTOBJ.DEF
  145.  ASTOBJ.UUE    (uuencoded) the German resource file or
  146.                results in ASTOBJ.RSC
  147.  ASTOBE.UUE    (uuencoded) the English resource file
  148.                results in ASTOBE.RSC
  149.                one of them must be renamed to KERMIT.RSC
  150.  ASTKER.UUE    (uuencoded) binary executable
  151.                results in KERMIT.PRG
  152.  
  153. The following files of the DRI C kit have to be modified:
  154.  GEMSTART.S    enlarge stack to 2k bytes and assemble
  155.  DEFINE.H      introduce the definition of NULL as 0L and change NIL to 0L
  156.  
  157. The above mentioned IBM terminal accessory consists of the following files:
  158.  ASTTTY.C      source file
  159.  ASTTTY.UUE    (uuencoded) binary
  160.                results in IBMTTY.ACC
  161.  
  162. 5. Problems
  163.  
  164. - When communicating with the TU Berlin IBM you better select 8-bit mode,
  165.   because otherwise the '{' will be eaten. This is not an bug in Kermit
  166.   or GEMDOS but the IBM sends '{' without setting the sign bit.
  167.  
  168. - If you move the mouse during a transfer, it can happen that key
  169.   clicks appear. I don't know why.
  170.  
  171. 6. Wish list
  172.  
  173. I spent a lot of time to adopt OS9 Kermit to GEM. As a matter of fact,
  174. I wrote more code than I used from the original program. Finally, I
  175. discovered that it would have been worth the effort to use the more
  176. recent C-Kermit. However, it's done now. If there is anybody out there,
  177. s/he is invited to adopt C-Kermit to GEM using my first hack.
  178. Besides that, there are a lot of other wishful improvements I probably
  179. will not work on:
  180.  
  181. - GEM Kermit seems to be rather slow on fast connections, i.e. 100-150
  182.   bytes/secs on a 9600 baud connection.
  183.  
  184. - It would be nice to get the logs on a scroll window.
  185.  
  186. - The RS232 parameters should also be saved and restored by the STATE SAVE
  187.   and RESTORE commands. However, I was  not able to figure out how this
  188.   could be done.
  189.