MPE/iX Shell and Utilities Reference Manual, Vol 2

write(1) MPE/iX Shell and Utilities write(1)
The mesg command lets you refuse write messages. With
mesg n
you can tell the system that you don’t want to be interrupted by write messages. If people
try to write to you, they are denied immediately; the system does not inform you about such
attempts. For further details, see mesg(1).
DIAGNOSTICS
Possible exit status values are:
0 write successfully wrote a message; or the intended recipient has used mesg to refuse
messages (either before you start sending a message or as you are sending the message).
1 An error occurred.
Messages
Message: insufficient memory
Cause: There were not enough free system resources to perform the specified operation.
Action: Free up more resources.
Message: no permission to write to user on terminal tty
Cause: You tried to write to a user who had disabled communication with mesg.
Action: Send e-mail to user.
Message: Not setgid to term_group -- contact your system adminis-
trator
Cause: The process does not belong to the term_group group.
Action: Contact your system administrator.
Message: target terminal "tty": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: term_group group is missing -- contact your system ad-
ministrator
Cause: write was unable to find term_group (that is, the group that owns all the ter-
minals).
Action: Contact your system administrator.
Message: user logged in more than once ... writing to tty
Cause: You tried to write to user’s terminal but user was logged in multiple times.
write writes to user’s session on the terminal tty.
Action: If you want to write to a different terminal than the one that write chose,
specify the terminal argument on the command line.
Commands and Utilities 1-703