Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ismpx(1) — Interactive 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

jwin(1)

layers(1)

xt(7)



          ISMPX(1)             INTERACTIVE UNIX System             ISMPX(1)



          NAME
               ismpx - return windowing terminal state

          SYNOPSIS
               ismpx [-s]

          DESCRIPTION
               The ismpx command reports whether its standard input is con-
               nected to a multiplexed xt(7) channel; i.e., whether it's
               running under layers(1) or not.  It is useful for shell
               scripts that download programs to a windowing terminal or
               depend on screen size.

               The ismpx command prints yes and returns 0 if invoked under
               layers(1), and prints no and returns 1 otherwise.

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

          EXIT STATUS
               Returns 0 if invoked under layers(1), 1 if not.

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

          EXAMPLE
               if ismpx -s
               then
                    jwin
               fi

























          Rev. Base System                                           Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026