2009-09-10 13:58:49 +05:30
|
|
|
'\" -*- coding: UTF-8 -*-
|
|
|
|
.\" Copyright (C) 1998-2001 Miquel van Smoorenburg.
|
|
|
|
.\"
|
|
|
|
.\" This program is free software; you can redistribute it and/or modify
|
|
|
|
.\" it under the terms of the GNU General Public License as published by
|
|
|
|
.\" the Free Software Foundation; either version 2 of the License, or
|
|
|
|
.\" (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" This program is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public License
|
|
|
|
.\" along with this program; if not, write to the Free Software
|
|
|
|
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
.\"
|
|
|
|
.\"{{{}}}
|
|
|
|
.\"{{{ Title
|
2021-12-28 01:44:42 +05:30
|
|
|
.TH MESG 1 "Feb 26, 2001" "sysvinit @VERSION@" "User Commands"
|
2009-09-10 13:58:49 +05:30
|
|
|
.\"}}}
|
|
|
|
.\"{{{ Name
|
|
|
|
.SH NAME
|
|
|
|
mesg \- control write access to your terminal
|
|
|
|
.\"}}}
|
|
|
|
.\"{{{ Synopsis
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B mesg
|
|
|
|
.RB [ y | n ]
|
|
|
|
.\"}}}
|
|
|
|
.\"{{{ Description
|
|
|
|
.SH DESCRIPTION
|
2021-12-28 01:44:42 +05:30
|
|
|
.B mesg
|
2009-09-10 13:58:49 +05:30
|
|
|
controls the access to your terminal by others. It's typically used to
|
|
|
|
allow or disallow other users to write to your terminal (see \fBwrite\fP(1)).
|
|
|
|
.\"}}}
|
|
|
|
.\"{{{ Options
|
|
|
|
.SH OPTIONS
|
|
|
|
.IP \fBy\fP
|
|
|
|
Allow write access to your terminal.
|
|
|
|
.IP \fBn\fP
|
|
|
|
Disallow write access to your terminal.
|
|
|
|
.PP
|
|
|
|
If no option is given, \fBmesg\fP prints out the current access state of your
|
|
|
|
terminal.
|
|
|
|
.\"}}}
|
|
|
|
.\"{{{ Notes
|
|
|
|
.SH NOTES
|
2021-12-28 01:44:42 +05:30
|
|
|
\fBmesg\fP assumes that its standard input is connected to your
|
2009-09-10 13:58:49 +05:30
|
|
|
terminal. That also means that if you are logged in multiple times,
|
|
|
|
you can get/set the mesg status of other sessions by using redirection.
|
|
|
|
For example "mesg n < /dev/pts/46".
|
|
|
|
.SH AUTHOR
|
2021-12-28 01:44:42 +05:30
|
|
|
.MT miquels@\:cistron\:.nl
|
|
|
|
Miquel van Smoorenburg
|
|
|
|
.ME
|
2009-09-10 13:58:49 +05:30
|
|
|
.\"}}}
|
|
|
|
.\"{{{ See also
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR talk (1),
|
|
|
|
.BR write (1),
|
|
|
|
.BR wall (1)
|
|
|
|
.\"}}}
|