Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
osh(1) OSS Shell and Utilities Reference Manual
error file; otherwise, OSSTTY uses the HOMETERM associated with the osh pro-
cess.
-p pathname Runs the program specified 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 specified after this option on the osh command line.
-pfs n Specifies the size of the operating system process file segment (PFS) for the child
process in 2048-byte virtual memory pages (64-512). The default size is deter-
mined from the program file executed as the child process.
Refer to the TACL Reference Manual for additional information about PFS pages.
-pmsg on | -pmsg off
Specifies whether the osh command displays the child process OSS process ID
(pid) and exit status information on its Guardian standard output file.
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 specified program file as the child process. If this option is specified:
• The osh command uses the Guardian environment PATH PARAM to
resolve (expand) the pathname argument. If the Guardian environment
PATH PARAM is not defined, then osh searches the /bin directory for a
file identified by the pathname value. If execution fails because the file is
not in executable format and the specified filename is not a directory, the
file is assumed to be a shell script and an OSS shell process is spawned to
execute it. If the file 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 file as the child process and as a login shell (refer to the -ls option).
-swap pathname
Specifies the name of a Guardian swap file 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 specified, the name must be
• in OSS pathname syntax
• valid for an existing file
but is otherwise ignored. The operating system chooses a swap volume.
-term pathname
Specifies the filename of a Guardian terminal device to be used as the home termi-
nal of the child process. The name must be specified 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
6−98 Hewlett-Packard Company 527188-007