blob: 15580ae3ba956d49d6d33988687fc8ab9e142c83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
.TH TALK 1 local
.SH NAME
talk \- talk to another user
.SH SYNOPSIS
.B talk
.I user
[
.I ttyname
]
.SH DESCRIPTION
.I Talk
is identical to
.IR write (1)
except that transmission takes place one character at a time, without
waiting for the newline at the end of each line.
.I Talk
copies characters from your terminal to that of
another user.
When first called,
it sends the message
.PP
yourname yourttyname talking...
.PP
The recipient of the message should talk back at this point.
Communication continues until an interrupt (DEL) or EOT (CTRL-d) is sent.
At that point
.I talk
writes `EOT' on the other terminal and exits.
.PP
If you want to talk to a user who is logged in more than once,
the
.I ttyname
argument may be used to indicate the appropriate terminal name.
.PP
Permission to talk may be denied or granted by use of the
.I mesg
command.
At the outset talking is allowed.
Certain commands, in particular
.I nroff
and
.IR pr (1)
disallow messages in order to prevent messy output.
.PP
If the character `!' is found at the beginning of a line,
.I talk
calls the shell to execute the rest of the line as a command.
.PP
The following protocol is suggested for using
.IR talk :
when you first talk to another user, wait for her to
talk back before starting to send.
Each party should end each message with a distinctive
signal \(em \fB(o)\fR
for `over' is conventional \(em so that the other may reply.
.B (oo)
for `over and out' is suggested when conversation
is about to be terminated.
.SH FILES
/etc/utmp to find user
.br
/bin/sh to execute `!'
.SH "SEE ALSO"
.IR write (1),
.IR mesg (1),
.IR who (1),
.IR mail (1)
|