Open System Services Programmer's Guide
Figure 6 OSSTTY Interaction With OSS and Guardian Environments
OSSTTY supports three standard qualifiers: #stdin, #stdout, and #stderr. OSS applications
can redirect their standard input, standard output, and standard error to OSSTTY by using these
qualifiers:
DescriptionQualifier
Redirects standard input data to the OSSTTY process identified by name./G/name/#stdin
Redirects standard output data to the OSSTTY process identified by name./G/name/#stdout
Redirects standard error data to the OSSTTY process identified by name./G/name/#stderr
OSSTTY, in turn, redirects data from these qualifiers to Guardian objects that you specify when
starting OSSTTY.
Starting OSSTTY
You can start OSSTTY either from the TACL prompt or through the OSH command line. The following
subsections present simple forms of the commands for starting OSSTTY. For detailed descriptions
of all OSSTTY run-time options, see the Open System Services Management and Operations Guide.
Starting OSSTTY From the TACL Prompt
You can start OSSTTY by entering a run command at the TACL prompt. A general form of a run
command that starts an OSSTTY process is as follows:
TACL> run osstty/ name process-name in input out output term hometerm
This command starts a named OSSTTY process. The in, out, and term parameters specify the
Guardian targets of the OSSTTY process.
Using OSSTTY to Redirect Input and Output to Guardian Objects 215