Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ismpx(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

jwin(C)

layers(C)

xt(HW)


 ismpx(C)                        19 June 1992                        ismpx(C)


 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; that is, whether it is 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


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