Do not use .Xo/.Xc to work around ancient roff limits.
[netbsd-mini2440.git] / libexec / talkd / talkd.8
blob3129fbdd2513214482ddc7d8a196631e4ef11058
1 .\"     $NetBSD: talkd.8,v 1.9 2004/03/24 05:32:42 fair Exp $
2 .\" Copyright (c) 1983, 1991, 1993
3 .\"     The Regents of the University of California.  All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of the University nor the names of its contributors
14 .\"    may be used to endorse or promote products derived from this software
15 .\"    without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" SUCH DAMAGE.
28 .\"
29 .\"     @(#)talkd.8     8.2 (Berkeley) 12/11/93
30 .\"
31 .Dd March 23, 2004
32 .Dt NTALKD 8
33 .Os
34 .Sh NAME
35 .Nm ntalkd ,
36 .Nm talkd
37 .Nd remote user communication server
38 .Sh SYNOPSIS
39 .Nm
40 .Op Fl dl
41 .Sh DESCRIPTION
42 .Nm
43 is the server that notifies a user that someone else wants to
44 initiate a conversation.
45 It acts as a repository of invitations, responding to requests
46 by clients wishing to rendezvous to hold a conversation.
47 .Pp
48 In normal operation, a client, the caller,
49 initiates a rendezvous by sending a
50 .Tn CTL_MSG
51 to the server of
52 type
53 .Tn LOOK_UP
54 .Po
55 see
56 .Aq Pa protocols/talkd.h
57 .Pc .
58 This causes the server to search its invitation
59 tables to check if an invitation currently exists for the caller
60 (to speak to the callee specified in the message).
61 If the lookup fails,
62 the caller then sends an
63 .Tn ANNOUNCE
64 message causing the server to
65 broadcast an announcement on the callee's login ports requesting contact.
66 .Pp
67 When the callee responds, the local server uses the
68 recorded invitation to respond with the appropriate rendezvous
69 address and the caller and callee client programs establish a
70 stream connection through which the conversation takes place.
71 .Sh OPTIONS
72 .Nm
73 supports the following options:
74 .Bl -tag -width 12345
75 .It Fl d
76 The
77 .Fl d
78 option turns on debugging logging.
79 .It Fl l
80 The
81 .Fl l
82 option turns on accounting logging for
83 .Nm
84 via the
85 .Xr syslogd 8
86 service.
87 .El
88 .Sh FILES
89 .Pa /usr/libexec/ntalkd
90 .Sh SEE ALSO
91 .Xr talk 1 ,
92 .Xr write 1 ,
93 .Xr syslog 3 ,
94 .Xr syslogd 8
95 .Sh HISTORY
96 The
97 .Nm
98 command appeared in
99 .Bx 4.3 .
101 The original talkd program was coded improperly,
102 in a machine and byte-order dependent fashion.
103 When this was corrected, it required a protocol
104 change, which necessitated a different daemon to
105 handle it, thus
108 .Qq new
109 talk daemon.
110 The old daemon has long since been removed,
111 but the detritus remain.