


      CCCCUUUU((((1111))))                       ((((UUUUNNNNIIIIXXXX 5555....0000))))                      CCCCUUUU((((1111))))



      NNNNAAAAMMMMEEEE
           cu - call another system

      SSSSYYYYNNNNTTTTAAAAXXXX
           ccccuuuu [----ssss speed] [----llll line] [----hhhh] [----tttt] [----dddd] [----mmmm] [----oooo |----eeee]

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _C_u calls a UNIX System, a terminal, or a non-UNIX system. It
           manages an interactive conversation with possible transfers
           of ASCII files.  _S_p_e_e_d gives the transmission speed (110,
           150, 300, 600, 1200, 2400, 4800, 9600, 19200).

           ----llll specifies a device name for the communications line
           device to be used.

           ----hhhh emulates local echo, allowing calls to other computer
           systems which expect terminals to be in half-duplex mode.
           The ----tttt option is used when dialing an ASCII terminal which
           has been set to auto-answer.  Appropriate mapping of
           carriage-returns to carriage-return-line-feed pairs is set.
           The ----mmmm option specifies a direct line which has modem
           control.  The ----eeee (----oooo) option designates that even (odd)
           parity is to be generated for data sent to the remote.

           After making the connection, _c_u runs as two processes. The
           _t_r_a_n_s_m_i_t process reads data from the standard input and,
           except for lines beginning with ~~~~, passes it to the remote
           system.  The _r_e_c_e_i_v_e process accepts data from the remote
           system and, except for lines beginning with ~~~~, passes it to
           the standard output.  Normally, an automatic DC3/DC1
           protocol controls input from the remote so the buffer is not
           overrun.  Lines beginning with ~~~~ have special meanings.

           The _t_r_a_n_s_m_i_t process interprets the following:

           ~~~~....                  terminate the conversation.

           ~~~~!!!!                  escape to an interactive shell on the
                               local system.

           ~~~~!!!!_c_m_d...            run _c_m_d on the local system (via sssshhhh ----cccc).

           ~~~~$$$$_c_m_d...            run _c_m_d locally and send its output to
                               the remote system.

           ~~~~%%%% ttttaaaakkkkeeee _f_r_o_m [ _t_o ] copy file _f_r_o_m (on the remote system) to
                               file _t_o on the local system.  If _t_o is
                               omitted, the _f_r_o_m argument is used in
                               both places.

           ~~~~%%%% ppppuuuutttt _f_r_o_m [ _t_o ]  copy file _f_r_o_m (on local system) to file
                               _t_o on remote system.  If _t_o is omitted,



      Page 1                                                   (9010-E)






      CCCCUUUU((((1111))))                       ((((UUUUNNNNIIIIXXXX 5555....0000))))                      CCCCUUUU((((1111))))



                               the _f_r_o_m argument is used in both
                               places.

           ~~~~~~~~...               send the line ~~~~...  to the remote
                               system.

           ~~~~%%%% nnnnoooossssttttoooopppp           turn off the DC3/DC1 input control
                               protocol for the remainder of the
                               session.  Use this if the remote system
                               is one which does not respond to the DC3
                               and DC1 protocol.

           ~~~~%%%% bbbb                or

           ~~~~%%%% bbbbrrrreeeeaaaakkkk            transmit a BREAK to the remote system.

           ~~~~^^^^ZZZZ                 suspend (only when using csh).

           The _r_e_c_e_i_v_e process normally copies data from the remote
           system to its standard output.  A line from the remote that
           begins with ~~~~>>>> initiates an output diversion to a file.  The
           complete sequence is:

                ~~~~>>>>[>>>>]::::_f_i_l_e
                zero or more lines to be written to _f_i_l_e
                ~~~~>>>>

           Data from the remote is diverted (or appended, if >>>>>>>> is
           used) to file.  The trailing ~~~~>>>> terminates the diversion.

           The use of ~~~~%%%% ppppuuuutttt requires _s_t_t_y(1) and _c_a_t(1) on the remote
           side.  It also requires that the current erase and kill
           characters on the remote system be identical to the current
           ones on the local system.  Backslashes are inserted at
           appropriate places.

           The use of ~~~~%%%% ttttaaaakkkkeeee requires the existence of _e_c_h_o(1) and
           _c_a_t(1) on the remote system.  Also, ssssttttttttyyyy ttttaaaabbbbssss mode should be
           set on the remote system if tabs are to be copied without
           expansion.

      FFFFIIIILLLLEEEESSSS
           /dev/null
           /dev/tty?

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           cat(1), echo(1), stty(1), uucp(1C).

      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
           Exit code is zero for normal exit, non-zero (various values)
           otherwise.




      Page 2                                                   (9010-E)






      CCCCUUUU((((1111))))                       ((((UUUUNNNNIIIIXXXX 5555....0000))))                      CCCCUUUU((((1111))))



      BBBBUUUUGGGGSSSS
           _C_u buffers input internally.
           There is an artificial slowing of transmission by _c_u during
           the ~~~~%%%% ppppuuuutttt operation so that loss of data is unlikely.



















































      Page 3                                                   (9010-E)



