summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-07-25 05:16:49 +0000
committertjr <tjr@FreeBSD.org>2002-07-25 05:16:49 +0000
commitb47ef0cbaf7ca2ebea9291d11bdaa56e5d185b44 (patch)
tree6e4876958fd8fb9aca0a840dc89bb0d32bd8ed92 /usr.bin
parentde2cfb0a7a345b657b83e8a56d35a723fc436192 (diff)
downloadFreeBSD-src-b47ef0cbaf7ca2ebea9291d11bdaa56e5d185b44.zip
FreeBSD-src-b47ef0cbaf7ca2ebea9291d11bdaa56e5d185b44.tar.gz
Give an example showing how to change the mesg status of terminals
other than the default one. PR: 13073
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mesg/mesg.110
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/mesg/mesg.1 b/usr.bin/mesg/mesg.1
index c9f6800..813ac21 100644
--- a/usr.bin/mesg/mesg.1
+++ b/usr.bin/mesg/mesg.1
@@ -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
OpenPOWER on IntegriCloud