Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (m - o) osh(1)
the Guardian environment.
If only -name /G is specified, the operating system creates a unique four-character
process name.
The default action is to use the process name attribute for the program file of the
child process.
+name Starts the child process as an unnamed process. This specification is ignored if the
Guardian RUNNAMED process attribute is set in the program file for the child
process.
If you specify neither the -name nor the +name option, the default behavior is
+name.
-nowait Exits without waiting for the child process to terminate. The default action is to
wait for the child process to terminate.
-osstty Starts a copy of the OSSTTY process and redirects any OSS standard input, stan-
dard output, or standard error file through the process, to or from Guardian file sys-
tem objects, as specified by the redirection operators or the RUN options in the
same command. OSSTTY is started only if at least one of the objects specified
would otherwise not be accessible to the OSS program started by this command.
If -osstty is the only option specified and no redirection is requested in the com-
mand, OSSTTY does not start.
OSSTTY starts as a single-use process without a backup copy, on the same pro-
cessor as the osh process; osh ignores any server copies of OSSTTY that might
already be running. The instance of OSSTTY is given a 4-character process name
generated by the system and terminates as soon as the OSS application launched
by this command terminates.
All OSSTTY error messages are suppressed; the osh process issues its own error
messages instead. Output sent to standard files is not prefixed with information to
identify its source (the -osstty flag does not use the OSSTTY -prefixpid option).
Any OSS process started with a valid user ID can read or write data to a standard
file through the OSSTTY copy started by this command.
The standard error file cannot be redirected to a Guardian EDIT file.
When the -p or -c flag specifies an application program that cannot inherit OSS
standard files and you use the -osstty flag, standard file data is exchanged with one
or more of the following, as required:
standard input data
/G/abcd/#stdin
standard output data
/G/abcd/#stdout
standard error data
/G/abcd/#stderr
where abcd represents the 4-character process name generated for the copy of
OSSTTY.
The use of redirection specifications affects this determination; see Redirection in
this reference page.
If the OSS process uses a Guardian process for its standard error file, OSSTTY
uses the process specified for the HOMETERM of that process for its standard
527188-007 Hewlett-Packard Company 6−97