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
ca33ae2367
commit
c0e3f1222f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100655
@ -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