16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Options<br />

address<br />

Indicates the user with whom you want to talk. The most common form of<br />

address is the person’s user name (as given by the who command), but<br />

other formats may be supported.<br />

terminal<br />

An optional identifier for use when the other user is logged in on more than<br />

one terminal. The format of the terminal identifier is the same as given by<br />

who.<br />

Environment Variables<br />

talk uses the following environment variables:<br />

TERM Contains the name of your terminal.<br />

TERMINFO<br />

Contains the pathname of the terminfo database.<br />

Localization<br />

Usage notes<br />

talk uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

1. When you issue a talk command to request a conversation with another user,<br />

the other user receives a message of the form:<br />

Message from name<br />

talk: connection requested by your_address<br />

talk: respond with: talk your_address<br />

To set up the connection, your intended recipient must issue the system<br />

command<br />

talk your_address<br />

which establishes the two-way connection. After this connection has been<br />

established, both of you can type simultaneously. talk displays incoming<br />

messages from the other person in one part of the screen and outgoing<br />

messages in another part of the screen.<br />

Some terminals may not be able to split the screen into parts in this way.<br />

Depending on the terminal type, talk may try to simulate this effect. However, it<br />

may not be possible for both users to enter messages simultaneously. talk<br />

determines terminal type by looking for an environment variable named TERM.<br />

If this variable exists, talk uses its value as a site-specific name giving a<br />

terminal type. If TERM doesn’t exist, talk assumes a default type.<br />

2. The character-erase and line-kill characters work as usual. Typing <br />

refreshes both parts of the screen (for example, if some unusual character<br />

messes up the display).<br />

talk<br />

Chapter 2. Shell command descriptions 617

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!