4.3BSD-UWisc/man/cat1/mesg.1

Compare this file to the similar file:
Show the results in this format:




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



NAME
     mesg - permit or deny messages

SYNOPSIS
     mesg [ n ] [ y ]

DESCRIPTION
     _M_e_s_g with argument n forbids 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 y reinstates permission.  All by
     itself, _m_e_s_g reports the current state without changing it.

FILES
     /dev/tty*

SEE ALSO
     write(1), talk(1)

DIAGNOSTICS
     Exit status is 0 if messages are receivable, 1 if not, 2 on
     error.


































Printed 12/27/86         April 29, 1985                         1