Commit | Line | Data |
---|---|---|
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 | .\" | |
416ed9d1 | 5 | .\" @(#)talk.1 6.2 (Berkeley) %G% |
85f3ada0 | 6 | .\" |
00856602 | 7 | .TH TALK 1 "" |
85f3ada0 KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | talk \- talk to another user | |
11 | .SH SYNOPSIS | |
12 | .B talk | |
13 | person [ ttyname ] | |
14 | .SH DESCRIPTION | |
15 | .I Talk | |
16 | is a visual communication program which | |
17 | copies lines from your terminal to that of | |
18 | another user. | |
19 | .PP | |
20 | If you wish to talk to someone on you own machine, then | |
21 | .I person | |
22 | is just the person's login name. If you wish to talk to | |
23 | a user on another host, then | |
24 | .I person | |
25 | is 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 | |
41 | though | |
42 | .I host@user | |
43 | is perhaps preferred. | |
44 | .PP | |
45 | If you want to talk to a user who is logged in more than once, | |
46 | the | |
47 | .I ttyname | |
48 | argument may be used to indicate the | |
49 | appropriate terminal name. | |
50 | .PP | |
51 | When first called, | |
52 | it 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 | |
58 | to the user you wish to talk to. At this point, the recipient | |
59 | of the message should reply by | |
60 | typing | |
61 | .PP | |
62 | talk \ your_name@your_machine | |
63 | .PP | |
64 | It doesn't matter from | |
65 | which machine the recipient replies, as long as his login-name is | |
66 | the same. | |
67 | Once communication is established, the two parties may type | |
68 | simultaneously, with their output appearing in separate windows. | |
69 | Typing control L will cause the screen to be reprinted, while your | |
70 | erase, kill, and word kill characters will work in talk as normal. | |
71 | To exit, | |
72 | just type your interrupt character; | |
73 | .I talk | |
74 | then moves the cursor to the bottom of the screen and restores | |
75 | the terminal. | |
76 | .PP | |
77 | Permission to talk may be denied or granted by use of the | |
78 | .I mesg | |
79 | command. | |
80 | At the outset talking is allowed. | |
81 | Certain commands, in particular | |
82 | .I nroff | |
83 | and | |
84 | .IR pr (1) | |
85 | disallow | |
86 | messages 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" | |
93 | mesg(1), who(1), mail(1), write(1) | |
416ed9d1 KM |
94 | .SH BUGS |
95 | The version of | |
96 | .IR talk (1) | |
97 | released with 4.3BSD uses a protocol that is incompatible | |
98 | with the protocol used in the version released with 4.2BSD. |