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

other than the default one.

PR:		13073
This commit is contained in:
tjr 2002-07-25 05:16:49 +00:00
parent de2cfb0a7a
commit b47ef0cbaf

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