
m
mesg(1) | mesg(1) |
NAME
mesg - permit or deny messages to terminal
SYNOPSIS
mesg
DESCRIPTION
The command form mesg
RETURN VALUE
mesg returns the following values:
0Messages are receivable.
1Messages are not receivable.
2An error occurred.
EXTERNAL INFLUENCES
Environment Variables
LC_MESSAGES determines the language in which messages are displayed.
If LC_MESSAGES is not speci®ed in the environment or is set to the empty string, the value of LANG is used as a default for each unspeci®ed or empty variable. If LANG is not speci®ed or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG.
If any internationalization variable contains an invalid setting, mesg behaves as if all internationalization variables are set to "C". See environ(5).
FILES
/dev/tty*
SEE ALSO
write(1).
STANDARDS CONFORMANCE
mesg: SVID2, SVID3, XPG2, XPG3, XPG4
Section 1−528 | − 1 − |