The moat command is similar in concept to Tk's wishx windowing shell. See the moat(3) reference page for information about the Tm shell.moat Tm-file
It is possible to run Tcl Motif scripts as standalone programs. Since the moat interpreter on IRIX is installed in /usr/sgitcl/bin, make this the first line of a Tcl Motif script:
Throughout this chapter, when InSight displays the line above in red, click it to run that sample program.#! /usr/sgitcl/bin/moat