]> git.wh0rd.org - sysvinit.git/blob - man/mesg.1
Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12). It is
[sysvinit.git] / man / mesg.1
1 '\" -*- coding: UTF-8 -*-
2 .\" Copyright (C) 1998-2001 Miquel van Smoorenburg.
3 .\"
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
8 .\"
9 .\" This program is distributed in the hope that it will be useful,
10 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 .\" GNU General Public License for more details.
13 .\"
14 .\" You should have received a copy of the GNU General Public License
15 .\" along with this program; if not, write to the Free Software
16 .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 .\"
18 .\"{{{}}}
19 .\"{{{ Title
20 .TH MESG 1 "Feb 26, 2001" "" "Linux User's Manual"
21 .\"}}}
22 .\"{{{ Name
23 .SH NAME
24 mesg \- control write access to your terminal
25 .\"}}}
26 .\"{{{ Synopsis
27 .SH SYNOPSIS
28 .B mesg
29 .RB [ y | n ]
30 .\"}}}
31 .\"{{{ Description
32 .SH DESCRIPTION
33 .B Mesg
34 controls the access to your terminal by others. It's typically used to
35 allow or disallow other users to write to your terminal (see \fBwrite\fP(1)).
36 .\"}}}
37 .\"{{{ Options
38 .SH OPTIONS
39 .IP \fBy\fP
40 Allow write access to your terminal.
41 .IP \fBn\fP
42 Disallow write access to your terminal.
43 .PP
44 If no option is given, \fBmesg\fP prints out the current access state of your
45 terminal.
46 .\"}}}
47 .\"{{{ Notes
48 .SH NOTES
49 \fBMesg\fP assumes that its standard input is connected to your
50 terminal. That also means that if you are logged in multiple times,
51 you can get/set the mesg status of other sessions by using redirection.
52 For example "mesg n < /dev/pts/46".
53 .SH AUTHOR
54 Miquel van Smoorenburg (miquels@cistron.nl)
55 .\"}}}
56 .\"{{{ See also
57 .SH "SEE ALSO"
58 .BR talk (1),
59 .BR write (1),
60 .BR wall (1)
61 .\"}}}