MESG(1) 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 terminal. _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. 7th Edition April 29, 1985 MESG(1)