Give an example showing how to change the mesg status of terminals
other than the default one. PR: 13073
This commit is contained in:
parent
de2cfb0a7a
commit
b47ef0cbaf
@ -66,6 +66,16 @@ Permits messages to be displayed.
|
|||||||
If no arguments are given,
|
If no arguments are given,
|
||||||
.Nm
|
.Nm
|
||||||
displays the present message status to the standard output.
|
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
|
.Sh DIAGNOSTICS
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
Loading…
Reference in New Issue
Block a user