SSH Reference Manual
•  @T - Time (LCT) in 6 digit format hhmmss 
•  @U - The external user name (alphabetic and numeric characters only). 
•  @X - STN expand node name (without \ prefix) 
•  @Y - STN expand node number 
Substitution parameters @1 through @6 reference values returned by WSINFO. WSINFO is supported by Win6530 and 
some other terminal emulators. STNCOM WSINFO must be set to QUERY, REQUIRED or MATCH. Any fields not 
returned by the workstation are set to the null string. Only alpha and numeric characters are used; any others are 
discarded. Alpha characters are upshifted. For example, if the terminal reports "10.1.2.3" for the IP address field, then 
"@2" would yield "10123". 
•  @1 - Workstation "host" name 
•  @2 - Workstation IP address (which may be different from the value returned by @I due to NAT, firewalls, etc) 
•  @3 - Workstation domain name 
•  @4 - Workstation netBios name 
•  @5 - Workstation user name 
•  @6 - Workstation client name 
Any parameter above may be followed by a width specification which is a number in round parentheses "()". A positive 
or unsigned number refers to the leftmost characters of the string, and a negative number refers to the rightmost 
characters. For example, assume the Expand node name is \PROD3: 
@x PROD3 
@x(3) PRO 
@x(-1) 3 
WIN_PAT defaults to "#ZWNnnnn" as with previous STN releases. 
Example: Generate a name based on the last three bytes of the client IP address in hex: 
WIN_PAT "#QPPW.QI@K[-6]" 
an IP address of 10.18.127.163 would generate: 
#QPPW.QI127FA3 
If a window name is changed as a result of WIN_PAT, the following message will appear at the terminal 
STN92 Window name changed from #ZWNnnnn to <new-name> 
If the window name could not be changed because there was a problem in WIN_PAT, or because the new name 
duplicated existing window names, then the session is terminated after displaying the message 
STN92 Window name change failed 
Example configuration: 
ADD SERVICE RESTACL,TYPE DYNAMIC 
 ,RESILIENT YES 
 ,PROGRAM $SYSTEM.SYSTEM.TACL 
 ,MENU HIDDEN 
 ,USER SUPER.SUPER 
 ,PRI 199 
 ,LIMIT 3 
258 • STN Reference  HP NonStop SSH Reference Manual 










