home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pub / uniflex / ufkerm.uue / ufkerm.arc / UFKERM.DOC < prev    next >
Text File  |  1989-01-11  |  51KB  |  1,255 lines

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