4.3BSD-Tahoe/usr/man/cat1/mesg.0

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




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



NNAAMMEE
     mesg - permit or deny messages

SSYYNNOOPPSSIISS
     mmeessgg [ nn ] [ yy ]

DDEESSCCRRIIPPTTIIOONN
     _M_e_s_g with argument nn forbids messages via _w_r_i_t_e and _t_a_l_k by
     revoking non-user write permission on the user's terminal.
     _M_e_s_g with argument yy reinstates permission.  _M_e_s_g without
     arguments reports the current state without changing it.

FFIILLEESS
     /dev/tty*

SSEEEE AALLSSOO
     write(1), talk(1)

DDIIAAGGNNOOSSTTIICCSS
     Exit status is 0 if messages are receivable, 1 if not, -1 on
     error.


































Printed 7/9/88		  July 9, 1988				1