SSH Reference Manual
TYPE DYNAMIC
Normally used only internally by the dynamic window mechanism. SERVICE and TERM_TYPE are required, and
IPADDR is not allowed. The window will be automatically deleted when the session terminates.
TYPE STATIC
SERVICE is required. IPADDR is not allowed.
Typically some number of static windows are defined for a given static service, creating a pool of windows to allocate to
sessions requesting that service. Application programs must be pre-started before terminal sessions are allowed to access
the service.
TYPE SU
SERVICE and IPADDR are not allowed. SU windows may only be accessed by specifying #window-name at the service
menu, although they do not appear in the service menu in any form. SU windows allow a given terminal to connect to a
specific window, which generally simplifies application configuration. A disadvantage is that each workstation must be
configured to automatically select the unique #window-name, or the name must be manually entered. Having different
configurations or procedures for each workstation presents logistical problems. See TYPE DEDICATED for an
alternative.
TYPE DEDICATED
SERVICE is not allowed. IPADDR is required. DEDICATED windows are automatically connected when a session is
started by a remote workstation with an IP address matching the IPADDR field. No service menu is displayed at all. This
window cannot be connected by specifying #window-name at the service prompt.
DEDICATED windows allow the system manager to pre-configure all workstations in STN with their own window.
Sessions from that workstation will always connect to the matching window, allowing precise control of application-
window-workstation mapping. Unlike SU windows, the workstation configurations are identical, simplifying logistics.
TERM_TYPE TN6530 | ANSI | ANY
STN does not presently use the window TERM_TYPE setting.
SERVICE service-name
Not allowed with TYPE DEDICATED or SU; required with TYPE STATIC. Also required with TYPE DYNAMIC, but
DYNAMIC windows are only internally created; they should not be entered via STNCOM.
For TYPE STATIC, this window is associated with the specified service name. This window can then be selected to
satisfy session requests for the specified service.
IPADDR dotted-ip-address
Only allowed for TYPE DEDICATED. Specifies the IP address of the client workstation. Any session request from the
specified IP address will be automatically connected to this window; no menu is displayed.
No two windows may have the same IP address. This means that remote nodes that want to run multiple sessions,
especially terminal servers like AWAN 3883/4/5 or 3886 models, cannot effectively use TYPE DEDICATED.
SUBTYPE nn | NONE
Default is NONE. Otherwise a number in the range 0-63 may be used. See DEV_SUBTYPE command for details.
SCRIPT script-name
Default is no script. 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.
260 • STN Reference HP NonStop SSH Reference Manual