Name
talk — Talks to another peer
Synopsis
talk -registeruserName[ -secure ] [ -propagate ] talk -loginuserNametalk -logoutuserNametalk -search talk [-uuser]userName
Description
The talk command
implements a simple instant-messaging command that enables two users
on two remote peers to exchange messages. Messages are displayed on
the stdout of the shell.
In order to use talk, the user needs to register,
log on, and send messages. This is done via the following steps:
Register via the
talk -registerusernamecommand. This command creates a talk advertisement for that user. This has to be done only once—the first time the user registers withtalk. Like all advertisements, it is cached so that it persists across reboots.-
secure Can be added in order to establish a secure talk session
-
propagate Can be added in order to establish a chatroom-style talk session
-
Log in via
talk -loginusernamecommand. This command logs in the user to the talk service and starts a listener daemon. This has to be done every time the peer is restarted.The user can now talk to another user via the
talk -umyusernamedestusernamecommand. This command will prompt the user to enter the message she wants to send:JXTA>
talk -u moi miketalk is connected to user mike Type your message. To exit, type '.' at begining of lineTo stop receiving talk messages, the user can stop the
talklistener daemon by entering thetalk -logoutusernamecommand.
Options
-
-register Registers a new username
-
-login ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access