1.\" $NetBSD: talkd.8,v 1.11 2010/03/22 19:01:49 joerg 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 43is the server that notifies a user that someone else wants to 44initiate a conversation. 45It acts as a repository of invitations, responding to requests 46by clients wishing to rendezvous to hold a conversation. 47.Pp 48In normal operation, a client, the caller, 49initiates a rendezvous by sending a 50.Tn CTL_MSG 51to the server of 52type 53.Tn LOOK_UP 54.Po 55see 56.In protocols/talkd.h 57.Pc . 58This causes the server to search its invitation 59tables to check if an invitation currently exists for the caller 60(to speak to the callee specified in the message). 61If the lookup fails, 62the caller then sends an 63.Tn ANNOUNCE 64message causing the server to 65broadcast an announcement on the callee's login ports requesting contact. 66.Pp 67When the callee responds, the local server uses the 68recorded invitation to respond with the appropriate rendezvous 69address and the caller and callee client programs establish a 70stream connection through which the conversation takes place. 71.Sh OPTIONS 72.Nm 73supports the following options: 74.Bl -tag -width 12345 75.It Fl d 76The 77.Fl d 78option turns on debugging logging. 79.It Fl l 80The 81.Fl l 82option turns on accounting logging for 83.Nm 84via the 85.Xr syslogd 8 86service. 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 96The 97.Nm 98command appeared in 99.Bx 4.3 . 100.Pp 101The original talkd program was coded improperly, 102in a machine and byte-order dependent fashion. 103When this was corrected, it required a protocol 104change, which necessitated a different daemon to 105handle it, thus 106.Nm 107or 108.Qq new 109talk daemon. 110The old daemon has long since been removed, 111but the detritus remain. 112