mesg(1) mesg(1)NAME mesg - permit or deny messages SYNOPSIS mesg [choice] DESCRIPTION mesg permits or denies receipt of messages sent by another user via write(1). With no argument, mesg reports the current permission state. The choice arguments may be ei- ther y or n. mesg with choice n forbids messages by revoking nonuser write permission on the user's terminal. mesg with argument y reinstates permission. EXAMPLES mesg y changes the permission to ``yes'' and the system reports: Is Yes; Was No or whatever is the current and former state of your message permission. FILES /bin/mesg /dev/tty* SEE ALSO talk(1N), write(1). DIAGNOSTICS Exit status is 0 if messages are receivable, 1 if not, 2 on error. April, 1990 1