Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

jwin(C)

layers(C)

xt(HW)


     ISMPX(C)                             UNIX System V



     Name
          ismpx - return windowing terminal state


     Syntax
          ismpx [-s]


     Description
          The ismpx command reports  whether  its  standard  input  is
          connected  to  a  multiplexed  xt(HW) channel; i.e., whether
          it's running under layers(C) 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(C), and prints no and returns 1 otherwise.

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


     Diagnostics
          Returns 0 if invoked under layers(C), 1 if not.


     See Also
          jwin(C), layers(C), xt(HW)


     Example
          if ismpx -s
          then
               jwin
          fi


     (printed 2/15/90)                                   ISMPX(C)












































































































































































































































































































































































































































































































































































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