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