4.4BSD snapshot (revision 8.1)
[unix-history] / usr / src / usr.bin / biff / biff.1
CommitLineData
b5dc1377 1.\" Copyright (c) 1980, 1990 The Regents of the University of California.
c2e89a22 2.\" All rights reserved.
db10c785 3.\"
b5dc1377 4.\" %sccs.include.redist.man%
c2e89a22 5.\"
0e853b88 6.\" @(#)biff.1 6.5 (Berkeley) %G%
db10c785 7.\"
b5dc1377
CL
8.Dd
9.Dt BIFF 1
10.Os BSD 4
11.Sh NAME
12.Nm biff
0e853b88 13.Nd "be notified if mail arrives and who it is from"
b5dc1377
CL
14.Sh SYNOPSIS
15.Nm biff
0e853b88 16.Op Cm ny
b5dc1377
CL
17.Sh DESCRIPTION
18.Nm Biff
db10c785
KM
19informs the system whether you want to be notified when mail arrives
20during the current terminal session.
b5dc1377 21.Pp
0e853b88
CL
22Options supported by
23.Nm biff :
24.Bl -tag -width 4n
25.It Cm n
26Disables notification.
27.It Cm y
28Enables notification.
29.El
b5dc1377 30.Pp
db10c785
KM
31When mail notification is enabled, the header and first few lines of
32the message will be printed on your screen whenever mail arrives.
b5dc1377 33A
0e853b88 34.Dq Li biff y
b5dc1377 35command is often included in the file
5325ced3 36.Pa \&.login
db10c785 37or
5325ced3 38.Pa \&.profile
db10c785 39to be executed at each login.
b5dc1377
CL
40.Pp
41.Nm Biff
db10c785 42operates asynchronously.
b5dc1377
CL
43For synchronous notification use the
44.Ar MAIL
45variable of
46.Xr sh 1
db10c785 47or the
b5dc1377 48.Ar mail
db10c785 49variable of
b5dc1377
CL
50.Xr csh 1 .
51.Sh SEE ALSO
52.Xr csh 1 ,
53.Xr mail 1 ,
54.Xr sh 1 ,
55.Xr comsat 8
56.Sh HISTORY
0e853b88
CL
57The
58.Nm
59command appeared in
60.Bx 4.0 .