mesg(1) MPE/iX Shell and Utilities mesg(1)
______________________________________________________________________
NAME
mesg -- allow or refuse messages
SYNOPSIS
mesg [y] [n]
DESCRIPTION
Note: The MPE/iX implementation of this utility does not function
exactly as this man page describes. For details, see the MPE/iX
NOTES section at the end of this man page.
mesg determines whether other users can send messages to your
terminal with talk, write, or similar utilities.
mesg y
lets other people send you messages.
mesg n
tells the system not to let others send you messages.
mesg
outputs the current setting without changing it.
The terminal is determined by the first of standard input, stan-
dard output, or standard error which is directed to a terminal.
DIAGNOSTICS
Possible exit status values are:
0 Receiving messages is currently allowed.
1 Receiving messages is not currently allowed.
2 An error occurred.
Messages
Message: Not setgid to term_group -- contact your system admin-
istrator
Cause: The process does not belong to the term_group group.
Action: Contact your system administrator.
1
mesg(1) MPE/iX Shell and Utilities mesg(1)
______________________________________________________________________
Message: term_group group is missing -- contact your system
administrator
Cause: mesg was unable to find term_group (that is, the group
that owns all the terminals).
Action: Contact your system administrator.
Message: terminal "term": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: Unknown operand "string"
Cause: You specified an operand string that was not the
required yes or no expression (normally y or n but may
differ for other languages).
Action: Specify y or n as operands to mesg.
Message: unknown terminal
Cause: mesg was unable to determine a path for the terminal
name, or none of standard input, standard output, and
standard error were a terminal.
Action: Make sure that standard input is a terminal, not a
redirected file or a pipe.
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems.
MPE/iX NOTES
The mesg utility is currently implemented on MPE/iX as a call to
the MPE/iX SETMSG command. As a result, it has the same behavior
as the SETMSG command. For more information about the MPE/iX CI
SETMSG command, refer to the MPE/iX Commands Reference Manual.
Executing
mesg n
disables messages from write, wall, and the MPE/iX CI TELL com-
mand. It uses the MPE/iX CI variable HPQUIET to determine the
current status.
For more information on how the current MPE/iX implementation may
affect the operation of this utility, see Appendix A, MPE/iX
Implementation Considerations.
SEE ALSO
talk(1), write(1)
2