SSH Reference Manual
 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 
Default is no SCRIPT. Script-name refers to a list of setmodes defined by the ADD SCRIPT command. These setmodes 
will be performed at session initiation and whenever setmode 28 is performed by the application. ADD SCRIPT and 
ADD SERVICE can be specified in any order. If the SCRIPT is not defined, no error message is generated, and no 
setmodes are performed. ADD SCRIPT will take effect on the next session created for the service. 
WIN_PAT "pattern" 
Pattern must begin with a "#" (pound/hash sign), and the remainder must be letters, numbers, period, and substitution 
parameters. Except for substitution parameters, all other characters are copied directly to the window name, with letters 
being upshifted. Substitution parameters begin with at sign "@" followed by a letter and an optional width in parentheses 
"()". Parameter letters are case independent. Parameters marked GM are available only from Win6530 clients. 
•  @A - The group portion (before the ".") of the Guardian user name. 
•  @B - The user portion (after the ".") of the Guardian user name.  
•  @D - Date (LCT) in 8 digit format yyyymmdd 
•  @H - Client ip from TCP/IP, in fixed decimal format, twelve digits long E.G. 192.168.1.23 -> 192168001023 
•  @I - Client ip from TCP/IP, dotted decimal with dashes E.G. 192.168.1.23 -> 192-168-1-23 
•  @J - GMT juliantimestamp (micro secs in decimal format) 
•  @K - Client ip from TCP/IP, converted to hex without dots E.G. 192.168.1.23 -> C0A00117 
•  @L - The SSH process name without dollar "$". 
•  @P - STN process name (without $ prefix) 
•  @S - STN Service name 
HP NonStop SSH Reference Manual  STN Reference • 257 










