mesg(1)
_________________________________________________________________
mesg Command
permit or deny messages
_________________________________________________________________
SYNTAX
mesg [ n ] [ y ]
DESCRIPTION
mesg n Prevents other users from sending you messages with
write(1). (It takes away non-user write permission on
the user's terminal).
mesg y Resets the permission so that you can receive messages.
mesg Reports the current state without changing it.
_________________________________________________________________
EXAMPLES
$ mesg
is y
In the above example, the user checked if messages could be
received at the terminal. The respone "is y" states that the
user can receive messages sent with the "write" command.
$ mesg n
$ mesg
is n
In the above example, the user has turned off the ability to
receive messages.
_________________________________________________________________
FILES
/dev/tty*
SEE ALSO
write(1).
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
mesg(1)
DIAGNOSTICS
Exit status is 0 if messages are receivable, 1 if not, 2 on
error.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)