Give an example showing how to change the mesg status of terminals

other than the default one.

PR:		13073
This commit is contained in:
Tim J. Robbins 2002-07-25 05:16:49 +00:00
parent ca33ae2367
commit c0e3f1222f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100655

View File

@ -66,6 +66,16 @@ Permits messages to be displayed.
If no arguments are given,
.Nm
displays the present message status to the standard output.
.Sh EXAMPLES
Disallow messages from other users to the current terminal:
.Pp
.Dl "mesg n"
.Pp
Allow messages from other users to
.Pa ttyp1
(assuming you are also logged in on that terminal):
.Pp
.Dl "mesg y </dev/ttyp1"
.Sh DIAGNOSTICS
The
.Nm