diff options
author | tjr <tjr@FreeBSD.org> | 2002-07-25 05:16:49 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-07-25 05:16:49 +0000 |
commit | b47ef0cbaf7ca2ebea9291d11bdaa56e5d185b44 (patch) | |
tree | 6e4876958fd8fb9aca0a840dc89bb0d32bd8ed92 /usr.bin/mesg | |
parent | de2cfb0a7a345b657b83e8a56d35a723fc436192 (diff) | |
download | FreeBSD-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/mesg')
-rw-r--r-- | usr.bin/mesg/mesg.1 | 10 |
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 |