From 5eb3a502f0373a7b909fab6a2d57822e4ace492b Mon Sep 17 00:00:00 2001 From: Robert Drehmel Date: Wed, 24 Jul 2002 18:37:22 +0000 Subject: [PATCH] - Add a COMPATIBILITY section explaining that the default behaviour of obtaining the affected terminal has changed. - Refer to the user's terminal instead of the current terminal session. - Tell the reader what the utility does when it is invoked without arguments. Submitted by: johan --- usr.bin/biff/biff.1 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/usr.bin/biff/biff.1 b/usr.bin/biff/biff.1 index 4a5ca9c3001..b9f1ef8fb51 100644 --- a/usr.bin/biff/biff.1 +++ b/usr.bin/biff/biff.1 @@ -44,8 +44,8 @@ .Sh DESCRIPTION The .Nm -utility informs the system whether you want to be notified when mail arrives -during the current terminal session. +utility informs the system whether you want to be notified on your terminal +when mail arrives. .Pp Affected is the first terminal associated with the standard input, standard output or standard error file descriptor, in that order. @@ -77,6 +77,11 @@ to be executed at each login. When bell notification is enabled, only two bell characters (ASCII \\007) will be printed on your terminal whenever mail arrives. .Pp +If no arguments are given, +.Nm +displays the present notification status of the terminal to the +standard output. +.Pp The .Nm utility operates asynchronously. @@ -100,6 +105,11 @@ Notification is disabled. .It >1 An error occurred. .El +.Sh COMPATIBILITY +Previous versions of the +.Nm +utility affected the terminal attached to standard error without first +trying the standard input or output devices. .Sh SEE ALSO .Xr csh 1 , .Xr mail 1 ,