work work werk
[mikesnafu-overlay.git] / sysvinit-2.86 / man / mesg.1
blob1b981dbe96037a3b7cd8685f689e5f3adadf93d3
1 .\"{{{}}}
2 .\"{{{  Title
3 .TH MESG 1 "Feb 26, 2001" "" "Linux User's Manual"
4 .\"}}}
5 .\"{{{  Name
6 .SH NAME
7 mesg \- control write access to your terminal
8 .\"}}}
9 .\"{{{  Synopsis
10 .SH SYNOPSIS
11 .B mesg
12 .RB [ y | n ]
13 .\"}}}
14 .\"{{{  Description
15 .SH DESCRIPTION
16 .B Mesg
17 controls the access to your terminal by others.  It's typically used to
18 allow or disallow other users to write to your terminal (see \fBwrite\fP(1)).
19 .\"}}}
20 .\"{{{  Options
21 .SH OPTIONS
22 .IP \fBy\fP
23 Allow write access to your terminal.
24 .IP \fBn\fP
25 Disallow write access to your terminal.
26 .PP
27 If no option is given, \fBmesg\fP prints out the current access state of your
28 terminal.
29 .PP NOTES
30 \fBMesg\fP assumes that its standard input is connected to your
31 terminal. That also means that if you are logged in multiple times,
32 you can get/set the mesg status of other sessions by using redirection.
33 For example "mesg n < /dev/pts/46".
34 .SH AUTHOR
35 Miquel van Smoorenburg (miquels@cistron.nl)
36 .\"}}}
37 .\"{{{  See also
38 .SH "SEE ALSO"
39 .BR talk (1),
40 .BR write (1),
41 .BR wall (1)
42 .\"}}}