Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

osh(1) OSS Shell and Utilities Reference Manual
error le; otherwise, OSSTTY uses the HOMETERM associated with the osh pro-
cess.
-p pathname Runs the program specied by pathname as a child process. This option is an
alternate syntax for the -prog option followed by the -- option (described later in
this reference page). For example, osh -p pathname operands is equivalent to
specifying osh -prog pathname -- operands.
No other osh option can be specied after this option on the osh command line.
-pfs n Species the size of the operating system process le segment (PFS) for the child
process in 2048-byte virtual memory pages (64-512). The default size is deter-
mined from the program le executed as the child process.
Refer to the TACL Reference Manual for additional information about PFS pages.
-pmsg on | -pmsg off
Species whether the osh command displays the child process OSS process ID
(pid) and exit status information on its Guardian standard output le.
Specifying -pmsg on means the information is displayed. Specifying -pmsg off
means the information is not displayed.
The default option is -pmsg off.
-prog pathname
Runs the specied program le as the child process. If this option is specied:
The osh command uses the Guardian environment PATH PARAM to
resolve (expand) the pathname argument. If the Guardian environment
PATH PARAM is not dened, then osh searches the /bin directory for a
le identied by the pathname value. If execution fails because the le is
not in executable format and the specied lename is not a directory, the
le is assumed to be a shell script and an OSS shell process is spawned to
execute it. If the le is not found, an error diagnostic is printed and osh
terminates.
The osh command uses the +ls option instead of the -ls option as its
default option.
If you do not specify the -prog pathname option, the default action is to run the
OSS /bin/sh le as the child process and as a login shell (refer to the -ls option).
-swap pathname
Species the name of a Guardian swap le or swap volume for the data segment of
the child process. This option is no longer used and is provided for compatibility
with previous versions of the command. If specied, the name must be
in OSS pathname syntax
valid for an existing le
but is otherwise ignored. The operating system chooses a swap volume.
-term pathname
Species the lename of a Guardian terminal device to be used as the home termi-
nal of the child process. The name must be specied in OSS pathname syntax.
The default action is to use the home terminal of the osh process.
Refer to the TACL Reference Manual for additional information about Guardian
698 Hewlett-Packard Company 527188-007