3 .TH MESG 1 "Feb 26, 2001" "" "Linux User's Manual"
7 mesg \- control write access to your terminal
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)).
23 Allow write access to your terminal.
25 Disallow write access to your terminal.
27 If no option is given, \fBmesg\fP prints out the current access state of your
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".
35 Miquel van Smoorenburg (miquels@cistron.nl)