zpool(8) uses tbl.
[netbsd-mini2440.git] / libexec / comsat / comsat.8
bloba7625c4a5b80d2a60695d07e9289be687eb709de
1 .\"     $NetBSD: comsat.8,v 1.12 2004/06/25 17:34:38 christos Exp $
2 .\"
3 .\" Copyright (c) 1983, 1991, 1993
4 .\"     The Regents of the University of California.  All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\"    may be used to endorse or promote products derived from this software
16 .\"    without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .\"     from: @(#)comsat.8      8.1 (Berkeley) 6/4/93
31 .\"
32 .Dd June 25, 2004
33 .Dt COMSAT 8
34 .Os
35 .Sh NAME
36 .Nm comsat
37 .Nd biff server
38 .Sh SYNOPSIS
39 .Nm
40 .Op Fl l
41 .Sh DESCRIPTION
42 .Nm
43 is the server process which receives reports of incoming mail
44 and notifies users if they have requested this service.
45 .Nm
46 receives messages on a datagram port associated with the
47 .Dq biff
48 service
49 specification (see
50 .Xr services 5
51 and
52 .Xr inetd 8 ) .
53 The one line messages are of the form:
54 .Pp
55 .Dl user@mailbox-offset
56 .Pp
57 If the
58 .Em user
59 specified is logged in to the system and the associated terminal has
60 the owner execute bit turned on (by a
61 .Dq Li biff y ) ,
62 the
63 .Em offset
64 is used as a seek offset into the appropriate mailbox file and
65 the first 7 lines or 560 characters of the message are printed
66 on the user's terminal.
67 Lines which appear to be part of the message header other than the
68 .Dq From ,
69 .Dq \&To ,
70 .Dq Date ,
72 .Dq Subject
73 lines are not included in the displayed message.
74 .Sh OPTIONS
75 The
76 .Nm
77 program supports this option:
78 .Bl -tag -width 12345
79 .It Fl l
80 The
81 .Fl l
82 option turns on
83 .Xr syslogd 8
84 log messages.
85 .El
86 .Sh FILES
87 To find out who's logged on and on what terminals
88 .Nm
89 consults:
90 .Pp
91 .Bl -tag -width /var/run/utmpx -compact
92 .It Pa /var/run/utmp
93 .It Pa /var/run/utmpx
94 .El
95 .Sh SEE ALSO
96 .Xr biff 1 ,
97 .Xr inetd 8 ,
98 .Xr syslogd 8
99 .Sh HISTORY
102 command appeared in
103 .Bx 4.2 .
104 .Sh BUGS
105 The message header filtering is prone to error.
106 The density of the information presented is near the theoretical minimum.
108 Users should be notified of mail which arrives on other
109 machines than the one to which they are currently logged in.
111 The notification should appear in a separate window so it
112 does not mess up the screen.
115 runs as root so that it can open the users maildrop.