note other reasons for pclose to return -1; wait(2) -> wait4(2)
[unix-history] / usr / src / libexec / comsat / comsat.8
CommitLineData
54b3b5b7
KB
1.\" Copyright (c) 1983 The Regents of the University of California.
2.\" All rights reserved.
05d45a21 3.\"
54b3b5b7
KB
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
05d45a21 15.\"
54b3b5b7
KB
16.\" @(#)comsat.8 6.3 (Berkeley) %G%
17.\"
18.TH COMSAT 8 ""
05d45a21
KM
19.UC 5
20.SH NAME
21comsat \- biff server
22.SH SYNOPSIS
23.B /etc/comsat
24.SH DESCRIPTION
25.I Comsat
e8145b60 26is the server process which receives reports of incoming mail
05d45a21
KM
27and notifies users if they have requested this service.
28.I Comsat
e8145b60 29receives messages on a datagram port associated with the ``biff'' service
05d45a21 30specification (see
e8145b60
MK
31.IR services (5)
32and
33.IR inetd (8)).
34The one line messages are of the form
05d45a21
KM
35.PP
36.ti +0.5i
37user@mailbox-offset
38.PP
39If the
40.I user
41specified is logged in to the system and the associated terminal has
42the owner execute bit turned on (by a ``biff y''), the
43.I offset
44is used as a seek offset into the appropriate mailbox file and
45the first 7 lines or 560 characters of the message are printed
46on the user's terminal. Lines which appear to be part of
47the message header other than the ``From'', ``To'', ``Date'',
48or ``Subject'' lines are not included in the displayed message.
49.SH FILES
50.DT
51/etc/utmp to find out who's logged on and on what terminals
52.SH "SEE ALSO"
e8145b60 53biff(1), inetd(8)
05d45a21
KM
54.SH BUGS
55The message header filtering is prone to error.
e8145b60 56The density of the information presented is near the theoretical minimum.
05d45a21
KM
57.PP
58Users should be notified of mail which arrives on other
e8145b60 59machines than the one to which they are currently logged in.
05d45a21
KM
60.PP
61The notification should appear in a separate window so it
62does not mess up the screen.