UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: foldAppendix B
Obsolete Commands
Next: Reference: jterm
 

ismpx

ismpx [option]

Test whether standard input is running under layers. (Command name comes from "Is the multiplexor running?") Output is either yes (exit status 0) or no (exit status 1). Useful for shell scripts that download programs to a layers windowing terminal or that depend on screen size.

Option

-s

Suppress output and return exit status only.

Example

if ismpx -s
then jwin
fi


Previous: Reference: foldUNIX in a Nutshell: System V EditionNext: Reference: jterm
Reference: foldBook IndexReference: jterm

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System