1MESG(1) General Commands Manual MESG(1)
2
3
4
6 mesg - permit or deny messages
7
9 mesg [ n ] [ y ]
10
12 Mesg with argument n forbids messages via write and talk(1) by revoking
13 non-user write permission on the user's terminal. Mesg with argument y
14 reinstates permission. All by itself, mesg reports the current state
15 without changing it.
16
18 /dev/tty*
19
21 write(1), talk(1)
22
24 Exit status is 0 if messages are receivable, 1 if not, 2 on error.
25
26
27
287th Edition April 29, 1985 MESG(1)