mesg(1)
NAME
mesg − permit or deny messages to terminal
SYNOPSIS
mesg n
mesg y
mesg
DESCRIPTION
The command form mesg n forbids messages via write(1) by revoking non-user write permission on the user’s terminal. mesg y reinstates permission. mesg without any other argument reports the current state without changing it.
FILES
/dev/tty∗
RETURN VALUE
mesg returns the following values:
0 Messages are receivable.
1 Messages are not receivable. 2 An error occurred.
FILES
/dev/tty∗
SEE ALSO
STANDARDS CONFORMANCE
mesg: SVID2, XPG2, XPG3
Hewlett-Packard Company — HP-UX Release 8.05: June 1991