SSH Reference Manual
<window>
Window name e.g. #ZWN0002.
<status>
STARTED (not in session), STOPPED, or IN SESSION.
<a>
Indicates that either "no" or "1 or more" applications have this window open.
<param-list>
Detailed information such as term_rows, term_columns, client IP address, etc.
STIX [RESET]
Displays cumulative statistics on the number of sessions. STIX displays the counters; STIX RESET displays then resets.
STNCOM_PROMPT "<text>"
This command redefines the prompt sent by STNCOM to the terminal for new command input.
<text> may contain any displayable character except quote ("), and may be 0 to 60 characters long. Zero means to use the
default STNCOM prompt. Certain embedded commands (case independent) in <text> are replaced as follows:
• $P – the target process name
• $X – the target expand node name
• $T – the target system LCT time in format HH:MM
• $D – the target system LCT date in format yyyy/mm/dd
• $N – ascii carriage return line feed. This allows for multi-line prompts including blank lines.
• $B – ascii bel character which some terminal emulators will sound as a beep tone.
Example:
STNCOM_PROMPT "$X.$P $T STN> "
\DEV.$STN2 2010/08/06 23:59 STN>
STNCOM_PROMPT "$T $P stncom> "
23:59 $STN2 stncom>
The default setting is STNCOM_PROMPT ""
PROMPT and STNCOM_PROMPT are related commands. They both change the prompt used for STNCOM
commands, and both allow parameter substitution such as $P for process name. But they take effect in different ways.
PROMPT affects only the current STNCOM process execution, and is cancelled when STNCOM stops. Other STNCOM
users are not affected. STNCOM_PROMPT setting is saved in the memory of the running STN process. It takes effect
on all subsequent STNCOM openers of the STN process.
When STNCOM starts the default prompt string for conversational command input is percent space ("%"). STNCOM
then opens the STN process specified in RUN STNCOM <process-name>. If the STN process has STNCOM_PROMPT
configured, it will be used for the prompt. This will stay in effect until another OPEN command or until a PROMPT
command.
PROMPT
• Redefines the prompt for the current STNCOM process execution.
• Takes effect immediately unless an STNCOM_PROMPT is in effect.
• Does not affect other STNCOM users.
• Must be entered every time STNCOM is used, which is inconvenient.
278 • STN Reference HP NonStop SSH Reference Manual