SUNWcsu
When first invoked, talk sends a message similar to:
Message from TalkDaemon@ her_machine at time ... talk: connection requested by your_address talk: respond with: talk your_address
to the specified address. At this point, the recipient of the message can reply by typing:
talk your_address
Once communication is established, the two parties can type simultaneously, with their output displayed in separate regions of the screen. Characters are processed as follows:
- Typing the alert character will alert the recipient’s terminal.
- Typing CTRL-L will cause the sender’s screen regions to be refreshed.
- Typing the erase and kill characters will affect the sender’s terminal in the manner described by the termios(3) interface.
- Typing the interrupt or end-of-file (EOF ) characters will terminate the local talk utility. Once the talk session has been terminated on one side, the other side of the talk session will be notified that the talk session has been terminated and will be able to do nothing except exit.
- Typing characters from LC_CTYPE classifications print or space will cause those characters to be sent to the recipient’s terminal.
- When and only when the stty iexten local mode is enabled, additional special control characters and multi-byte or single-byte characters are processed as printable characters if their wide character equivalents are printable.
- Typing other non-printable characters will cause them to be written to the recipient’s terminal as follows: control characters will appear as a ‘^’ followed by the appropriate ASCII character, and characters with the high-order bit set will appear in ‘meta’ notation. For example, ‘\003’ is displayed as ‘^C’ and ‘\372’ as ‘M-z’.
Permission to be a recipient of a talk message can be denied or granted by use of the mesg(1) utility. However, a user’s privilege may further constrain the domain of accessibility of other users’ terminals. Certain commands, such as pr(1) , disallow messages in order to prevent interference with their output. talk will fail when the user lacks the appropriate privileges to perform the requested action.
Certain block-mode terminals do not have all the capabilities necessary to support the simultaneous exchange of messages required for talk. When this type of exchange cannot be supported on such terminals, the implementation may support an exchange with reduced levels of simultaneous interaction or it may report an error describing the terminal-related deficiency.