Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

D OSS Management Utilities
This appendix describes:
The optional OSSTTY utility
The OSS Easy Setup utilities provided in the T0585 product
OSSTTY
OSSTTY can run as a single-use process or as a server. OSSTTY provides an alternative to Telserv
for OSS program terminal input or output using OSS standard files. The OSS terminal interface
allows input and output only through network virtual terminal devices; using Telserv for access to
such devices, OSS standard files cannot be redirected to or from Guardian files such as EDIT files
or home terminal processes such as $VHS and $ZHOME. OSSTTY allows input/output redirection
using such files and processes.
The OSSTTY server runs as a fault-tolerant process pair with the subsystem ID number 245 and the
subsystem name of OSSTTY. The OSSTTY server runs as a subtype 30 Guardian process and uses
device type 6 for the three standard process name qualifiers #stdin, #stdout, and #stderr.
Starting OSSTTY
OSSTTY can be started:
Using the OSSTTY command from a TACL prompt, as described in this appendix.
Using the OSH command with the -osstty flag, as described in the osh(1) reference page
either online or in the Telserv Manual.
Using the Subsystem Control Facility (SCF) Kernel subsystem to place it under the control of
the persistence monitor, so that it starts automatically after a system load. See “Examples
(page 398) for a suggested set of commands.
Command
To run OSSTTY, enter this command:
[RUN] OSSTTY
[ [/ NAME process_name, ]
[ IN stdin_redirection_target, ]
[ OUT stdout_redirection_target, ]
[ TERM stderr_redirection_target, ]
[ NOWAIT ] / ]
[ -access { ALL | OWNER } ]
[ -backupcpu processor ]
[ -coll collector ]
[ -help ]
[ -idletimeout seconds ]
[ -[no]prefixpid ]
[ -[no]quiet ]
[ -[no]server ]
[ -[no]wrap ]
[ -secure security_string ]
NAME $process_name
specifies the Guardian process name for the OSSTTY process. HP recommends $ZTTY.
If you omit this option, the name used is a randomly generated 4-character process name
created by the NonStop operating system.
IN stdin_redirection_target
specifies the Guardian process name for the process from which data for the OSS standard
input file should be read. The process specified must use device type 0, 1, or 6. This process
OSSTTY 395