This configures and starts a background process which supports a single Telnet session using ANY traditional Telnet Client but which can also use multiple TrueGUI screens. Currently, each TelnetService instance supports only one Telnet session so a slightly different configuration is required for a second session, etc. These can be put in Startup or started dynamically.
syntax:
TelnetService -s"IP:Port" -l"127.0.0.1:8000" -e"EnterTrueGuiMode" -x"LeaveTrueGuiMode" -t"30" -debug -break
where:
|
-s"IP:port" |
specifies the server port to connect to and port,ie: "nnn.nnn.nnn.nnn:xxxx" |
|
|
-l"127.0.0.1:port" |
specifies the local port to listen for Telnet client requests on |
|
|
-e"EnterTrueGuiMode" |
specifies the unique string to enter TrueGui mode |
|
|
-x"LeaveTrueGuiMode" |
specifies the unique string to exit TrueGui mode |
|
|
-t"n" |
specifies the timeout for unique string detection (not implemented) |
|
|
-debug |
shows the debugger window |
|
|
-break |
set the debugger into break mode at startup |
|
|
|
|
|
notes:
| • | All parameters are case sensitive and are enclosed in double quotes. |
| • | The IP address ONLY (DNS names not supported) |
| • | The Debugger can also be activated and controlled by the application on the Server. |
| • | Method for enter control characters into "unique string" is unknown. |
| • | Defaults for "port" has not yet been established, so please specify. |
One easy way to use the TelnetService is via a Windows shortcut. The "Target" field of the shortcut must begin by pointing to TelnetService.exe, thus:
"%ProgramFiles%\Alpha Microsystems\TrueGUI\TelnetService.exe" -l"127.0.0.1:23" -s"66.166.1.36:23" -e"EnterTrueGuiMode" -x"LeaveTrueGuiMode" -t"30" -debug -break