


      WWWWRRRRIIIITTTTEEEE((((1111))))                    ((((UUUUNNNNIIIIXXXX 5555....0000))))                   WWWWRRRRIIIITTTTEEEE((((1111))))



      NNNNAAAAMMMMEEEE
           write - write to another user

      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
           wwwwrrrriiiitttteeee user [ line ]

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           _W_r_i_t_e copies lines from your terminal to that of another
           user.  When first called, it sends the message:

                MMMMeeeessssssssaaaaggggeeee ffffrrrroooommmm _y_o_u_r_n_a_m_e ((((ttttttttyyyy??)))) [ _d_a_t_e ]............

           to the person you want to talk to.  When it has successfully
           completed the connection it also sends two bells to your own
           terminal to indicate that what you are typing is being sent.

           The recipient of the message should write back at this
           point.  Communication continues until an end of file is read
           from the terminal or an interrupt is sent.  At that point
           _w_r_i_t_e writes EEEEOOOOTTTT on the other terminal and exits.

           If you want to write to a user who is logged in more than
           once, the _l_i_n_e argument may be used to indicate which line
           or terminal to send to (e.g., ttttttttyyyy00000000); otherwise, the first
           instance of the user found in ////eeeettttcccc////uuuuttttmmmmpppp is assumed and the
           following message posted:

                _u_s_e_r is logged on more than one place.
                You are connected to "_t_e_r_m_i_n_a_l".
                Other locations are:
                _t_e_r_m_i_n_a_l

           Permission to write may be denied or granted by use of the
           _m_e_s_g(_1) command.  Writing to others is normally allowed by
           default.  Certain commands, in particular _n_r_o_f_f(1) and _p_r(1)
           disallow messages in order to prevent interference with
           their output.  However, if the user has super-user
           permissions, messages can be forced onto a write inhibited
           terminal.

           If the character !!!! is found at the beginning of a line,
           _w_r_i_t_e calls the shell to execute the rest of the line as a
           command.

           The following protocol is suggested for using _w_r_i_t_e:  when
           you first _w_r_i_t_e to another user, wait for them to _w_r_i_t_e back
           before starting to send.  Each person should end a message
           with a distinctive signal (i.e., ((((oooo)))) for ``over'') so that
           the other person knows when to reply.  The signal ((((oooooooo)))) (for
           ``over and out'') is suggested when conversation is to be
           terminated.




      Page 1                                                   (9010-E)






      WWWWRRRRIIIITTTTEEEE((((1111))))                    ((((UUUUNNNNIIIIXXXX 5555....0000))))                   WWWWRRRRIIIITTTTEEEE((((1111))))



      FFFFIIIILLLLEEEESSSS
           /etc/utmp to find user
           /bin/sh   to execute !!!!

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           mail(1), mesg(1), nroff(1), pr(1), sh(1), who(1).

      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
           ``_u_s_e_r _n_o_t _l_o_g_g_e_d _i_n'' if the person you are trying to _w_r_i_t_e
           to is not logged in.













































      Page 2                                                   (9010-E)



