Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

ismpx(1)

return windowing terminal state

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

ismpx - return windowing terminal state

SYNOPSIS

ismpx [-s]

DESCRIPTION

The ismpx command reports whether its standard input is connected to a multiplexed xt channel; i.e., whether it's running under layers or not. It is useful for shell scripts that download programs to a windowing terminal.

ismpx prints yes and returns 0 if invoked under layers, and prints no and returns 1 otherwise.

-s Do not print anything; just return the proper exit status.

SEE ALSO

layers(1), jwin(1), xt(7).

EXAMPLE

if ismpx -s
then
     jwin
fi