Debian Codegraph @

upstream/debian-unstable/man1/inetutils-talk.1

raw
1 .\" Copyright (c) 1983, 1990, 1993
2 .\" The Regents of the University of California. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 4. Neither the name of the University nor the names of its contributors
13 .\" may be used to endorse or promote products derived from this software
14 .\" without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\" @(#)talk.1 8.1 (Berkeley) 6/6/93
29 .\"
30 .Dd February 9, 2019
31 .Dt talk 1 URM
32 .Os "GNU Network Utilities"
33 .Sh NAME
34 .Nm talk
35 .Nd talk to another user
36 .Sh SYNOPSIS
37 .Nm talk
38 .Ar person
39 .Op Ar ttyname
40 .Sh DESCRIPTION
41 .Nm Talk
42 is a visual communication program which copies lines from your
43 terminal to that of another user.
44 .Pp
45 Options available:
46 .Bl -tag -width ttyname
47 .It Ar person
48 If you wish to talk to someone on your own machine, then
49 .Ar person
50 is just the person's login name. If you wish to talk to a user on
51 another host, then
52 .Ar person
53 is of the form
54 .Ql user@host .
55 .It Ar ttyname
56 If you wish to talk to a user who is logged in more than once, the
57 .Ar ttyname
58 argument may be used to indicate the appropriate terminal
59 name, where
60 .Ar ttyname
61 is of the form
62 .Ql ttyXX .
63 .El
64 .Pp
65 When first called,
66 .Nm talk
67 sends the message
68 .Bd -literal -offset indent -compact
69 Message from TalkDaemon@his_machine...
70 talk: connection requested by your_name@your_machine.
71 talk: respond with: talk your_name@your_machine
72 .Ed
73 .Pp
74 to the user you wish to talk to. At this point, the recipient
75 of the message should reply by typing
76 .Pp
77 .Dl talk \ your_name@your_machine
78 .Pp
79 It doesn't matter from which machine the recipient replies, as
80 long as his login-name is the same. Once communication is established,
81 the two parties may type simultaneously, with their output appearing
82 in separate windows. Typing control-L
83 .Ql ^L
84 will cause the screen to
85 be reprinted, while your erase, kill, and word kill characters will
86 behave normally. To exit, just type your interrupt character;
87 .Nm talk
88 then moves the cursor to the bottom of the screen and restores the
89 terminal to its previous state.
90 .Pp
91 Permission to talk may be denied or granted by use of the
92 .Xr mesg 1
93 command. At the outset talking is allowed. Certain commands, in
94 particular
95 .Xr nroff 1
96 and
97 .Xr pr 1 ,
98 disallow messages in order to
99 prevent messy output.
100 .Pp
101 .Sh FILES
102 .Bl -tag -width /run/utmp -compact
103 .It Pa /etc/hosts
104 to find the recipient's machine
105 .It Pa /run/utmp
106 to find the recipient's tty
107 .El
108 .Sh SEE ALSO
109 .Xr mail 1 ,
110 .Xr mesg 1 ,
111 .Xr who 1 ,
112 .Xr write 1
113 .Sh BUGS
114 The version of
115 .Xr talk 1
116 released with
117 .Bx 4.3
118 uses a protocol that
119 is incompatible with the protocol used in the version released with
120 .Bx 4.2 .
121 .Sh HISTORY
122 The
123 .Nm
124 command appeared in
125 .Bx 4.2 .