home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / uniflex.zip / ufkermdoc.txt < prev    next >
Text File  |  1993-08-23  |  50KB  |  1,211 lines

  1.      UniFLEX KERMIT Users guide
  2.  
  3.  
  4.                                   UniFLEX Kermit
  5.                                   --------------
  6.  
  7.  
  8.  
  9.  
  10.      Author:      Jur van der Burg
  11.                   Nettelhorst 56
  12.                   2402 LS  Alphen aan den Rijn
  13.                   The Netherlands
  14.      Language:    C (Compiled with McCosh compiler Version 27.0:2)
  15.      Version:     1.4
  16.      Date:        Januari 11, 1989
  17.  
  18.  
  19.      KERMIT for UniFLEX has it's roots in the UNIX version. It is enhanced in 
  20.      several ways, such as data logging, server mode etc.
  21.  
  22.      UniFLEX KERMIT has most of the features specified in the KERMIT Protocol 
  23.      Manual.
  24.  
  25.  
  26.      UniFLEX kermit capabilities at a glance:
  27.  
  28.      Local operation:                        Yes
  29.      Remote operation:                       Yes
  30.      Transfers text files:                   Yes
  31.      Transfers binary files:                 Yes
  32.      Wildcard send:                          Yes
  33.      ^X/^Z interruption:                     Yes
  34.      Filename collision avoidance:           Yes
  35.      Timeouts:                               Yes
  36.      8th-bit prefixing:                      Yes
  37.      Repeat character compression:           Yes
  38.      Alternate block check types:            Yes
  39.      Communication settings:                 Yes
  40.      Transmit BREAK:                         Yes
  41.      IBM mainframe communication:            No
  42.      Transaction logging:                    No
  43.      Session logging:                        Yes
  44.      Debug logging:                          Yes
  45.      Raw transmit:                           Yes
  46.      Login scripts:                          No
  47.      Act as a server:                        Yes
  48.      Talk to server:                         Yes
  49.      Advanced commands for servers:          No
  50.      Local file management:                  Yes
  51.      Command/init files:                     Yes
  52.      Attribute packets:                      Yes
  53.      Extended packet length:                 Yes
  54.      Sliding windows:                        No
  55.  
  56.      Kermit  should  be  installed  in  the  '/bin' directory. Also in '/bin' 
  57.      should  be the support task for privileged operations, 'kermit_support'. 
  58.      This  file  should have the 's' bit on, and should be owned by 'system'. 
  59.      Also  the  device  '/dev/smem' should be present. The help files will go 
  60.      into  '/gen/kermit'  (and  subdirectories), while the (optional) termcap 
  61.      file should be in '/etc'.
  62.  
  63.  
  64.                                 - 1  -
  65.  
  66.  
  67.      UniFLEX KERMIT Users guide
  68.  
  69.  
  70.      1. Remote and Local Operation
  71.  
  72.           KERMIT  programs can be run in two ways, remote and local. A remote 
  73.           Kermit  is usually running on a mainframe, which you have CONNECTed 
  74.           to  through  a PC or other computer. When KERMIT runs remotely, all 
  75.           file  transfer  is done over the job's controlling terminal line -- 
  76.           the same line over which you logged in, and to which you would type 
  77.           interactive  commands.  What  the system thinks is your terminal is 
  78.           really  another  computer, usually a microcomputer, running its own 
  79.           copy of Kermit.
  80.  
  81.           When  KERMIT  is  in  "local  mode",  file transfer is done over an 
  82.           external  device,  such  as  a microcomputer's serial communication 
  83.           port, or an assigned terminal line on a mainframe. The local Kermit 
  84.           is  connected  in  some  way  (like a dialout mechanism) to another 
  85.           computer,  again  running its own copy of Kermit. A local Kermit is 
  86.           in  control  of the screen, a remote Kermit has no direct access to 
  87.           it.
  88.  
  89.           Microcomputer   KERMITs   usually  run  in  local  "mode",  whereas  
  90.           mainframe  Kermits usually need to be given some special command to 
  91.           run  in  local  mode.  Some  commands  make  sense  only for remote 
  92.           Kermits,  others  only  for  local,  still  others can be used with 
  93.           either. Local and remote operation of KERMIT is shown schematically 
  94.           here:
  95.  
  96.       Micro is Local, Mainframe is Remote:
  97.  
  98.  
  99.                   Communication Line           (Packets)
  100.                  +-------------------/  /-----------------+  Other terminals
  101.                  !                                        !  !  !  !
  102.                  !                                        !  !  !  !
  103.        Micro     !     LOCAL                  Mainframe   !  !  !  !  REMOTE
  104.       +----------+----------+                +------------+--+--+--+--------+
  105.       !   Serial Port       !                !            !                 !
  106.       !                     !                !            !                 !
  107.       !                     !                !            !                 !
  108.       !  +---------------+  !                !            Your job's        !
  109.       !  ! Packets: 724  !  !                !            terminal line     !
  110.       !  !               !  !                !                              !
  111.       !  ! File: FOO.BAR !  !                !                              !
  112.       !  +---------------+  !                !                              !
  113.       !   Screen            !                !                              !
  114.       !                     !                !                              !
  115.       +---------------+-----+                +------------------------------+
  116.                       !
  117.                       ! (Commands)
  118.                       !
  119.          +------------+---------+
  120.           \       Keyboard       \
  121.            +----------------------+
  122.                       You
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                 - 2  -
  131.  
  132.  
  133.      UniFLEX KERMIT Users guide
  134.  
  135.  
  136.           The  KERMIT  program on the micro is a local Kermit. It can control 
  137.           the  screen,  the  keyboard,  and  the port separately, thus it can 
  138.           update  the  screen  with  status  information, watch for interrupt 
  139.           signals   from   the   keyboard,   and   transfer  packets  on  the  
  140.           communications port, all at the same time.
  141.  
  142.           The KERMIT program running on the mainframe is a remote Kermit. The 
  143.           user  logs  in  to  the mainframe through a terminal port. The host 
  144.           computer  cannot  tell  that the user is really coming in through a 
  145.           microcomputer.  The  keyboard,  screen,  and port functions are all 
  146.           combined  in  user's  mainframe  terminal  line. Therefore a remote 
  147.           Kermit  is  cut  off  from  your  screen  and  keyboard during file 
  148.           transfer.
  149.  
  150.           A  KERMIT server is always remote, and must get its commands from a 
  151.           local  KERMIT.  The  following  descriptions  will  indicate when a 
  152.           command must be remote or local.
  153.  
  154.      2. Command Interface
  155.  
  156.           The UniFLEX implementation has a Unix-like interface, as well as an 
  157.           interactive keyword-style command interface, modelled after that of 
  158.           the DEC VAX/VMS operating system. The latter is roughly as follows:
  159.  
  160.           In response to the "UF-Kermit>" prompt you may type a keyword, such 
  161.           as SEND, RECEIVE, or EXIT, possibly followed by additional keywords 
  162.           or  operands,  each  of which is called a field. You can abbreviate 
  163.           keywords  (but  not  file  names)  to  any  length  that makes them 
  164.           distinguishable  from  any  other keyword valid for that field. The 
  165.           command  is  terminated  by  a carriage return. Before the carriage 
  166.           return is typed, the command can be edited using BACKSPACE or other 
  167.           command  editing  keys.  Finally, the same command is entered again 
  168.           with  a  minimum  of keystrokes, with each field abbreviated to its 
  169.           shortest unique length.
  170.  
  171.      3. Notation
  172.  
  173.           In the command descriptions, the following notation is used:
  174.  
  175.           anything
  176.                     A  parameter  -  the symbol is replaced by an argument of 
  177.                     the specified type (number, filename, etc).
  178.  
  179.           [anything]
  180.                     An   optional  field.  If  omitted,  it  defaults  to  an  
  181.                     appropriate value.
  182.  
  183.           number
  184.                     A   whole  number,  entered  in  hexadecimal  or  decimal  
  185.                     notation.
  186.  
  187.           character
  188.                     A  single  character,  entered  literally, or as a number 
  189.                     (perhaps  decimal  or hexadecimal) representing the ASCII 
  190.                     value of the character.
  191.  
  192.           file-spec
  193.                     A  file  specification, i.e. the name of a file, possibly 
  194.                     including  a  directory specification or other qualifying 
  195.  
  196.                                 - 3  -
  197.  
  198.  
  199.      UniFLEX KERMIT Users guide
  200.  
  201.  
  202.                     information,   and   possibly  containing  "wildcard"  or  
  203.                     pattern-matching characters to denote a group of files.
  204.  
  205.           ^X
  206.                     A  control  character  may  be written using "uparrow" or 
  207.                     "caret"  notation,  since  many  systems  display control 
  208.                     characters  this  way. Control characters are produced by 
  209.                     holding  down  the  key marked CTRL or Control and typing 
  210.                     the appropriate character, e.g. X.
  211.  
  212.           Commands  are  shown  in  upper  case,  but  can  be entered in any 
  213.           combination of upper and lower case.
  214.  
  215.      4. Summary of KERMIT Commands
  216.  
  217.           Here  is  a  brief list of KERMIT commands as they are found in the 
  218.           UniFLEX  KERMIT program. The following sections will describe these 
  219.           commands in detail.
  220.  
  221.           For exchanging files:
  222.               SEND, RECEIVE, GET
  223.  
  224.           For connecting to a remote host:
  225.               CONNECT, SET LINE, SET CONFIGURATION, SET BAUD, SET DUPLEX,
  226.               SET HANDSHAKE, SET ESCAPE, SET PROMPT, SET LOG
  227.  
  228.           For acting as a server:
  229.               SERVER
  230.  
  231.           For talking to a server:
  232.               BYE, FINISH, GET, SEND
  233.  
  234.           Setting nonstandard transmission and file parameters:
  235.               SET AUTO_RECOVER, BLOCK_CHECK_TYPE, SET DEBUG, SET DELAY,
  236.               SET FILETYPE, SET INCOMPLETE, SET WARNING, SET MAPPING,
  237.               SET RETRY, SET END_OF_LINE, SET START_OF_PACKET,
  238.               SET PACKET_LENGTH, SET TIMEOUT, SET PADDING, SET PADCHAR,
  239.               SET QUOTE, SET REPEAT_QUOTE, SET EIGHT_BIT_QUOTE,
  240.               SET END_OF_LINE, TAKE
  241.  
  242.           For interrupting transmission:
  243.               Control-X, Control-Z
  244.  
  245.           Getting information:
  246.               HELP, STATISTICS, SHOW, Control-D
  247.  
  248.           For recording the history of a file transfer operation:
  249.               SET DEBUG LOG
  250.  
  251.           For non-protocol file capture or transmission:
  252.               SET LOG, TRANSMIT
  253.  
  254.           Local environment management:
  255.               CHD, LOCAL
  256.  
  257.           Leaving the program:
  258.               EXIT, QUIT
  259.  
  260.           If  you  have a file called 'kermit.ini' in your default directory, 
  261.  
  262.                                 - 4  -
  263.  
  264.  
  265.      UniFLEX KERMIT Users guide
  266.  
  267.  
  268.           KERMIT  will  execute  an automatic TAKE command on it upon initial 
  269.           startup. 'kermit.ini' may contain any KERMIT commands, for instance 
  270.           SET   commands   to   configure   KERMIT   to  various  systems  or  
  271.           communications media.
  272.  
  273.      5. The SEND Command
  274.  
  275.         Syntax: SEND filespec [filespec2] [filspec3...]
  276.  
  277.           The  SEND  command  causes  a  file or file group to be sent to the 
  278.           other  system. The filespec may contain the commonly used wild-card 
  279.           characters  '*'  and/or  '?',  where  '*' stands for a string match 
  280.           (including  null)  and '?' stands for a single character match. Use 
  281.           of  wildcard  characters  is the most common method of indicating a 
  282.           group  of  files  in  a  single file specification. For instance if 
  283.           FOO.BAS  is  a  single  file, a BASIC program named FOO, then *.BAS 
  284.           might  be a group of BASIC programs. If filespec1 contains wildcard 
  285.           characters  then  all  matching  files  will be sent, in directory-
  286.           listing  order  by name. If a file can't be opened for read access, 
  287.           it  will  be  skipped. There may be a total of twenty files or file 
  288.           groups specified.
  289.  
  290.         SEND Command General Operation
  291.  
  292.  
  293.           Files  will  be sent with their filename and filetype (for instance 
  294.           FOO.BAR,  no  device  or  directory  field, no generation number or 
  295.           attributes).  If  communication  line parity is being used (see SET 
  296.           CONFIGURATION),  the  sending  KERMIT  will  request that the other 
  297.           KERMIT  accept  a special kind of prefix notation for binary files. 
  298.           This  is  an  advanced feature, and not all KERMITs have it; if the 
  299.           other  KERMIT  does  not  agree  to  use this feature, binary files 
  300.           cannot be sent correctly.
  301.  
  302.         SEND Remote Operation
  303.  
  304.  
  305.           If   you   are  running  KERMIT  remotely  (for  instance,  from  a  
  306.           microcomputer),  you  should  "escape  back"  to  your local Kermit 
  307.           within  a  reasonable  amount of time and give the RECEIVE command. 
  308.           Don't  take  more  than about one minute to complete the switch, or 
  309.           KERMIT  may  "time  out"  and give up (in that case, you'll have to 
  310.           CONNECT back to the remote system and reissue the SEND command).
  311.  
  312.         SEND Local Operation
  313.  
  314.  
  315.           If  you're running KERMIT locally, for instance on a microcomputer, 
  316.           you  should have already run KERMIT on the remote system and issued 
  317.           either a RECEIVE or a SERVER command.
  318.  
  319.           Once  you  give KERMIT the SEND command, the name of each file will 
  320.           be  printed  on your screen as the transfer begins, and information 
  321.           will  be  displayed  to  indicate  the  packet  traffic.  When  the 
  322.           specified operation is complete, the program will sound a beep, and 
  323.           the  status  of  the  operation  will  be  indicated by the message 
  324.           Complete, Interrupted, or Failed.
  325.  
  326.           If  you  see  many  packet  retry  indications,  you  are  probably 
  327.  
  328.                                 - 5  -
  329.  
  330.  
  331.      UniFLEX KERMIT Users guide
  332.  
  333.  
  334.           suffering  from  a noisy connection. You may be able to cut down on 
  335.           the  retransmissions  by  using  SET  PACKET_LENGTH to decrease the 
  336.           packet length; this will reduce the probability that a given packet 
  337.           will  be  corrupted  by  noise,  and  reduce  the  time required to 
  338.           retransmit  a  corrupted  packet.  If  you notice a file being sent 
  339.           which  you do not really want to send, you may cancel the operation 
  340.           immediately  by  typing  either Control-X or Control-Z. If your are 
  341.           sending  a  file group, Control-X will cause the current file to be 
  342.           skipped,  and KERMIT will go on to the next file, whereas Control-Z 
  343.           will  cancel  sending the entire group and return you to the KERMIT 
  344.           command level.
  345.  
  346.      6. The RECEIVE Command
  347.  
  348.         Syntax:  RECEIVE [filespec]
  349.  
  350.           The  RECEIVE command tells KERMIT to wait for the arrival a file or 
  351.           file  group  sent  by a SEND command from the other system. If only 
  352.           one  file  is being received, you may include the optional filespec 
  353.           as  the  name to store the incoming file under; otherwise, the name 
  354.           is  taken  from the incoming file header. If the name in the header 
  355.           is  not  a legal file name on the local system, KERMIT will attempt 
  356.           to  transform  it to a legal name. If an incoming file has the same 
  357.           name as an existing file, KERMIT will either overwrite the old file 
  358.           or  else  try to create a new unique name, depending on the setting 
  359.           of FILE WARNING.
  360.  
  361.           If  you  have SET CONFIGURATION with parity, then 8th-bit prefixing 
  362.           will  be  requested. If the other side cannot do this, binary files 
  363.           cannot  be  transferred  correctly.  The  sending  KERMIT  may also 
  364.           request that repeated characters be compressed.
  365.  
  366.           If  an  incoming  file does not arrive in its entirety, KERMIT will 
  367.           normally  discard it; it will not appear in your directory. You may 
  368.           change  this  behaviour  by  using the command SET INCOMPLETE KEEP, 
  369.           which will cause as much of the file as arrived to be saved in your 
  370.           directory.
  371.  
  372.         RECEIVE Remote Operation
  373.  
  374.  
  375.           If your are running KERMIT remotely, you should escape back to your 
  376.           local  Kermit  and give the SEND command. You should do this within 
  377.           about  one  minute,  or  KERMIT  may  time out and give up; if this 
  378.           happens,  you can CONNECT back to the remote system and reissue the 
  379.           RECEIVE command.
  380.  
  381.         RECEIVE Local Operation
  382.  
  383.  
  384.           If you are running KERMIT locally, you should already have issued a 
  385.           SEND  command  to  the  remote  KERMIT,  and  then  escaped back to      
  386.           UF-KERMIT  (not SERVER -- use the GET command to receive files from 
  387.           a KERMIT server).
  388.  
  389.           As  files  arrive,  their names will be shown on your screen, along 
  390.           with a continuous display the packet traffic.
  391.  
  392.           If  a  file  begins  to arrives that you don't really want, you can 
  393.  
  394.                                 - 6  -
  395.  
  396.  
  397.      UniFLEX KERMIT Users guide
  398.  
  399.  
  400.           attempt to cancel it by typing Control-X; this sends a cancellation 
  401.           request to the remote Kermit. If the remote Kermit understands this 
  402.           request  (not  all implementations of Kermit support this feature), 
  403.           it  will comply; otherwise it will continue to send. UF-KERMIT will 
  404.           detect  this situation and send an error packet. If a file group is 
  405.           being sent, you can request the entire group be cancelled by typing 
  406.           Control-Z.
  407.  
  408.  
  409.      7. GET
  410.  
  411.         LOCAL ONLY -- Syntax: GET remote-filespec [filespec2...]
  412.  
  413.           The GET command requests a remote KERMIT server to send the file or 
  414.           file  group  specified  by  remote-filespec.  Note  the distinction 
  415.           between  the  RECEIVE  and GET commands: RECEIVE puts KERMIT into a 
  416.           passive  wait  state,  whereas  GET  actively  sends a command to a 
  417.           server.
  418.  
  419.           The  GET  command  can  be  used  only when KERMIT is local, with a 
  420.           KERMIT  server  on  the  other end of the line. This means that you 
  421.           must  have  CONNECTed  to  the  other system, logged in, run KERMIT 
  422.           there,  issued  the  SERVER  command, and escaped back to the local 
  423.           KERMIT.
  424.  
  425.           The  remote  filespec  is  any  string  that  can  be  a legal file 
  426.           specification  for the remote system; it is not parsed or validated 
  427.           locally.  As  files  arrive,  their names will be displayed on your 
  428.           screen,  along  with a continuous indication of the packet traffic. 
  429.           As  in  the RECEIVE command, you may type Control-X to request that 
  430.           the  current  incoming file be cancelled, Control-Z to request that 
  431.           the entire incoming batch be cancelled.
  432.  
  433.           If  the  remote KERMIT is not capable of server functions, then you 
  434.           will  probably  get  an  error  message  back from it like "Illegal 
  435.           packet  type".  In this case, you must connect to the other Kermit, 
  436.           give a SEND command, escape back, and give a RECEIVE command.
  437.  
  438.      8. SERVER
  439.  
  440.         Syntax: SERVER
  441.  
  442.           The  SERVER  command instructs KERMIT to cease taking commands from 
  443.           the keyboard and to receive all further instructions in the form of 
  444.           KERMIT packets from another system. A KERMIT server must be remote; 
  445.           that  is,  you  must  be  logged  in  to the system through another 
  446.           computer,  such  as a microcomputer. In addition, your local KERMIT 
  447.           should  have  commands for communicating with remote servers; these 
  448.           include GET, FINISH, and BYE.
  449.  
  450.           After  issuing  this  command, escape back to your local system and 
  451.           issue  SEND,  GET,  BYE,  FINISH, or other server-oriented commands 
  452.           from  there. If your local KERMIT does not have a BYE command, then 
  453.           it  does  not  have  the  full ability to communicate with a KERMIT 
  454.           server  and  you should not put the remote KERMIT into SERVER mode. 
  455.           If  your  local KERMIT does have a BYE command, use it to shut down 
  456.           and  log  out  the KERMIT server when you are done with it. The UF-
  457.           KERMIT  server can also be shutdown by typing Control-X or Control-
  458.           Z. Then the server will stop after the timeout.
  459.  
  460.                                 - 7  -
  461.  
  462.  
  463.      UniFLEX KERMIT Users guide
  464.  
  465.  
  466.  
  467.           Any  nonstandard  parameters  should  be selected with SET commands 
  468.           before putting KERMIT in server mode, in particular the block check 
  469.           type and special file modes.
  470.  
  471.      9. BYE
  472.  
  473.         LOCAL ONLY -- Syntax: BYE
  474.  
  475.           When  running as a local Kermit talking to a KERMIT server, use the 
  476.           BYE  command  to  shut  down and log out the server. This will also 
  477.           close any debugging log files and exit from the local KERMIT.
  478.  
  479.      10. FINISH
  480.  
  481.         LOCAL ONLY -- Syntax: FINISH
  482.  
  483.           When  running  as  a local Kermit talking to a remote KERMIT server 
  484.           use  the FINISH command to shut down the server without logging out 
  485.           the remote job, so that you can CONNECT back to it.
  486.  
  487.      11. LOCAL
  488.  
  489.         Syntax: LOCAL [command]
  490.  
  491.           Execute  the specified command on the local system -- on the system 
  492.           where KERMIT to which your are typing this command is running. This 
  493.           command  is  a  method of entering UniFLEX commands without leaving 
  494.           kermit.  If  no  command  is  specified,  a  separate shell will be 
  495.           started.
  496.  
  497.      12. CHD
  498.  
  499.         Syntax: CHD [directory]
  500.  
  501.           This  command will change the current directory. If no directory is 
  502.           specified, the login directory will be selected.
  503.  
  504.      13. CONNECT
  505.  
  506.         LOCAL ONLY -- Syntax: CONNECT [terminal-designator]
  507.  
  508.           Establish  a  terminal connection to the system at the other end of 
  509.           the  communication  line.  On a microcomputer, this is normally the 
  510.           serial  port.  On  a mainframe, you will have to specify a terminal 
  511.           line  number  or  other  identifier,  either in the CONNECT command 
  512.           itself, or in a SET LINE command. If a log file was opened (see SET 
  513.           LOG) then the data will be written to disk. Handshaking is provided 
  514.           (see  SET  HANDSHAKE).  Get  back to the local KERMIT by typing the 
  515.           escape character followed by a single character "command".
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.                                 - 8  -
  527.  
  528.  
  529.      UniFLEX KERMIT Users guide
  530.  
  531.  
  532.           Several single-character commands are possible:
  533.  
  534.             B      Send a 'BREAK' signal.
  535.             C      Close the connection and return to the local KERMIT.
  536.             H      Show availability.
  537.             S      Show status of the connection.
  538.             0      (zero) Send a NUL (0) character.
  539.             Q      Quit logging session transcript.
  540.             R      Resume logging session transcript.
  541.             ?      List all the possible single-character arguments.
  542.             ^      (or whatever you have set the escape character to be)
  543.                    Typing the escape character twice sends one copy of it
  544.                    to the connected host.
  545.             other  Passed to remote kermit.
  546.  
  547.           You  can  use  the  SET ESCAPE command to define a different escape 
  548.           character,  and  SET  CONFIGURATION,  SET  BAUD,  SET  DUPLEX,  SET 
  549.           HANDSHAKE to establish or change those parameters.
  550.  
  551.      14. HELP
  552.  
  553.         Syntax: HELP [subject] [sub-subject]
  554.  
  555.           Typing  HELP  alone  prints  a  brief  summary  of  KERMIT  and its 
  556.           commands.  Help  about a particular topic can be obtained by giving 
  557.           it  as  a  parameter.  The HELP data file which will be searched is 
  558.           called '/gen/kermit/kermit.hlp'.
  559.  
  560.      15. EXIT, QUIT
  561.  
  562.         Syntax: EXIT
  563.         or:     QUIT
  564.  
  565.           Exit  from  KERMIT.  QUIT  is a synonym for EXIT. If a log file was 
  566.           used  with  CONNECT,  and  the buffer still contains data, then the 
  567.           buffer  will  we  written  to  disk  before  terminating UF-KERMIT. 
  568.           Another way to exit KERMIT is entering CTRL-D (EOF).
  569.  
  570.      16. The SET Command
  571.  
  572.         Syntax: SET parameter [option] [value]
  573.  
  574.           Establish  or  modify  various  parameters  for  file  transfer  or 
  575.           terminal connection.
  576.  
  577.           When   a   file   transfer   operation   begins,  the  two  KERMITs  
  578.           automatically  exchange  special  initialisation messages, in which 
  579.           each  program  provides  the  other  with certain information about 
  580.           itself.  This  information includes the maximum packetsize it wants 
  581.           to  receive, the timeout interval it wants the other KERMIT to use, 
  582.           the number and type of padding characters it needs, the end-of-line 
  583.           character  it  needs  to  terminate each packet (if any), the block 
  584.           check type, the desired prefixes for control characters, characters 
  585.           with  the  "high  bit"  set,  and  repeated characters. Each KERMIT 
  586.           program  has  its own preset "default" values for these parameters, 
  587.           and  you  normally  need  not  concern  yourself with them. You can 
  588.           examine  their  values  with  the  SHOW command; the SET command is 
  589.           provided  to  allow you to change them in order to adapt to unusual 
  590.           conditions.
  591.  
  592.                                 - 9  -
  593.  
  594.  
  595.      UniFLEX KERMIT Users guide
  596.  
  597.  
  598.  
  599.           The following parameters may be SET:
  600.  
  601.             AUTO_RECOVER     Set automatic packet length reduction on receipt
  602.                              of an error during extended length transfer
  603.             BAUD             Set the speed of the current communications port
  604.             BLOCK_CHECK_TYPE Packet transmission error detection method
  605.             CONFIGURATION    Character parity to use
  606.             DEBUG            Mode or log file
  607.             DELAY            How long to wait before starting to send
  608.             DUPLEX           For terminal connection, full (remote echo) or
  609.                              half (local echo)
  610.             EIGHT_BIT_QUOTE  Character to use for binary file transfer if
  611.                              parity used
  612.             END_OF_LINE      End of line character
  613.             ESCAPE           Character for terminal connection
  614.             FILETYPE         For setting ascii or binary file type.
  615.             HANDSHAKE        Selecting flow control characters, like XON/XOFF
  616.             INCOMPLETE       What to do with an incomplete file
  617.             LINE             Terminal line to use for terminal connection or
  618.                              file transfer
  619.             LOG              CONNECTion logging file
  620.             MAPPING          Filename case mapping
  621.             PACKET_LENGTH    Length of a packet
  622.             PADDING          Number of padding characters
  623.             PADCHAR          Padding character
  624.             PROMPT           Prompt of the local KERMIT
  625.             QUOTE            Character used to transfer control characters
  626.             REPEAT_QUOTE     Character to use for data compression
  627.             RETRY            How many times to retry a packet before give up
  628.             START_OF_PACKET  Start of packet character
  629.             TIMEOUT          Time to wait for a packet
  630.             WARNING          File conflict warning flag
  631.  
  632.  
  633.        SET AUTO_RECOVER
  634.  
  635.         Syntax: SET AUTO_RECOVER on/off
  636.  
  637.           This  command  sets  the  method  of  error  recovery used when the 
  638.           extended packet length protocol is selected. If it is set off, then 
  639.           the packet length will remain the same after an error has occurred.  
  640.           If  on,  then  the packet length will be shortened automatically to 
  641.           recover  from  an  eventual  buffer size error from a device on the 
  642.           communication  line. The packet size will not be shortened below 40 
  643.           bytes.
  644.  
  645.        SET BAUD
  646.  
  647.         Syntax: SET BAUD number
  648.  
  649.           Set  or change the baud rate (approximate translation: transmission 
  650.           speed  in bits per second) on the currently selected communications 
  651.           device.   The   baudrate   will   be   set  by  a  special  program  
  652.           ('/bin/baud'),  which  will check if the user is allowed to set the 
  653.           baudrate,  and  if  the  hardware has the desired capabilities. The 
  654.           baudrate will not be set in 'remote' operation.
  655.  
  656.        SET BLOCK_CHECK_TYPE
  657.  
  658.                                 - 10 -
  659.  
  660.  
  661.      UniFLEX KERMIT Users guide
  662.  
  663.  
  664.  
  665.         Syntax: SET BLOCK_CHECK_TYPE number
  666.  
  667.           KERMIT  normally  uses a 1-character block check, or "checksum", on 
  668.           each  packet.  The  sender  of  the packet computes the block check 
  669.           based  on  the  other  characters  in  the packet, and the receiver 
  670.           recomputes  it  the same way. If these quantities agree, the packet 
  671.           is  accepted  and  the transmission proceeds. If they disagree, the 
  672.           packet is rejected and transmitted again.
  673.  
  674.           However,  the  block  check  is  not  a  foolproof  method of error 
  675.           detection. The normal single-character KERMIT block check is only a 
  676.           6-bit  quantity  (the low order 8 bits of the arithmetic sum folded 
  677.           upon  itself).  With only six bits of accuracy, the chances are one       
  678.               6
  679.           in 2  -- that is, 1/64 -- that an error can occur which will not be 
  680.           detected  in  the  checksum,  assuming  that all errors are equally 
  681.           likely.
  682.  
  683.           You can decrease the probability that an error can slip through, at 
  684.           the   expense   of   transmission  efficiency,  by  using  the  SET  
  685.           BLOCK_CHECK_TYPE  command  to  select  more  rigorous  block  check 
  686.           methods.  Note  that  all  three methods will detect any single-bit 
  687.           error, or any error in an odd number of bits.
  688.  
  689.           The options are:
  690.  
  691.             1-CHARACTER-CHECKSUM:
  692.  
  693.                     The normal single-character 6-bit checksum.
  694.  
  695.             2-CHARACTER-CHECKSUM:
  696.  
  697.                     A  2-character,  12-bit checksum. Reduces the probability 
  698.                     of an error going undetected to 1/4096, but adds an extra 
  699.                     character to each packet.
  700.  
  701.             3-CHARACTER-CRC:
  702.  
  703.                     A  3-character,  16-bit  Cyclic  Redundancy  Check, CCITT 
  704.                     format.  In addition to errors in any odd number of bits, 
  705.                     this  method  detects double bit errors, all error bursts 
  706.                     of  length  16  or  less,  and  more  than  99.99% of all 
  707.                     possible longer bursts. Adds two extra characters to each 
  708.                     packet.
  709.  
  710.           The  single  character  checksum has proven to be quite adequate in 
  711.           practice,  much  more effective than straightforward analysis would 
  712.           indicate,  since  all  errors  are not equally likely, and a simple 
  713.           checksum  is  well  suited to catching the kinds of errors that are 
  714.           typical  of  telecommunication  lines.  The other methods should be 
  715.           requested only when the connection is very noisy.
  716.  
  717.           Note  that the 2- and 3-character block checks are not available in 
  718.           all  versions  of  KERMIT;  if  the  other KERMIT is not capable of 
  719.           performing  the  higher-precision  block  checks, the transfer will 
  720.           automatically use the standard single-character method.
  721.  
  722.        SET DEBUG
  723.  
  724.                                 - 11 -
  725.  
  726.  
  727.      UniFLEX KERMIT Users guide
  728.  
  729.  
  730.  
  731.         Syntax: SET DEBUG options [file]
  732.  
  733.           Record  the  packet  traffic, either on your terminal or in a file. 
  734.           Options are:
  735.  
  736.           ON              Display each incoming and outgoing packet
  737.                           (lengthy).
  738.  
  739.           OFF             Don't display debugging information (this is the
  740.                           default). If debugging was in effect, turn it off
  741.                           and close any open debug log file.
  742.  
  743.           LOG             Log the information to the specified file.
  744.  
  745.           During  data  transfer,  debugging  can  be  toggled  on and off by 
  746.           pressing Control-D. If a log file was opened, it will be closed.
  747.  
  748.        SET DELAY
  749.  
  750.         Syntax: SET DELAY number
  751.  
  752.           Specify  how  many  seconds to wait before sending the first packet 
  753.           after  a  SEND  command.  Use when remote and SENDing files back to 
  754.           your local Kermit. This gives you time to "escape" back and issue a 
  755.           RECEIVE  command.  The  normal delay is 5 seconds. In local mode or 
  756.           server mode, KERMIT does not delay before sending the first packet.
  757.  
  758.        SET DUPLEX
  759.  
  760.         Syntax: SET DUPLEX keyword
  761.  
  762.           For  use when CONNECTed to a remote system. The keyword choices are 
  763.           FULL  and  HALF. FULL means the remote system echoes the characters 
  764.           you  type,  HALF  means  the  local system echoes them. FULL is the 
  765.           default,  and  is  used  by  most  hosts.  HALF  is  necessary when 
  766.           connecting  to  IBM  mainframes.  Half duplex is also called "local 
  767.           echo".
  768.  
  769.        SET ESCAPE
  770.  
  771.         Syntax: SET ESCAPE character
  772.  
  773.           Specify  or  change  the character you want to use to "escape" from 
  774.           remote  connections  back  to  KERMIT.  This  would  normally  be a 
  775.           character  you  don't  expect  to  be  using  on the remote system, 
  776.           perhaps  a control character like ^[, ^], ^^, or ^_. UF-KERMIT uses 
  777.           the up-arrow ('^') by default. After you type the escape character, 
  778.           you  must  follow  it by a single-character "argument", such as "C" 
  779.           for  Close  Connection.  The  arguments are listed above, under the 
  780.           description of the CONNECT command.
  781.  
  782.        SET FILETYPE
  783.  
  784.         Syntax: SET FILETYPE parameter
  785.  
  786.           Establish file-related parameter. This may be either ASCII for text 
  787.           files  or  BINARY  for  non-text  files.  This  is a very important 
  788.           command  if  you  intend  to transfer binary files, but is normally 
  789.  
  790.                                 - 12 -
  791.  
  792.  
  793.      UniFLEX KERMIT Users guide
  794.  
  795.  
  796.           unnecessary for transmitting textual files.
  797.  
  798.        SET HANDSHAKE
  799.  
  800.         Syntax: SET HANDSHAKE start stop
  801.  
  802.           For  communicating  with  full  duplex  systems.  System-level flow 
  803.           control is not necessary to the KERMIT protocol, but it can help to 
  804.           use  it  if  the same method is available on both systems. The most 
  805.           common  type of flow control on full duplex systems is XON/XOFF. If 
  806.           the  KERMIT  input  buffer is filled up to 250 characters, the stop 
  807.           character is sent. If the buffer becomes empty and contains only 10 
  808.           characters,  the  start  character  will  be send. The defaults for 
  809.           start is XON (17), and for stop XOFF (19).
  810.  
  811.        SET INCOMPLETE
  812.  
  813.         Syntax: SET INCOMPLETE option
  814.  
  815.           Specify  what  to  do  when  a  file  transfer  fails  before it is 
  816.           completed.  The  options are DISCARD (the default) and KEEP. If you 
  817.           choose KEEP, then if a transfer fails to complete successfully, you 
  818.           will be able to keep the incomplete part that was received.
  819.  
  820.        SET LINE
  821.  
  822.         Syntax: SET LINE terminal-designator
  823.  
  824.           Specify the terminal line to use for file transfer or CONNECT. This 
  825.           command  is  found  on  mainframe  KERMITs,  which  normally run in 
  826.           "remote  mode"  using  their  own  controlling  terminal  for  file 
  827.           transfer.  Specifying  a  separate  line puts the program in "local 
  828.           mode". If the line is specified as 'REMOTE', the communication will 
  829.           revert to the job's controlling terminal.
  830.  
  831.        SET CONFIGURATION
  832.  
  833.         Syntax: SET CONFIGURATION number
  834.  
  835.           Parity   is  a  technique  used  by  communications  equipment  for  
  836.           detecting  errors  on  a per-character basis; the "8th bit" of each 
  837.           character acts as a check bit for the other seven bits. KERMIT uses 
  838.           block  checks  to  detect errors on a per-packet basis, and it does 
  839.           not  use  character  parity. However, some systems that KERMIT runs 
  840.           on,  or  equipment  through which these systems communicate, may be 
  841.           using  character  parity.  If  KERMIT  does  not  know  about this, 
  842.           arriving  data  will  have  been  modified and the block check will 
  843.           appear to be wrong, and packets will be rejected.
  844.  
  845.           If  parity is being used on the communication line, you must inform 
  846.           both  KERMITs,  so  the  desired  parity  can  be added to outgoing 
  847.           characters,  and  stripped  from  incoming  ones. SET CONFIGURATION 
  848.           should  be used for communicating with hosts that require character 
  849.           parity  (IBM mainframes are typical examples) or through devices or 
  850.           networks that add parity to characters that pass through them. Both 
  851.           KERMITs   should   be   set  to  the  same  parity.  The  specified  
  852.           configuration parity is used both for terminal connection (CONNECT) 
  853.           and file transfer (SEND, RECEIVE, GET).
  854.  
  855.  
  856.                                 - 13 -
  857.  
  858.  
  859.      UniFLEX KERMIT Users guide
  860.  
  861.  
  862.           The choices for SET CONFIGURATION are:
  863.  
  864.             0.  Seven data bits, even parity and two stop bits.
  865.             1.  Seven data bits, odd parity and two stop bits.
  866.             2.  Seven data bits, even parity and one stop bit.
  867.             3.  Seven data bits, odd parity and one stop bit.
  868.             4.  Eight data bits, no parity and two stop bits.
  869.             5.  Eight data bits, no parity and one stop bit (default).
  870.             6.  Eight data bits, even parity and one stop bit.
  871.             7.  Eight data bits, odd parity and one stop bit.
  872.  
  873.           Eight  bits  means no parity is affecting the data, and the 8th bit 
  874.           of  each  character  can  be used for data when transmitting binary 
  875.           files.
  876.  
  877.           If  you  have  set  to  use parity then advanced versions of KERMIT 
  878.           (including  UF-KERMIT)  will  request  that  binary  files  will be 
  879.           transferred  using  8th-bit-prefixing.  If  the KERMIT on the other 
  880.           side knows how to do 8th-bit-prefixing (this is an optional feature 
  881.           of  the KERMIT protocol, and not all implementations of KERMIT have 
  882.           it),  then  binary files can be transmitted successfully. If eight-
  883.           bits  communication  is  specified,  8th-bit-prefixing  will not be 
  884.           requested.
  885.  
  886.        SET EIGHT_BIT_QUOTE
  887.  
  888.         Syntax: SET EIGHT_BIT_QUOTE character
  889.  
  890.           What  character to use to process eight_bit bytes over a line using 
  891.           only  seven data bits. The sending KERMIT will ask the other KERMIT 
  892.           whether it can handle a special prefix encoding for characters with
  893.           the  eighth  bit  on,  using  the  eight_bit_quote  character. This 
  894.           character  should  be  distinct from the REPEAT_QUOTE character and 
  895.           the  QUOTE  character.  The default is "&" (38). There should be no 
  896.           reason to change this.
  897.  
  898.        SET END_OF_LINE
  899.  
  900.         Syntax: SET END_OF_LINE character
  901.  
  902.           The ASCII character to be used as a line terminator for packets, if 
  903.           one  is  required  by the other system, carriage return by default. 
  904.           You  will  only have to use this command for systems that require a 
  905.           line  terminator  other than carriage return. The character must be 
  906.           specified as a hexadecimal number.
  907.  
  908.        SET LOG
  909.  
  910.         Syntax: SET LOG filespec
  911.  
  912.           Create  a  transcript  of  a  CONNECT session, when running a local 
  913.           KERMIT connected to a remote system, in the specified file. Logging 
  914.           can be "toggled" by typing the connect escape character followed by 
  915.           Q  (Quit  logging) or R (Resume logging). Session-logging is useful 
  916.           for   recording  dialogue  with  an  interactive  system,  and  for  
  917.           "capturing"  from  systems that don't have KERMIT. No guarantee can 
  918.           be made that the file will arrive correctly or completely, since no 
  919.           error  checking  takes  place.  The  log file will be closed if the 
  920.           filespec is a dash ("-").
  921.  
  922.                                 - 14 -
  923.  
  924.  
  925.      UniFLEX KERMIT Users guide
  926.  
  927.  
  928.  
  929.        SET MAPPING
  930.  
  931.         Syntax: SET MAPPING keyword 
  932.  
  933.           Enable  or disable filename case mapping, where the keyword must be 
  934.           either  ON  or  OFF. When set to ON (the default) the outgoing file 
  935.           will  be mapped to upper case, and the incoming file will be mapped 
  936.           to lower case. When set to OFF, no case mapping will be done.
  937.  
  938.        SET PACKET_LENGTH
  939.  
  940.         Syntax: SET PACKET_LENGTH number
  941.  
  942.           This  will set the packet length. The value for this parameter must 
  943.           be  between 10 and 94 for normal use. A length greater than 94 will 
  944.           tell  Kermit to negotiate for extended packet length. If the remote 
  945.           kermit  can  handle  this  protocol  extension,  it  will  be used.  
  946.           Otherwise  the maximum of 94 will be used. The maximum length value 
  947.           is  9024 bytes, and the default value is 94. Shortening the packets 
  948.           might  allow  more  of them to get through through without error on 
  949.           noisy  communication  lines.  Lengthening the packets increases the 
  950.           throughput  on clean lines. If extended packet length is specified, 
  951.           it is advisable to use a CRC blockcheck type.
  952.  
  953.        SET TIMEOUT
  954.  
  955.         Syntax: SET TIMEOUT number
  956.  
  957.           How many seconds to wait for a packet before trying again.
  958.  
  959.        SET PADDING
  960.  
  961.         Syntax: SET PADDING number
  962.  
  963.           How much padding to send before a packet, if the other side needs
  964.           padding. Default is no padding.
  965.  
  966.        SET PADCHAR
  967.  
  968.         Syntax: SET PADCHAR character
  969.  
  970.           What  kind  of  padding  character to send. Default is NUL (0). The 
  971.           character must be specified as a hexadecimal number.
  972.  
  973.        SET QUOTE
  974.  
  975.         Syntax: SET QUOTE character
  976.  
  977.           What  printable character to use for quoting of control characters. 
  978.           This   character   should  be  distinct  from  the  EIGHT_BIT_QUOTE  
  979.           character  and the REPEAT_QUOTE character. The default is "#" (35). 
  980.           There should be no reason to change this.
  981.  
  982.        SET REPEAT_QUOTE
  983.  
  984.         Syntax: SET REPEAT_QUOTE character
  985.  
  986.           What  character  to  use  to  process  repeat count characters. The 
  987.  
  988.                                 - 15 -
  989.  
  990.  
  991.      UniFLEX KERMIT Users guide
  992.  
  993.  
  994.           sending  KERMIT  will  ask the other KERMIT whether it can handle a 
  995.           special   prefix   encoding  for  repeated  characters,  using  the  
  996.           repeat_quote  character. This character should be distinct from the 
  997.           EIGHT_BIT_QUOTE  character  and the QUOTE character. The default is 
  998.           "~" (126). There should be no reason to change this.
  999.  
  1000.        SET RETRY
  1001.  
  1002.         Syntax: SET RETRY number
  1003.  
  1004.           Set the maximum number of retries for how many times to try sending 
  1005.           a  particular  packet  before  giving up, normally 10. If a line is 
  1006.           very noisy, you might want to increase this number.
  1007.  
  1008.        SET START_OF_PACKET
  1009.  
  1010.         Syntax: SET START_OF_PACKET character
  1011.  
  1012.           The  start-of-packet  character  is the only control character used 
  1013.           "bare"  by  the  KERMIT  protocol. It is Control-A by default. If a 
  1014.           bare  Control-A  causes problems for your communication hardware or 
  1015.           software,  you  can  use this command to select a different control 
  1016.           character  to  mark  the  start  of a packet. You must also set the 
  1017.           start_of_packet  character  at  the  KERMIT  on  the  other  system 
  1018.           (providing  it has such a command). The character must be specified 
  1019.           as a hexadecimal number.
  1020.  
  1021.        SET WARNING
  1022.  
  1023.         Syntax: SET WARNING keyword
  1024.  
  1025.           Enable  or  disable the warning if an incoming file already exists, 
  1026.           where  the  keyword  must  be either ON or OFF. When set to ON (the 
  1027.           default)  and  an  incoming file already exists, an attempt will be 
  1028.           made  to  store  the  file under a new and unique name. When set to 
  1029.           OFF, an existing file will be overwritten.
  1030.  
  1031.      17. SHOW
  1032.  
  1033.         Syntax: SHOW option
  1034.  
  1035.           The SHOW command displays the values of the parameters which can be 
  1036.           set  by  the  SET  command.  If  the option is ALL, then a complete 
  1037.           display will be provided.
  1038.  
  1039.      18. STATISTICS
  1040.  
  1041.         Syntax: STATISTICS
  1042.  
  1043.           Give  statistics  about  the most recent file transfer, such as the 
  1044.           total number of characters transmitted, the effective baud rate and 
  1045.           so forth.
  1046.  
  1047.      19. TAKE
  1048.  
  1049.         Syntax: TAKE filespec
  1050.  
  1051.           Execute  KERMIT  commands  from  the  specified  file. The file may 
  1052.           contain any valid KERMIT commands, including other TAKE commands.
  1053.  
  1054.                                 - 16 -
  1055.  
  1056.  
  1057.      UniFLEX KERMIT Users guide
  1058.  
  1059.  
  1060.  
  1061.      20. TRANSMIT
  1062.  
  1063.         Syntax: TRANSMIT filespec
  1064.  
  1065.           Send the contents of the specified file to the other system "bare", 
  1066.           without  protocol, packets, error checking, or retransmission. This 
  1067.           command   is  useful  for  sending  standard  logon  or  connection  
  1068.           sequences,  or  to  send  commands to a smart modem, or for sending 
  1069.           files  to  systems that don't have KERMIT. No guarantee can be made 
  1070.           that  the  target  system  will  receive  the  file  correctly  and 
  1071.           completely. When receiving a file, the target system would normally 
  1072.           be  running  a text editor in text collection mode. The transferred 
  1073.           data will be displayed on the screen if DEBUG is on.
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.                                 - 17 -
  1121.  
  1122.  
  1123.      UniFLEX KERMIT Users guide
  1124.  
  1125.  
  1126.      Kermit usage with command line options.
  1127.      ---------------------------------------
  1128.  
  1129.  
  1130.         When  KERMIT  is  called  with command line options, only one command 
  1131.      will  be executed. After this command KERMIT will return to UniFLEX. The 
  1132.      syntax is:
  1133.  
  1134.             kermit option [,option...] [parameter] [,parameter...]
  1135.  
  1136.  
  1137.      Valid options:
  1138.  
  1139.                n      Don't read any existing 'kermit.ini' file. If this is
  1140.                       the only option supplied, interactive mode will be
  1141.                       entered.
  1142.  
  1143.                v      Verbose. Show all input from a 'kermit.ini' file. If
  1144.                       this is the only option supplied, interactive mode will
  1145.                       be entered.
  1146.  
  1147.                u      Use the specified command file for startup. This option     
  1148.                       can be used to override the default search for a
  1149.                       'kermit.ini' file.
  1150.  
  1151.                c      Connect to the communication line.
  1152.  
  1153.                g      Get file(s) from a remote server. The parameters are
  1154.                       the requested files.
  1155.  
  1156.                r      Receive files. No parameters are allowed. The filenames
  1157.                       are specified by the remote kermit.
  1158.  
  1159.                s      Send file(s). The parameters are the files to transfer.
  1160.  
  1161.                x      Enter server mode.
  1162.  
  1163.                l      Use the local device '/dev/modem'.
  1164.  
  1165.                t      Use the specified device. The parameter is the
  1166.                       specified device.
  1167.  
  1168.                d      Turn debug mode on.
  1169.  
  1170.                i      Turn image mode on.
  1171.  
  1172.                f      Turn filename mapping off.
  1173.  
  1174.                e      Use new escape character (for connect only). The
  1175.                       parameter is the new character.
  1176.  
  1177.                b      Set new baudrate. The parameter is the new baudrate.
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.                                 - 18 -
  1187.  
  1188.  
  1189.      UniFLEX KERMIT Users guide
  1190.  
  1191.  
  1192.      Examples:
  1193.  
  1194.         kermit sld data*.dat
  1195.  
  1196.      This will send the file(s) 'data*.dat' to the remote kermit via the line 
  1197.      '/dev/modem'. Debugging is on.
  1198.  
  1199.         kermit tbg /dev/tty05 4800 remote_file
  1200.  
  1201.      This  will  get  the  file 'remote_file' from the remote kermit, via the 
  1202.      line  '/dev/tty05',  at  the  baudrate  of  4800  baud.  Notice that the 
  1203.      sequence  of  the  option  parameters is the same as the sequence of the 
  1204.      options.
  1205.  
  1206.         kermit cte /dev/tty03 #
  1207.  
  1208.      This  will  bring kermit in 'connect' mode (terminal emulator). The line 
  1209.      will  be  '/dev/tty03',  at  the  default speed of 1200 baud. The escape 
  1210.      character will be '#'.
  1211.