01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MESSAGE( ! ) ( AT&T UNIX PC only ) MESSAGE ( ! )<br />

NAME<br />

message - display error and help messages<br />

SYNOPSIS<br />

message [-u] [-e] [-i] text<br />

DESCRIPTION<br />

Message allows the shell programmer access to the message(3T)<br />

subroutine. Text is a text string with the standard special character<br />

conventions: \n for newline, etc.<br />

The possible options are:<br />

-u Use the current window for the messages-resizes it to fit.<br />

-e Create a confirmation message (see MT_CONFffiM in<br />

message(3T)).<br />

-i Create a pop-up message-press any key to return to the<br />

caller (see MT_POPUP in message(3T)).<br />

If no options are set, message(l) will generate an error message<br />

(see MT....ERROR in message(3T)).<br />

EXAMPLES<br />

The following example prints a confirmation message using the<br />

current window:<br />

message -uc "Do you wish to continue"<br />

if [ "$?" != "O" I<br />

then<br />

exit<br />

fi<br />

SEE ALSO<br />

message(3T), shform( l), tam(3T).<br />

- 1 -

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

Saved successfully!

Ooh no, something went wrong!