Bell 32V development
[unix-history] / usr / man / man1 / mesg.1
CommitLineData
c1030a02
TL
1.TH MESG 1
2.SH NAME
3mesg \- permit or deny messages
4.SH SYNOPSIS
5.B mesg
6[
7.B n
8] [
9.B y
10]
11.SH DESCRIPTION
12.I Mesg
13with argument
14.B n
15forbids messages via
16.IR write (1)
17by revoking non-user
18write permission on the user's terminal.
19.I Mesg
20with argument
21.B y
22reinstates permission.
23All by itself,
24.I mesg
25reports the current state without changing it.
26.SH FILES
27/dev/tty*
28.br
29/dev
30.SH "SEE ALSO"
31write(1)
32.SH DIAGNOSTICS
33Exit status is 0 if messages are receivable,
341 if not, 2 on error.