BSD 4_3 development
[unix-history] / usr / src / old / talk / README
CommitLineData
43594721
C
1Talk consists of two parts:
2
3 talk itself, which is the user interface. Talk initiates the
4 talk requests and negotiates with the suitable talk daemons.
5
6 talkd, the talk daemon. Talkd announces an invitation to talk
7 to a user on its' local machine and acts like a rendezvous
8 point for inter-machine talks. The socket address's of
9 the invitING talk process is kept at the local talkd of
10 the invitEE. Talkd must run as root, and should be forked
11 off on boot along with the other daemons. There is
12 no provision for automatic restart of talkd. If for
13 some reason it dies, it must be restarted by hand. Since
14 talkd opens a special addresses socket (517 at the present
15 time), the first talkd to run will lock out any other
16 talkd. The locked out talkd will sit and bitch every
17 15 seconds for about five minutes, so don't leave it running.
18
19
20So, to install:
21
22 run 'make install' from the top of the talk source directory.
23 The install will fail if an older version of talkd is still
24 running. If it does fail because of a 'text file busy' error,
25 kill the old talkd and 'make install' again.
26
27 execute '/usr/lib/talkd' to start the daemon immediately.
28
29 Install a line in /etc/rc or /etc/rc.local to fork talkd off in
30 background on reboot.
31
32 Try talk. If it immediately fails with 'Bad system call', then
33 you should recompile ctl.c with the -DGETSOCK flag and remake
34 talk. This makes talk use getsockname (actually syscall(150))
35 instead socketaddr(). This will go away once 4.1c stabilizes.