SSH Reference Manual

Is overridden by STNCOM_PROMPT.
STNCOM_PROMPT
Redefines the prompt for all future STNCOM openers to an STN process.
Does not take effect until the next STNCOM open (see note below).
Is stored in the configuration of the running STN process, which is convenient.
Is maintained on a backup takeover of STN.
Must be re-entered every time STN is started.
Overrides PROMPT.
Is included in SAVECFG output.
STNCOM_PROMPT is normally included in the OBEY or IN file used to configure STN at STN process startup, if a
prompt other than the default is desired. However, if STNCOM_PROMPT is manually entered from a conversational
STNCOM session, it does not take immediate effect. However, INFO STN will show the new setting. To force
immediate use of the new setting, either stop and restart STNCOM, or use the OPEN command to reopen the same STN
process. The new STNCOM_PROMPT setting will then be used by STNCOM.
STNCOM_PROMPT Example:
11> stncom $ZPTY
STNCOM T0801H01_22JAN2014_ABK - 2014-01-24 15:25:12.354
OPEN $zpty
------------------------------------------------------------------------------
- \BWNS02 $ZPTY STN B25 18DEC2013 T0801H01_22JAN2014_ABK 15:25 -
------------------------------------------------------------------------------
% info stn
.. .STNCOM_PROMPT "" ...
% stncom_prompt "$P % "
stncom_prompt "$P % "
Accepted
% info stn
...
CHOICE_TEXT "\nEnter Choice> "
STNCOM_PROMPT "$P % "
WELCOME OFF
...
% time
time
19Dec11 09:15:46.35
% open $zpty
open $zpty
$ZPTY % time
time
19Dec11 09:16:09.71
$ZPTY %
STNLOG <text>
Provides a means to enter log messages to the STN EMS output. It is intended for the SSL process to send log output,
generally for fatal errors, to a central location. The syntax is as follows:
<text> is any text up to 128 characters long. Generally not used from STNCOM.
STOP SERVICE <service-name> | *
The specified service, or all configured services, will be marked as stopped. The service name will not be displayed on
menus, and will be rejected if entered in response to the service prompt. Use START SERVICE to resume the service.
Existing sessions will not be affected. This command is not normally used.
HP NonStop SSH Reference Manual STN Reference 279