BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / talk.0
TALK(1) UNIX Programmer's Manual TALK(1)
N\bNA\bAM\bME\bE
talk - talk to another user
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
t\bta\bal\blk\bk person [ ttyname ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bT_\ba_\bl_\bk is a visual communication program which copies lines
from your terminal to that of another user.
If you wish to talk to someone on your own machine, then
_\bp_\be_\br_\bs_\bo_\bn is just the person's login name. If you wish to talk
to a user on another host, then _\bp_\be_\br_\bs_\bo_\bn is of the form
_\bu_\bs_\be_\br@_\bh_\bo_\bs_\bt.
If you want to talk to a user who is logged in more than
once, the _\bt_\bt_\by_\bn_\ba_\bm_\be argument may be used to indicate the
appropriate terminal name, where _\bt_\bt_\by_\bn_\ba_\bm_\be is of the form
``ttyXX''.
When first called, _\bt_\ba_\bl_\bk sends the message
Message from TalkDaemon@his_machine...
talk: connection requested by your_name@your_machine.
talk: respond with: talk your_name@your_machine
to the user you wish to talk to. At this point, the reci-
pient of the message should reply by typing
talk your_name@your_machine
It doesn't matter from which machine the recipient replies,
as long as his login-name is the same. Once communication
is established, the two parties may type simultaneously,
with their output appearing in separate windows. Typing
control L (^L) will cause the screen to be reprinted, while
your erase, kill, and word kill characters will behave nor-
mally. To exit, just type your interrupt character; _\bt_\ba_\bl_\bk
then moves the cursor to the bottom of the screen and
restores the terminal to its previous state.
Permission to talk may be denied or granted by use of the
_\bm_\be_\bs_\bg command. At the outset talking is allowed. Certain
commands, in particular _\bn_\br_\bo_\bf_\bf and _\bp_\br, disallow messages in
order to prevent messy output.
F\bFI\bIL\bLE\bES\bS
/etc/hosts to find the recipient's machine
/etc/utmp to find the recipient's tty
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
mail(1), mesg(1), who(1), write(1)
Printed 7/9/88 November 24, 1987 1
TALK(1) UNIX Programmer's Manual TALK(1)
B\bBU\bUG\bGS\bS
The version of _\bt_\ba_\bl_\bk(1) released with 4.3BSD uses a protocol
that is incompatible with the protocol used in the version
released with 4.2BSD.
Printed 7/9/88 November 24, 1987 2