talk - Unix, Linux Command
- talk to another user
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
is just the persons login name. If you wish to talk to a user on
another host, then
is of the form
If you wish to talk to a user who is logged in more than once, the
argument may be used to indicate the appropriate terminal
is of the form
When first called,
contacts the talk daemon on the other users machine, which sends the
Message from TalkDaemon@his_machine...
talk: connection requested by your_name@your_machine.
talk: respond with: talk your_name@your_machine
to that user. At this point, he then replies by typing
It doesnt 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; their output will appear
in separate windows. Typing control-L (^L)
will cause the screen to
be reprinted. The erase, kill line, and word erase characters
(normally ^H, ^U, and ^W respectively)
will behave normally. To exit, just type the interrupt character
then moves the cursor to the bottom of the screen and restores the
terminal to its previous state.
As of netkit-ntalk 0.15
supports scrollback; use esc-p and esc-n to scroll your window, and
ctrl-p and ctrl-n to scroll the other window. These keys are now
opposite from the way they were in 0.16; while this will probably be
confusing at first, the rationale is that the key combinations with
escape are harder to type and should therefore be used to scroll ones
own screen, since one needs to do that much less often.
If you do not want to receive talk requests, you may block them using the
command. By default, talk requests are normally not blocked.
Certain commands, in particular
may block messages temporarily in order to
prevent messy output.
to find the recipients machine
to find the recipients tty
The protocol used to communicate with the talk daemon is braindead.
Also, the version of
uses a different and even more braindead protocol that is completely
incompatible. Some vendor Unixes (particularly those from Sun) have
been found to use this old protocol.
Old versions of
may have trouble running on machines with more than one IP address,
such as machines with dynamic SLIP or PPP connections. This problem is
fixed as of netkit-ntalk 0.11, but may affect people you are trying to
command appeared in
BSD 4.2 .