230 • STN Reference HP NonStop SSH Reference Manual
For OSS (posix) reads, fesigint 4523 is returned. For /bin/sh and most other applications, this repeats the
prompt.
• ITI (conversational), no read or writeread pending
This happens when TACL is PAUSE-d, etc.
Guardian break or OSS SIGINT is generated, again generally resulting in a new prompt.
• Block Mode 6530
Terminal is placed into block mode. Error 191 is returned to the application. This forces most block mode
applications to refresh the display.
EDIT XVS will allow for session recovery. TEDIT refreshes the screen. Most Pathway applications refresh
the screen.
If there are no existing windows, STN will create a new window and start a new application process, like any TYPE
DYNAMIC service. The following message is displayed to clarify that a new session was created as opposed to a
reconnect to a previous session:
STN70 No existing window available for resilient service,
window #ZWNnnnn added
When a RESILIENT session disconnects, there are certain differences from non-resilient dynamic sessions:
• No error code (140, 60, etc) is returned to the application, and no BREAK or SIGHUP sent. Any active
application I/O request is left outstanding indefinitely. The application never notices that the session has
disconnected.
• KILL_DYNAMIC does not apply.
• The window is not automatically deleted.
STN's implementation of RESILIENT differs from Telserv in the following ways:
• SERVICE TYPE DYNAMIC
• No ADD WINDOW command. Windows are dynamically created as needed. STN does not restrict a
RESILIENT service to a single window, simplifying configuration.
• 6530 Block mode applications (EDIT XVS, TEDIT, Pathway) are handled cleanly.
• OSH (Posix) applications are handled cleanly.
• Multiple Guardian applications (for example, a FUP or SCF prompt started from a TACL) are handled cleanly.
LOGAUDIT YES | NO
LOGAUDIT YES is intended for PROGRAM $SYSTEM.SYSTEM.TACL, and will generate an AUDIT event when the
TACL process first logs on. No additional event is generated if the TACL logs off, changes users, or if a second TACL
process is started on the same terminal. Note that STN has a default ADD SERVICE TACL which has the default setting
of LOGAUDIT NO, so to use this feature with the SERVICE named TACL, it is necessary to first DELETE SERVICE
TACL to remove the default, then ADD SERVICE TACL,LOGAUDIT YES, etc to define a new service.
LOGAUDIT NO is default.
SCRIPT script-name
A script is a series of setmode commands which are automatically performed at the beginning of a session and also after
an application call to setmode 28. A script can be referenced by ADD SERVICE and ADD WINDOW commands. ADD
SCRIPT and ADD SERVICE/WINDOW may be performed in any order, although the script must be defined before a
session attempts to use it. See also ADD SCRIPT command.