home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

ismpx

ismpx [option ]

Test whether standard input is running under layers . (Command name comes from "Is the m ultip lex or 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: fold UNIX in a Nutshell: System V Edition Next: Reference: jterm
Reference: fold Book Index Reference: 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










??????????????@Mail.ru