[0m


MESG(1)             UNIX Programmer's Manual		  MESG(1)



[1mNAME
     [0mmesg - permit or deny messages

[1mSYNOPSIS
     mesg [0m[ [1mn [0m] [ [1my [0m]

[1mDESCRIPTION
     [0m_M_e_s_g with argument [1mn [0mforbids messages via _w_r_i_t_e and _t_a_l_k(1)
     by revoking non-user write permission on the user's termi-
     nal.  _M_e_s_g with argument [1my [0mreinstates permission.	All by
     itself, _m_e_s_g reports the current state without changing it.

[1mFILES
     [0m/dev/tty*

[1mSEE ALSO
     [0mwrite(1), talk(1), wall(1).

[1mDIAGNOSTICS
     [0mExit status is 0 if messages are receivable, 1 if not, 2 on
     error.


































Printed 22/11/91    Revision 1.4 of 16/11/90			1



[0m