home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / z88ker2.zip / Z129A.TXT next >
Text File  |  1996-12-27  |  14KB  |  362 lines

  1. KERMIT-88
  2.  
  3.  
  4. 1. Kermit-88 is the Z88 implementation of the widely used Kermit file 
  5. transfer program.  Copyright of Kermit is retained by the Columbia 
  6. University Centre for Computing Activities, although anyone is free 
  7. to implement a Kermit on a given machine. This must not be done for 
  8. commercial purposes however.
  9.  
  10. Kermit-88 is supplied as a single program file "KERMIT" which is 
  11. CHAINed from BBC BASIC. Kermit-88 will not run on a machine with only 
  12. 32k of RAM. It MAY run on a 64k machine, but testing has been carried 
  13. out on a 160k machine (32k + 128k) without problems. Kermit is 
  14. actually written in 8080 assembler on a CP/M machine. It is 
  15. impractical to distribute the source files, although they will 
  16. shortly be available from Lancaster University Kermit distribution 
  17. centre.
  18.  
  19.  
  20. 2. KERMIT-88 Commands
  21.  
  22. KERMIT-88 uses the DECSYSTEM-20 keyword style command  language.    
  23. Each keyword  may  be  abbreviated  to its minimum unique length.  
  24. "?" may be typed to request a menu of the available options for the  
  25. current  field at  any  point in a command.  ESC may be typed at any 
  26. point in a command to fill out the current keyword ; if  sufficient  
  27. characters have  not  been  typed to identify the current field 
  28. uniquely, KERMIT-88 will sound a beep and allow you to continue from 
  29. that point. If a "?" is accepted and the prompting system does not 
  30. intervene, it indicates that it has been accepted as a filename 
  31. wildcard character (matching a single character)  E.g.  SEND ?   will 
  32. send all files in the current directory having a filename of 1 
  33. character.
  34.  
  35.  
  36. Capabilities:
  37.  
  38. As well as the ability to transfer files, Kermit-88 can also behave 
  39. as a terminal emulator (CONNECT) and can send text files to a 
  40. non-Kermit system (TRANSMIT). It is able to execute command files 
  41. written in Kermit command language (TAKE) and has limited facilities 
  42. for scripts to perform "conversations" with a  remote host. These can 
  43. be used for login scripts or for running remote software (see STRING, 
  44. INPUT, PAUSE). Kermit-88 makes local file management easier by 
  45. providing some basic operating system functions (CD/CWD, DIRECTORY 
  46. and TYPE).
  47.  
  48. File transfer occurs in one of two ways, depending on the type of 
  49. Kermit we are talking to. For two micro based Kermits, the SEND and 
  50. RECEIVE commands are used. When we are accessing a larger system, the 
  51. remote Kermit will normally have a SERVER mode. This enables 
  52. everything to be driven from the micro end. File transfer is 
  53. accomplished with the SEND and GET commands. (See also REMOTE).
  54.  
  55. Commands at a glance:
  56.  
  57. BREAK
  58.     Send a Break condition to the remote system.
  59.     (This does nothing as at Version 1.04)
  60.  
  61. BYE     
  62.     When  talking to a remote Kermit Server, this command shuts down 
  63.     the server and logs it out, and also  exits  from  Kermit-88  to 
  64.     BASIC command level. (Not yet implemented)
  65.  
  66. CD/CWD directory-name
  67.     Change to the specified directory. If no name is given the 
  68.     current directory is displayed. You can also change to a device 
  69.     name
  70.  
  71. CONNECT
  72.     Establish a terminal connection to the host connected to the  
  73.     serial port, i.e. pass all typein to the serial port and display 
  74.     all input from the serial port on the screen.  Also,  emulate a 
  75.     DEC VT52 to allow cursor control, screen clearing, etc, if 
  76.     TERMINAL is set to VT52 (see below), in which case you should 
  77.     also set your terminal type on the remote host to VT52.  The 
  78.     escape character is initially set to <>\ (diamond backslash).  
  79.     When you issue the CONNECT command, the escape sequence is 
  80.     displayed to show you how to get back. The escape sequence is 
  81.     generally an uncommonly used control character, like <>-backslash 
  82.     or <>-rightbracket (<>-]) followed by a single letter "command". 
  83.     Q   Suspend logging (only if logging is switched on)
  84.     R   Resume logging
  85.     C   Close Connection, return to Kermit-88> command level. 
  86.     S   Display Status of connection, but maintain remote connection.
  87.     ?   List available single-character commands.
  88.     0   (zero) Send a null (0) character.
  89.     B   Send a BREAK signal.  
  90.     <>\ (or  whatever  - a second copy of the escape character)
  91.         Send the escape character itself to the remote host.
  92.  
  93. DIRECTORY [filespec]
  94.     This provides a directory listing of the specified files.  If no 
  95.     files are specified, all files in the current directory are 
  96.     listed.
  97.  
  98. EXIT
  99.     Exit from Kermit back to BBC BASIC. Panel settings are restored 
  100.     to their values when Kermit was entered. (Affects BAUD, PARITY 
  101.     and XON/XOFF)
  102.  
  103. FINISH
  104.     Like LOGOUT, but shuts down the remote server without logging it 
  105.     out.  Leaves you at Kermit-88 command level; subsequent  CONNECT 
  106.     commands will put you back at host system command level.
  107.  
  108. GET remotefile [localfile]
  109.     When  Kermit-88  is  talking to a Kermit Server on the host, you 
  110.     should use the GET command to request the server to send files to 
  111.     you, for example:  
  112.  
  113.     get k*.hlp
  114.  
  115.     You may optionally specify localfile to force a local name, 
  116.     otherwise Kermit attempts to build a filename based on the remote 
  117.     name.
  118.  
  119. HELP
  120.     Shows available commands. (Same as "?")
  121.  
  122. INPUT time-delay string
  123.     Sets a string and a time delay in seconds, then waits to receive 
  124.     them from the remote system. This command is meant for use in 
  125.     TAKE files. Note that characters which cannot be entered from the 
  126.     keyboard can be entered in octal (See STRING)
  127.         
  128. LOG filespec
  129.     When CONNECTed to a foreign host as a terminal, log the terminal 
  130.     session  to the  specified  file. The log file is closed when the 
  131.     connection is closed  by  typing the  escape  character  followed 
  132.     by the single-character command "C". The default LOG file name is 
  133.     "KERMIT.LOG"
  134.  
  135. LOGOUT
  136.     Like BYE, but leaves you at Kermit-88 command level.
  137.  
  138. PAUSE time-delay
  139.     Waits specified number of seconds before continuing. Its main 
  140.     purpose is to introduce delays in TAKE files (while dialling a 
  141.     number for example).
  142.  
  143. RECEIVE [localfile]
  144.     Receive file(s) from the remote Kermit.  If localfile is 
  145.     specified, use this name, otherwise store  it under the name 
  146.     provided in the file header supplied by the remote host. If the 
  147.     name is illegal, Kermit uses as many legal characters from the 
  148.     name as possible (see the description of SET FILE-WARNING below).  
  149.     If the file exists, and FILE-WARNING is ON, it warns the user and 
  150.     tries to build a unique name for the file by  adding numeric 
  151.     characters to the end.
  152.  
  153. REMOTE command
  154.     Sends command to a remote Kermit server.  Not all servers support 
  155.     all commands so results can be varied.  Current commands which 
  156.     KERMIT-88 can send are:
  157.     REMOTE DIRECTORY  - list remote files
  158.     (Not implemented at 1.04)
  159.  
  160. SEND localfile [remotefile]
  161.     Send  file(s) specified by localfile to the remote Kermit.  
  162.     Localfile may contain wildcards.  If remotefile is specified, the 
  163.     remote Kermit will attempt to save the file as remotefile as 
  164.     opposed to localfile.  Note that if localfile contains wildcards 
  165.     and remotefile is specified, the remote Kermit will try to save 
  166.     all files as remotefile. See  RECEIVE for information on how 
  167.     Kermit deals with filename conflicts.
  168.  
  169. SET parameter [value]
  170.     Set  the  specified  parameter to the specified value.  
  171.     Possible settings:
  172.  
  173.     AUTORECEIVE ON | OFF
  174.         Allows several files to be received without having to type 
  175.         RECEIVE on the receiving machine. The first packet from the 
  176.         sender will be lost.
  177.  
  178.     BAUD-RATE value
  179.         Change the  baud rate of the communications port. The value  
  180.         is  the numeric  baud  rate (300, 9600, etc.) desired.  
  181.         Type SET BAUD followed by a question mark for a list of 
  182.         supported baud  rate@s. NOTE: Kermit uses whatever is set y 
  183.         the sytem Panel- If you SET the BAUD-RATE values, you 
  184.         must be aware that this affects the system, and other 
  185.         applications. That is, if you suspend KERMIT having changed 
  186.         any of the port settings the new settings would apply to 
  187.         (say) a copy of Pipedream that may be about to print. When 
  188.         you EXIT from KERMIT, the original Panel settings are 
  189.         restored.
  190.  
  191.     BLOCK-CHECK-TYPE 1 | 2 | 3
  192.     The options are:
  193.         1-CHARACTER-CHECKSUM
  194.         Normal, default, standard 6-bit checksum.
  195.  
  196.         2-CHARACTER-CHECKSUM
  197.         A 12-bit checksum encoded as two characters.
  198.  
  199.         3-CHARACTER-CRC-CCITT
  200.         A  16-bit  CCITT-format Cyclic Redundancy Check, encoded as 
  201.         3 characters.
  202.  
  203.         The 2 and 3 character options should only be used  under 
  204.         conditions  of extreme line noise.  Many implementations of 
  205.         KERMIT only support the single character checksum.
  206.  
  207.     DEBUG   ON | OFF.
  208.         Enables/disables displaying of packets on the screen during 
  209.         file transfer.
  210.  
  211.     ESCAPE
  212.         Change the escape character to exit from terminal 
  213.         connections.    Kermit-88  will  prompt you for the new 
  214.         escape character, which you enter literally. Eg. to change 
  215.         the character to <>-] type SET ESCAPE [enter] , then press 
  216.         diamond, then ].
  217.  
  218.     FILE-MODE   ASCII | BINARY
  219.         Tells KERMIT-88 what kind of file it is sending, so that 
  220.         KERMIT can correctly define the ends of lines. SET FILE 
  221.         BINARY means to send all the data exactly as it appears in 
  222.         the file. SET FILE ASCII  is  used  for  text files.
  223.  
  224.     FLOW-CONTROL ON | OFF
  225.         Enables or disables XON/XOFF flow control. See SET 
  226.         BAUD-RATE for implications of changing system communication 
  227.         settings.
  228.  
  229.     LOCAL-ECHO ON | OFF
  230.         When you CONNECT to a remote host, you must set LOCAL- ECHO 
  231.         ON if the host is half duplex, OFF if full duplex. OFF by 
  232.         default.
  233.  
  234.     LOGGING  ON | OFF
  235.         Enable or disable file logging during CONNECT sessions. The 
  236.         log file name is set using the LOG command.
  237.  
  238.     PARITY value
  239.         Sets  parity  for outgoing characters to one of the 
  240.         following: NONE, SPACE, MARK, EVEN, or ODD.  On  input,  if 
  241.         parity  is  NONE,  then  the  8th bit is kept (as data), 
  242.         otherwise it is stripped and ignored.  The  parity  setting 
  243.         applies to both terminal connection and file transfer.  If 
  244.         you set parity to  anything  other  than  none, KERMIT-88  
  245.         will  attempt  to  use "8th bit prefixing" to transfer 
  246.         binary files.  If  the  other  KERMIT  is  also capable  of  
  247.         8th bit prefixing, then binary files can be transferred 
  248.         successfully; if not, the 8th  bit  of  each data  byte  
  249.         will be lost (you will see a warning on your screen if this 
  250.         happens). See SET BAUD-RATE for implications of changing 
  251.         system communications settings.
  252.  
  253.     RECEIVE parameter value
  254.         SET a receive parameter
  255.         PAD-CHAR
  256.           Sets the pad character to use while receiving files.
  257.           You will be prompted for the character literally.
  258.         PADDING value
  259.           Set the number of pad characters to use while
  260.           receiving files.
  261.         START-OF-PACKET
  262.           Set the default start of packet character for 
  263.           receiving files (See SET SEND START-OF-PACKET for
  264.           considerations.) Default is <>A
  265.  
  266.     SEND parameter value
  267.         SET a send parameter
  268.         PAD-CHAR
  269.           Sets the pad character to use while sending files.
  270.           You will be prompted for the character literally.
  271.         PADDING value
  272.           Set the number of pad characters to use while sending 
  273.           files. 
  274.  
  275.         START-OF-PACKET
  276.           Set the default start of packet character for sending 
  277.           files. The SOP character is Control-A by default, but it 
  278.           may be necessary to change this on some networks. Choose 
  279.           a control character not otherwise used, ie not <>-M 
  280.           (return) <>-J (linefeed) <>-H (backspace) <>-G (bell) or 
  281.           <>-I (tab).
  282.  
  283.     TACTRAP
  284.         Set the TAC intercept character. If you are attached to a 
  285.         TAC (or indeed any other piece of equipment which "eats" a 
  286.         particular character) you can specify the character to 
  287.         Kermit so that it will double it up during transmission.
  288.  
  289.     TERMINAL VT52 | DUMB
  290.         When connected as a terminal to a foreign host, controls 
  291.         whether the micro emulates  a VT52  or runs in "native 
  292.         mode".    TERMINAL is VT52 by default. 
  293.  
  294.     TIMER ON | OFF
  295.         Enable  or  disable the timer.  The timer is off by 
  296.         default, because in the normal case KERMIT-88 is 
  297.         communicating  with  a  mainframe  KERMIT  that has its own 
  298.         timer.  Mainframe KERMIT timers tend to be more  precise or  
  299.         adaptable  to  changing  conditions.  You should SET TIMER 
  300.         ON if you are communicating  with  a  KERMIT  that does  
  301.         not have a timer.  You should SET TIMER OFF if you are 
  302.         communicating over a network with long delays.
  303.  
  304.     WARNING ON | OFF
  305.         Warn  user  of  filename  conflicts when receiving files 
  306.         from remote host, and attempt to generate a unique  name by  
  307.         adding  numeric characters  to  the  given name. ON by 
  308.         default.
  309.  
  310. SHOW
  311.     Shows various settable parameters.
  312.  
  313. STATUS
  314.     A synonym for SHOW
  315.  
  316. STRING text
  317.     Sends a character string to the remote system. It is intended for 
  318.     use in TAKE files. The text can include octal control characters 
  319.     in the form \nnn where nnn can be less than or equal to \377. Eg. 
  320.     \015 is a carriage-return character.        
  321.  
  322.  
  323. TAKE filespec
  324.     Takes commands from the specified file as if they had been typed 
  325.     at the keyboard. This is useful if you want to set up a batch job 
  326.     to dialup a remote machine for example. The TAKEfile must be an 
  327.     ASCII file such as a Pipedream file saved with Save Plain Text 
  328.     option set to Yes. An automatic TAKE is performed when Kermit is 
  329.     started, taking commands from KERMIT.INI if it exists in the 
  330.     current directory. This is useful for setting up a commonly used 
  331.     baud-rate, parity etc.
  332.  
  333. TRANSMIT filespec reply-string
  334.     Send  the  specified  file to the system on the other end of the 
  335.     connection as though it were being typed at  the  terminal,  one 
  336.     line  at  a  time.    No  KERMIT protocol is involved.  You must 
  337.     manually confirm each line and Kermit waits until it receives the 
  338.     reply-string before continuing. This is useful for sending files 
  339.     to systems  that don't have a KERMIT program.  During 
  340.     transmission, you may type the escape  character  followed  by  
  341.     one  of  these single-character commands:
  342.     C   Cease transmission 
  343.     R   Re-transmit the previous line
  344.  
  345. TYPE filespec
  346.     Types an ASCII text file to the screen, pausing every 8 lines. 
  347.     This is meant for quickly looking at TAKE files or other plain 
  348.     text files. Pipedream documents are not particularly legible.
  349.  
  350. VERSION
  351.     Show  the  name, edit number, and edit date of several of the 
  352.     modules that make up Kermit-88.
  353.  
  354.  
  355. Wally Wright
  356. 4 Welland Court
  357. ST.NEOTS
  358. Cambridgeshire
  359. PE19 3JZ
  360.  
  361. Tel. (0480) 212904
  362.