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.

ISMPX(l) ISMPX(l)<br />

NAME<br />

ismpx - return windowing terminal state<br />

SYNOPSIS<br />

ismpx [-s]<br />

DESCRIPTION<br />

The ismpx command reports whether its standard input is connected to a<br />

multiplexed xt(7) channel; i.e., whether it's running under layers(!) or<br />

not It is useful for shell scripts that download programs to a windowing<br />

terminal or depend on screen size.<br />

ismpx prints yes and returns 0 if invoked under layers(!), and prints no<br />

and returns 1 otherwise.<br />

-s Do not print anything; just return the proper exit status.<br />

EXIT STATUS<br />

Returns 0 if invoked under layers(!), 1 if not.<br />

SEE ALSO<br />

layers(!), jwin(l).<br />

xt(7) in the <strong>System</strong> Administrator's Reference <strong>Manual</strong> .<br />

EXAMPLE<br />

if isrnpx -s<br />

then<br />

jwin<br />

fi<br />

- 1-

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

Saved successfully!

Ooh no, something went wrong!