BSD 4_2 development
[unix-history] / usr / man / man1 / talk.1
CommitLineData
963c821f
C
1.TH TALK 1 "27 June 1983"
2.UC 4
3.SH NAME
4talk \- talk to another user
5.SH SYNOPSIS
6.B talk
7person [ ttyname ]
8.SH DESCRIPTION
9.I Talk
10is a visual communication program which
11copies lines from your terminal to that of
12another user.
13.PP
14If you wish to talk to someone on you own machine, then
15.I person
16is just the person's login name. If you wish to talk to
17a user on another host, then
18.I person
19is of the form :
20.sp
21.in +2.0i
22.I host!user
23\ or
24.br
25.I host.user
26\ or
27.br
28.I host:user
29\ or
30.br
31.I user@host
32.br
33.in -2.0i
34.sp
35though
36.I host@user
37is perhaps preferred.
38.PP
39If you want to talk to a user who is logged in more than once,
40the
41.I ttyname
42argument may be used to indicate the
43appropriate terminal name.
44.PP
45When first called,
46it sends the message
47.PP
48 Message from TalkDaemon@his_machine...
49 talk: connection requested by your_name@your_machine.
50 talk: respond with: talk your_name@your_machine
51.PP
52to the user you wish to talk to. At this point, the recipient
53of the message should reply by
54typing
55.PP
56 talk \ your_name@your_machine
57.PP
58It doesn't matter from
59which machine the recipient replies, as long as his login-name is
60the same.
61Once communication is established, the two parties may type
62simultaneously, with their output appearing in separate windows.
63Typing control L will cause the screen to be reprinted, while your
64erase, kill, and word kill characters will work in talk as normal.
65To exit,
66just type your interrupt character;
67.I talk
68then moves the cursor to the bottom of the screen and restores
69the terminal.
70.PP
71Permission to talk may be denied or granted by use of the
72.I mesg
73command.
74At the outset talking is allowed.
75Certain commands, in particular
76.I nroff
77and
78.IR pr (1)
79disallow
80messages in order to prevent messy output.
81.PP
82.SH FILES
83/etc/hosts to find the recipient's machine
84.br
85/etc/utmp to find the recipient's tty
86.SH "SEE ALSO"
87mesg(1), who(1), mail(1), write(1)