Conversing with a remote user

Use the talk command to have a real-time conversation with another user on a remote host.

  1. The talkd daemon must be active on both the local and remote host.
  2. The user on the remote host must be logged in.

The talk command requires a valid address on which to bind. The host name of the remote terminal must be bound to a working network interface that is usable by other network commands, such as the ping command. If a machine has no network interface that is a standalone terminal, it must bind its host name to the loopback address (127.0.0.1) in order for the talk command to work.

Using electronic mail, you can send text messages to other users on a local network and receive mail from them as well. If a computer system is configured appropriately and you know the appropriate electronic address, you can send electronic mail messages across the world to someone on a remote system.

TCP/IP contains the following commands for remote communications:

Item Description
mail Sends and receives electronic memos and letters
talk Lets you have an interactive conversation with a user on a remote host
  1. To talk to the remote user dale@host2 logged in on a remote host, jane@host1 types:
    talk dale@host2
    A message similar to the following displays on the screen of dale@host2:
    Message from TalkDaemon@host1 at 15:16...
    talk: connection requested by jane@host1.
    talk: respond with: talk jane@host1
    This message informs dale@host2 that jane@host1 is trying to converse with her.
  2. To accept the invitation, dale@host2 types:
    talk jane@host1
    Users dale@host2 and jane@host1 are now able to have an interactive conversation.
  3. To end a conversation at any time, either user can press the Ctrl-C key sequence.
    This returns them to the command line prompt.