home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / d / mt2ker.h < prev    next >
Text File  |  2020-01-01  |  5KB  |  178 lines

  1. $            1000
  2. COMMANDS     1100
  3. DEFAULT      1200
  4. EXIT         1300
  5. FINISH       1400
  6. GET          1500
  7. LOGOFF       1600
  8. PAR          1700
  9. RECEIVE      1800
  10. SEND         1900
  11. SET          2000
  12. SET_RECEIVE_PARAMETERS           2100
  13. SET_SEND_PARAMETERS    2200
  14. SHOW         2300
  15. /end
  16. /begin $
  17.  
  18.    $mts_command
  19.  
  20. Passes the 'mts_command' to the local MTS for direct
  21. execution.
  22.  
  23. /end
  24. /begin commands
  25. The following commands are available:
  26.  
  27.     Send               -  send file to remote Kermit
  28.     Receive            -  receive a file from a remote Kermit
  29.     Get                -  get a file from a remote Kermit
  30.     Set                -  sets various options
  31.     Show               -  display options
  32.     Exit               -  exits Kermit
  33.     Server             -  put Kermit into remote server mode
  34.     Finish             -  shut down remote Kermit server
  35.     Logoff             -  shut down/logoff Kermit server
  36.     $                  -  sends command to MTS
  37.  
  38. /end
  39. /begin default
  40.  
  41. To quit enter EXIT or STOP or QUIT
  42.  
  43. Enter HELP COMMANDS for a list of commands.
  44.  
  45. Enter HELP name_of_command for details on a particular command.
  46. /end
  47. /begin exit
  48.  
  49.    Exit
  50.  
  51. Stops the local Kermit and tries to shutdown the remote Kermit.
  52. Synonyms for this command include 'Stop' and 'Quit'.
  53.  
  54. /end
  55. /begin Finish
  56.  
  57.    Finish
  58.  
  59. This command shuts down a remote Kermit.
  60.  
  61. /end
  62. /begin Get
  63.  
  64.    Get remote_filename  local_filename
  65.  
  66. Gets the 'remote_filename' from a remote server Kermit. If a
  67. 'local_filename' is given then the incoming file will be placed
  68. in the file by that local name otherwise it will use the remote
  69. filename. If that name is invalid then the incoming file will be
  70. placed into the scratch file -Kermit. If the file already exists
  71. locally it will be emptied be the incoming file data is put into
  72. it.
  73.  
  74. /end
  75. /begin Logoff
  76.  
  77.    Logoff
  78.  
  79. This command shuts down a remote Kermit and logs you off. A
  80. synonym for this command is 'Bye'.
  81.  
  82. /end
  83. /begin Par
  84.  
  85. The PAR= options include:
  86.  
  87.      User - start Kermit in user mode. Normally Kermit starts in
  88.             server mode.
  89.      FileType Binary     - default filetype to binary
  90.      FileType MTS-Binary - default filetype to MTS-Binary
  91.  
  92. Capitals in the above commands are minimum abbreviations. Par
  93. options may be separated by commas or spaces.
  94.  
  95. /end
  96. /begin receive
  97.  
  98.    Receive  local_filename
  99.  
  100. This command is used to receive a file from a remote user KERMIT.
  101. The other Kermit must be in user mode and have issued a 'Send'
  102. command. If no 'local_filename' is specified the incoming file
  103. will use the name passed for the incoming file. If that name is
  104. not a valid MTS name then the file will be placed in the scratch
  105. file -KERMIT. If a 'local_filename' is given then that name will
  106. be used for the incoming file. If the incoming file already
  107. exists it will be emptied.
  108.  
  109. /end
  110. /begin send
  111.  
  112.     Send mts_filename  remote_filename
  113.  
  114. This command is used to send an MTS file to a remote KERMIT. If
  115. only the 'mts_filename' is specified then the file will be sent
  116. to the remote file by the same name. If the optional
  117. 'remote_filename' is given the file is sent to the remote file
  118. having that name.
  119.  
  120. /end
  121. /begin set
  122. The following options may be set using the "Set" command.
  123.  
  124.   Set   filetype  text           - default. File is text file.
  125.         filetype  binary         - file being moved is binary
  126.         filetype  mts-binary     - file moved is MTS file
  127.         binary-blocksize  n      - the line length for binary
  128.                                    data lines (1 to 32767)
  129.  
  130.         debug     on           - Do packet tracing. Put trace
  131.                                    in file Kermit.log
  132.                   off            - set packet tracing off.
  133.         delay     n              - seconds for user Kermit to
  134.                                    wait before sending the first
  135.                                    packet
  136.  
  137.         notify    n              - sets the packet count display
  138.                                    frequency
  139.  
  140.         receive   <parameters>   - see 'set_receive_parameters'
  141.  
  142.         send      <parameters>   - see 'set_send_parameters'
  143.  
  144.         line      *n*            - set remote line to mounted
  145.                                    device *n*
  146.  
  147. /end
  148. /begin set_receive_parameters
  149.  
  150.    Set receive  end-of-line ! packet-length ! padding !
  151.                  padchar ! quote ! start-of-packet !
  152.                  timeout     n
  153.  
  154. Where n is a decimal integer or the decimal representation of an
  155. ASCII character. This option may be used to reset some of the
  156. paramzters that you expect an incoming packet to have. The option
  157. is provided so that you can talk to non-standard Kermits.
  158.  
  159. /end
  160. /begin set_send_parameters
  161.  
  162.    Set receive  end-of-line ! packet-length ! padding !
  163.                  padchar ! quote ! start-of-packet !
  164.                  timeout     n
  165.  
  166. Where n is a decimal integer or the decimal representation of an
  167. ASCII character. This option may be used to reset some of the
  168. parameters that a remote Kemit might expect. The option is
  169. provided so that you can talk to non-standard Kermits.
  170.  
  171. /end
  172. /begin show
  173.  
  174. The current value of any settable option may be displayed by
  175. entering Show followed by the name of the option.
  176.  
  177. /end
  178.