AUTOSYS (JANUS DEFINE parameter)

From m204wiki
Jump to navigation Jump to search

AUTOSYS subsys — on TNSERV ports, run 'subsys' automatically on logon

AUTOSYS is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.

This parameter sets the Model 204 AUTOSYS parameter to the indicated (subsys) value when a connection is received on a TNSERV port.

The AUTOSYS parameter is useful for providing functionality comparable to the equivalent user parameter for traditional Model 204 full-screen threads. Since TNSERV connections run on daemon threads, and since it would not be common for AUTOSYS to be set for daemon threads, this parameter makes it possible to provide AUTOSYS functionality specifically for Janus Telnet Server connections.

The AUTOSYS parameter set via JANUS DEFINE remains intact over the lifetime of a telnet connection, even after a logoff and logon.

The AUTOSYS parameter must be followed by the name of a subsystem to be invoked after a login on the Telnet Server.

This parameter, like the Janus Telnet Server, is available in Sirius Mods Version 6.9 and later.

Valid only for TNSERV ports.

Example

This command defines a secured JANUS TNSERV port that automatically invokes the PROFILE subsystem on user connections:

JANUS DEFINE TNSERV 992 TNSERV 20 IBSIZE 4096 OBSIZE 8192 TCPKEEPALIVE - NEWSESOPEN FILE PROFILE NEWSESCMD 'I NEWSESTN' AUTOSYS PROFILE WSFQUERY - SSL JANSSL MYSECURE.PKEY SSLCACHE 320 SSLIBSIZE 32767 SSLOBSIZE 16000 SSLCLCERT

See also