AUTOSYS (JANUS DEFINE parameter)

From m204wiki
Revision as of 19:22, 10 March 2011 by Admin (talk | contribs)
Jump to navigation Jump to search

<section begin="desc" />AUTOSYS subsys -- on TNSERV ports, run 'subsys' automatically on logon.<section end="desc" />

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

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 (:hdref refid=tnserv.) connections. For more information about the Janus Telnet Server, see the Janus Sockets Reference Manual.

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.

Example

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

A secured JANUS TNSERV port that automatically invokes the "PROFILE" subsystem on user connections.

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

Valid only for TNSERV ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.