Line | |
---|
1 | .\" @(#)mesg.1 6.1 (Berkeley) 4/29/85
|
---|
2 | .\"
|
---|
3 | .TH MESG 1 "April 29, 1985"
|
---|
4 | .AT 3
|
---|
5 | .SH NAME
|
---|
6 | mesg \- permit or deny messages
|
---|
7 | .SH SYNOPSIS
|
---|
8 | .B mesg
|
---|
9 | [
|
---|
10 | .B n
|
---|
11 | ] [
|
---|
12 | .B y
|
---|
13 | ]
|
---|
14 | .SH DESCRIPTION
|
---|
15 | .B Mesg
|
---|
16 | with argument
|
---|
17 | .B n
|
---|
18 | forbids messages via
|
---|
19 | .B write
|
---|
20 | and
|
---|
21 | .BR talk (1)
|
---|
22 | by revoking non-user
|
---|
23 | write permission on the user's terminal.
|
---|
24 | .B Mesg
|
---|
25 | with argument
|
---|
26 | .B y
|
---|
27 | reinstates permission.
|
---|
28 | All by itself,
|
---|
29 | .B mesg
|
---|
30 | reports the current state without changing it.
|
---|
31 | .SH FILES
|
---|
32 | /dev/tty*
|
---|
33 | .SH "SEE ALSO"
|
---|
34 | .BR write (1),
|
---|
35 | .BR talk (1).
|
---|
36 | .SH DIAGNOSTICS
|
---|
37 | Exit status is 0 if messages are receivable,
|
---|
38 | 1 if not, 2 on error.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.