file reorg, pathnames.h, paths.h
[unix-history] / usr / src / usr.bin / talk / talk.1
CommitLineData
860c68d3
KB
1.\" Copyright (c) 1983 The Regents of the University of California.
2.\" All rights reserved.
85f3ada0 3.\"
860c68d3
KB
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15.\"
16.\" @(#)talk.1 6.5 (Berkeley) %G%
85f3ada0 17.\"
00856602 18.TH TALK 1 ""
85f3ada0
KM
19.UC 5
20.SH NAME
21talk \- talk to another user
22.SH SYNOPSIS
23.B talk
24person [ ttyname ]
25.SH DESCRIPTION
cf09c227
KB
26\fITalk\fP is a visual communication program which copies lines from your
27terminal to that of another user.
85f3ada0 28.PP
cf09c227
KB
29If you wish to talk to someone on your own machine, then \fIperson\fP
30is just the person's login name. If you wish to talk to a user on
31another host, then \fIperson\fP is of the form \fIuser@host\fP.
85f3ada0 32.PP
cf09c227
KB
33If you want to talk to a user who is logged in more than once, the
34\fIttyname\fP argument may be used to indicate the appropriate terminal
35name, where \fIttyname\fP is of the form ``ttyXX''.
85f3ada0 36.PP
cf09c227 37When first called, \fItalk\fP sends the message
85f3ada0
KM
38.PP
39 Message from TalkDaemon@his_machine...
40 talk: connection requested by your_name@your_machine.
41 talk: respond with: talk your_name@your_machine
42.PP
43to the user you wish to talk to. At this point, the recipient
cf09c227 44of the message should reply by typing
85f3ada0
KM
45.PP
46 talk \ your_name@your_machine
47.PP
cf09c227
KB
48It doesn't matter from which machine the recipient replies, as
49long as his login-name is the same. Once communication is established,
50the two parties may type simultaneously, with their output appearing
51in separate windows. Typing control L (^L) will cause the screen to
52be reprinted, while your erase, kill, and word kill characters will
53behave normally. To exit, just type your interrupt character; \fItalk\fP
54then moves the cursor to the bottom of the screen and restores the
55terminal to its previous state.
85f3ada0 56.PP
cf09c227
KB
57Permission to talk may be denied or granted by use of the \fImesg\fP
58command. At the outset talking is allowed. Certain commands, in
59particular \fInroff\fP and \fIpr\fP, disallow messages in order to
60prevent messy output.
85f3ada0
KM
61.PP
62.SH FILES
63/etc/hosts to find the recipient's machine
64.br
cf09c227 65/etc/utmp to find the recipient's tty
85f3ada0 66.SH "SEE ALSO"
cf09c227 67mail(1), mesg(1), who(1), write(1)
416ed9d1 68.SH BUGS
cf09c227
KB
69The version of \fItalk\fP(1) released with 4.3BSD uses a protocol that
70is incompatible with the protocol used in the version released with 4.2BSD.