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.

Related Information<br />

help, more<br />

The –M option, the –x option, the –w option, the MANPAGER environment variable,<br />

the default pager, and the ability to specify section on the command line are all<br />

extensions to the P<strong>OS</strong>IX standard.<br />

mesg — Allow or refuse messages<br />

Format<br />

Description<br />

Options<br />

Examples<br />

Localization<br />

Exit Values<br />

Portability<br />

mesg [y] [n]<br />

mesg determines whether other users can send messages to your terminal with<br />

talk, write, or similar utilities.<br />

y Specifies that other people can send you messages.<br />

n Specifies that other people cannot send you messages.<br />

1. To let other people send you messages, issue:<br />

mesg y<br />

2. To tell the system not to let other people send you messages, issue:<br />

mesg n<br />

3. To display the current setting without changing it, issue:<br />

mesg<br />

The terminal is determined by the first of standard input, output, or error which is<br />

directed to a terminal.<br />

mesg 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 />

0 Receiving messages is currently allowed<br />

1 Receiving messages is not currently allowed<br />

2 Failure due to any of the following:<br />

v Unknown command-line option<br />

v Unknown argument<br />

v An error accessing the terminal<br />

P<strong>OS</strong>IX.2 User Portability Extension, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

man<br />

Chapter 2. Shell command descriptions 423

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

Saved successfully!

Ooh no, something went wrong!