xref: /386bsd/usr/share/man/cat1/mesg.0 (revision a2142627)
1MESG(1)                     386BSD Reference Manual                    MESG(1)
2
3NNAAMMEE
4     mmeessgg - Display (do not display) messages from other users
5
6SSYYNNOOPPSSIISS
7     mmeessgg [nn | yy]
8
9DDEESSCCRRIIPPTTIIOONN
10     The mmeessgg utility is invoked by a user to control write access others have
11     to her or his terminal.  By default, write access is allowed, and
12     programs such as talk(1),  write(1) and echo(1) may display messages on
13     the target user's terminal.
14
15     Options available:
16
17     nn     Disallows messages and informs the sender that `Your party is
18           refusing messages'.
19
20     yy     Allows messages to be displayed.
21
22     If no arguments are given, mmeessgg displays the present message status.
23
24     The mmeessgg utility exits with one of the following values:
25
26            0    Messages are allowed.
27            1    Messages are not allowed.
28           -1    An error has occurred.
29
30FFIILLEESS
31     /dev/[pt]ty[pq]?
32
33SSEEEE AALLSSOO
34     write(1),  talk(1),  echo(1),  biff(1)
35
36HHIISSTTOORRYY
37     A mmeessgg command appeared in Version 6 AT&T UNIX.
38
39BSD Experimental                 July 26, 1991                               1
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67