From b47ef0cbaf7ca2ebea9291d11bdaa56e5d185b44 Mon Sep 17 00:00:00 2001 From: tjr Date: Thu, 25 Jul 2002 05:16:49 +0000 Subject: Give an example showing how to change the mesg status of terminals other than the default one. PR: 13073 --- usr.bin/mesg/mesg.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'usr.bin') 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