Georgia SoftWorks
Windows NT Telnet Server Software User Manual
User Manual
Georgia SoftWorks
Georgia SoftWorks Windows NT Telnet Server
ã
Georgia SoftWorksPublic Square
33 Hwy 9 South • PO Box 729
Dawsonville Georgia 30534
Phone 706.265.1018 • Fax 706.265.1020
http://www.georgiasoftworks.com
Copyright © Georgia SoftWorks, 1997 All Rights Reserved.
User's Manual, Version 3.03, November 1997
Microsoft, Windows, Windows NT, Windows 95 are trademarks of Microsoft Corporation.
THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
LICENSOR MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED, ORAL OR WRITTEN, REGARDING THE PROGRAM OR DOCUMENTATION AND HEREBY EXPRESSLY DISCLAIMS ALL OTHER EXPRESS OR IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. LICENSOR DOES NOT WARRANT THE PROGRAM WILL MEET YOUR REQUIREMENTS OR THAT ITS OPERATION WILL BE UNITERRUPTED OR ERROR FREE.
IN NO EVENT WILL GEORGIA SOFTWORKS BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH PROGRAMS.
COPYING:
WHILE YOU ARE PERMITTED TO MAKE BACKUP COPIES OF THE SOFTWARE FOR YOU OWN USE AND PROTECTION, YOU ARE NOT PERMITTED TO MAKE COPIES FOR THE USE OF ANYONE ELSE.
LICENSE:
YOU ARE LICENSED FOR A SPECIFIC NUMBER OF CONCURRENT OR SIMULTANEOUS CONNECTIONS TO A SINGLE WINDOWS NT SYSTEM. THE NUMBER IS SPECIFICED IN YOUR PURCHASE AGREEMENT. ANY ATTEMPT TO INCREASE THE NUMBER OR SIMULTANEOUS OR CONCURRENT CONNECTIONS EITHER INTENTIONAL OR UNINTENTIONAL IS IN VIOLATION OF THIS AGREEMENT. THE GEORGIA SOFTWORKS WINDOWS NT TELNET SERVER SOFTWARE MAY BE INSTALLED ON A SINGLE WINDOWS NT SYSTEM.
Table of Contents
Product Description
*Server Software
*Agent Process
*Client Software
*Installation
*Server
*Registration
*Client
*UN-Install
*How to use the Georgia SoftWorks Windows NT Telnet Software
*Georgia SoftWorks Client
*Host
*Login ID
*Password
*Domain Name
*3rd Party Clients
*Terminal Emulation
*Graphic Characters
*Color or Monochrome Presentations
*Color Mapping for Monochrome
*Alt Keys
*Terminating a session
*TTY Name
*Heartbeat - Specifying a Client Timeout value
*Server Side Inactivity Timer
*Logon Scripting - automatic execution of DOS applications and more
*Example 1. Automatic Execution of a program upon connection
*Example 2. User restricted to execute only a specific program.
*Global Logon Scripting
*Example 3. Automatic Execution of a program upon connection by ALL users
*Graceful Termination of DOS Applications
*Example 4. Graceful termination of amortization program upon link failure.
*Client Scroll Bars
*Monitoring other Telnet Sessions
*Session Monitoring Privileges.
*Session Monitoring Uses.
*Programmatic Access to the Telnet Server
*Discussion: Orphaned NTVDM's and Windows NT Telnet Servers
*Technical Support
*
Typo Graphic Conventions
Italics: are used to emphasize certain words, especially new terms or phrases when they are introduced.
Initial Caps Bold: Words that appear in initial caps boldface represent menu options, buttons, icons or any object that you may click.
Courier
: This font represents anything you must type.
"<enter>" This represents the enter key.
User Manual
Speed, Robustness and Ease of Use define the character of the Georgia SoftWorks Windows NT Server software.
Thank you for purchasing the Georgia SoftWorks Windows NT Telnet Server software. You will be pleased with the performance and robustness provided with this product. Ease of use will be a significant time saver when using the Georgia SoftWorks Windows NT Telnet Server software. Complicated keyboard sequences are not required to map to the actual keys you want to send. The Georgia SoftWorks Windows NT Telnet Server software was developed to meet a need in the market that allows users to operate in a fast, reliable and uncomplicated fashion.
Windows NT is transformed into a truly multi-user environment with the Georgia SoftWorks Windows NT Telnet Server software. Remote administration, full support for DOS Legacy applications, superior user control and Telnet Session Monitoring will allow you to utilize Windows NT as never before.
The Georgia SoftWorks Windows NT Telnet Server and Client software is the fastest and most robust Windows NT Telnet Software on the market
. Full support for DOS Legacy applications including DOS character mode graphics, function keys, mouse and special characters allows you to work in a local mode when at a remote location.
Our Telnet Server provides a level of robustness that is a cut above the competition. Industrial quality orphaned session detection and elimination including NTVDM's and attempted graceful termination of DOS legacy applications upon link and client PC failures are unique features to the Georgia SoftWorks Windows NT Telnet Server software.
Logon Scripting provides system administrators with unmatched control over user connections. One function of Logon Scripting allows the user to automatically enter specific applications upon connection. Logon Scripting can also restrict the user to only execute a specific application. Logon Scripting can do much more!
The Georgia SoftWorks Windows NT Telnet Server is the software installed on your Windows NT computer. This software is responsible for establishing connections and spawning agent processes that manage each session. The Georgia SoftWorks Windows NT server software enforces the number of allowed simultaneous sessions.
A telnet session is created each time a connection is established. A connection is established when a user logs on to Windows NT system using a Telnet Client. For each session that is created the Georgia SoftWorks Windows NT Telnet Server software spawns an agent process. The agent process is responsible for managing and communicating with the user session. Screen optimizations are performed by the agent process to facilitate faster data transfers. The capability of a configurable server side inactivity timer exists for use by the agent process to help identify link or remote PC failures.
The Georgia SoftWorks Telnet Client is proprietary software that runs on remote PCs and utilizes advanced features offered in the server software. Other optimizations are included to enable this to be the fastest Windows NT Telnet software on the market.
The Client software contains a configurable heartbeat timer that notifies the agent process of its presence. This mechanism helps to identify link or remote PC failures.
It is recommended that the Georgia SoftWorks Windows NT Client software be used although it is not required. The Georgia SoftWorks Windows NT Telnet Server is RFC 854 compliant which allows any 3rd Party Telnet Client to be used. However many of the advanced features of the propriety client will be forfeited.
Installation is simple and quick. The same installation program installs the server software and the client software. The installation software will prompt you for a full or client only installation if on a Windows NT system and automatically install client software if on a Windows 95 system.
Installation of the server software is simple. Run the setup.exe program. From Windows NT perform the following:
Run the setup.exe program.
1. The Welcome screen of the setup program is displayed and you are reminded and urged to exit all windows programs before continuing. You are also reminded that you must have administrative privileges to install this program. Click Continue.
2. The Installation options screen is displayed. The choices are Full Install or Install Client Only software. For Windows NT systems that you want clients to connect select Full Install using the Radio Buttons. The Full Install installs the Server Software and the Client software. Click Continue.
3. A screen is displayed indicating the directory that the Georgia SoftWorks Windows NT Telnet Server will be installed. The default is C:\Gs_tnet. You may change the installation directory at this time. Click Continue.
4. The Setup Succeeded screen is displayed. The service has been installed and is automatically started.
5. A "Program Group" has now been created. It will contain 3 shortcuts. One is the Georgia SoftWorks Telnet Client, the second is the Registration shortcut, the third is the uninstall program.
TCP/IP must be installed and operational. TCP/IP comes as part of Windows NT.
This is how you register.
Note: If you are installing the 30-day trial copy you do not need to register the software. Skip this step. If you enter an invalid registration key the 30-trial will expire.
This is how you install the client software.
Installation of the Client software is simple. Run the setup.exe program. From Windows 95 or Windows NT perform the following:
Run the setup.exe program.
1. The Welcome screen of the setup program is displayed and you are reminded and urged to exit all windows programs before continuing. The setup program recognizes if it is a Windows NT system and prompts you for either a Full Install or a Client Only install. If this is a Windows NT system then select Client Only using the Radio Buttons. If this is a Windows 95 system then you are prompted for installation of the Georgia SoftWorks Windows NT Telnet Client. Click Continue.
2. A screen is displayed indicating the directory that the Georgia SoftWorks Windows NT Telnet Client will be installed. The default is C:\Gs_tnet. You may change the installation directory at this time. Click Continue.
4. The Setup Succeeded is displayed.
5. A "Program Group" is created. It contains one shortcut, the Georgia SoftWorks Telnet Client.
To uninstall the Georgia SoftWorks Windows NT Telnet Software follow these instructions.
How to use the Georgia SoftWorks Windows NT Telnet Software
Follow these instructions to open the Georgia SoftWorks Client window.
At this point, the Client window is open and you will get the host prompt.
At this prompt, you should enter the hostname that you wish to connect. The hostname is the name your Windows NT computer is referenced by via TCP/IP. This can be a text string or an actual IP address.
Example:
Host:
SolomanOr
(if you know the IP address you can enter the address)Host: 100.100.100.101
Or just press enter to connect to the local host for testing.
The login ID must be a valid Windows NT login id.
Example:
Login:
JohnSmithThis is the password associated with the Login ID. It will not be displayed when typed.
This is an optional field. If you do not wish to connect to a specific domain then you may simply press "<enter>". Otherwise type in the domain you want to connect.
The Georgia SoftWorks Windows NT Telnet Server will work with any RFC 854 compliant 3rd party client. Please see the vendor's instructions for configuration of the 3rd party client.
The procedure for connecting with a 3rd party client is similar to connecting with the Georgia SoftWorks client (see above).
Upon connecting with a 3rd party client you will be prompted to select a terminal emulation mode. Choose the desired emulation by selecting the appropriate number. Be sure to set the 3rd party client emulation mode to the same emulation as the one selected on the server.
The terminal emulation options available are
Enter 0 for DEC VT-100 emulation, 1 for DEC VT-220/320/420, 2 for SCO Console emulation and 3 for AT386 emulation.
If you do not want to be prompted for the emulation mode each time you log on using a 3rd party client then you may set an environment variable on a per user basis using Logon Scripting (described later in the User Manual).
The environment variable for the terminal emulation is:
gwtn_term
For example to select SCO Console emulation you would enter:
set gwtn_term=2
in the Logon Script for a particular user.
NOTE: No spaces are allowed when setting environment variables.
For example:
set gwtn_term=2 is correct
set gwtn_term = 2 is not correct
Third party clients do not always handle graphic characters and commands as expected. The Georgia SoftWorks Windows NT Telnet Server is flexible in providing options for handling graphic characters with 3rd party clients. If you are unsure of which graphics mode to select the typical progression is the order that the selections are presented. The first works for all, the next is more specialized and so on. Feel free to experiment to determine the best graphics mode for your 3rd party client. The graphics mode prompt indicates the recommended selection when SCO Console emulation is selected.
Replace PC graphics characters with star characters:
This simply replaces PC graphics characters with the "asterisk" character,
Translate PC Graphics characters:
For VT emulation's the system converts the PC Graphic Characters to ACS and will temporally invoke Special Graphics character sets. PC Graphics without ACS equivalents will be converted to the "asterisk" character.
SCO Console special handling (recommended)
For SCO Console the system will inject appropriate escape sequences to display the graphic characters.
Pass PC Graphics characters without changes:.
This will pass any chars >= 0x80 without any changes.
Pass all characters from PC Screen without changes:.
This will pass all characters from the NT screen, your client software may have trouble with handling ASCII values for some of control characters like 0x08 (backspace).
If you do not want to be prompted for the graphics mode each time you log on using a 3rd party client the you may set an environment variable on a per user basis using Logon Scripting. The environment variable for the graphics mode is:
gwtn_graphics
For example to select star graphics character substitution you would enter:
set gwtn_graphics=0
in the Logon Script for a particular user.
NOTE: No spaces are allowed when setting environment variables. For example:
set gwtn_graphics=2 is correct
set gwtn_graphics = 2 is not correct
Color or Monochrome Presentations
Many times programs are developed to work with monochrome monitors or terminals. In this situation you can choose between a color and monochrome presentation. After the graphics mode options are presented the color or monochrome options are presented. The prompt
Do you want ANSI Colors? [Y/N]:
If you want a Color presentation choose "Y". If you want a Monochrome presentation choose "N".
If you do not want to be prompted for the Color or Monochrome presentation each time you log on using a 3rd party client the you may set an environment variable on a per user basis using Logon Scripting (described later in the User Manual).
The environment variable for the Color or Monochrome presentation is:
gwtn_color
For example to select a color presentation you would enter:
set gwtn_color=1
in the Logon Script for a particular user.
And to select a monochrome presentation you would enter:
set gwtn_color=0
in the Logon Script for a particular user.
If the monochrome mode is selected the color mapping is performed as described below. For each character on the screen:
If background intensity is set then the blink attribute is set.
If foreground intensity is set then the bold attribute is set.
If the character is blue then the underscore attribute is set.
If background intensity is greater than foreground intensity then the inverse attribute is set as follows:
I = .3 * R + .6 * G + .1B
The intensity bit itself is not used in the above calculation. The attributes are additive.
Many applications take advantage of the "Alt" key. However many keyboards and terminal emulations do not support the "Alt" key. The Georgia SoftWorks Windows NT Telnet Server allows the "Alt" key sequence to be transmitted to an application by providing a substitute key sequence (the Alt Prefix) for the "Alt" key. The default Alt Prefix is "Ctrl-b".
For example, in order to transmit "Alt-f" you will type:
Ctrl-b
and then f.(Depress Ctrl then b, release the keys and then depress f).
In order to really type in the AltPrefix character from the keyboard you will have to type it twice, like Ctrl-b Ctrl-b to get the Ctrl-b.
A different Alt Prefix can be configured using "AltPrefix" parameter in the registry editor. The default value is set to two 0x02 which is the ASCII value of Ctrl-b, Other values are as follows:
|
AltPrefix Value |
Key Sequence entered by User |
|
0x01 |
Ctrl-a |
|
0x02 |
Ctrl-b |
|
0x04 |
Ctrl-d |
|
0x06 |
Ctrl-f |
|
0x0e |
Ctrl-n |
|
0x0f |
Ctrl-o |
|
0x10 |
Ctrl-p |
|
0x12 |
Ctrl-r |
|
0x14 |
Ctrl-t |
|
0x15 |
Ctrl-u |
|
0x16 |
Ctrl-v |
|
0x17 |
Ctrl-w |
|
0x19 |
Ctrl-y |
This is how to change the registry key for the AltPrefix.
Note: (you must be on the Windows NT system that the Georgia SoftWorks Windows NT Telnet Server is installed. However you may connect to the Windows NT Registry from a remote location).
The key is:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ GS_Tnet\Parameters\AltPrefix
The new AltPrefix will take effect for all new sessions.
Type exit at the client window prompt followed by the ENTER key and the session will terminate and the window will clear and then close.
The Georgia SoftWorks Windows NT Telnet Server creates a tty name on a per session basis. This is available for viewing or use by customer created programs.
The environment variable created is:
gwtn_tty
And is set to /dev/ttypxxx, where xxx
represents the socket number (handle) for user's session.
Heartbeat - Specifying a Client Timeout value
To aid in the detection of failed links or failed remote PC's the Georgia SoftWorks Client software supports a Client Timeout value. The client will send a heartbeat to the server at specified time intervals. At installation, this value is set to 300 seconds. This can be changed using the shortcut properties.
If the server does not receive data from the client in the specified time, the connection is terminated. The data can be keyboard, or mouse input as well as the heartbeat. When keyboard or mouse data is transmitted, or when a heartbeat detected the server's timer is restarted.
The heartbeat time is specified as an optional command line argument in seconds.
For example:
gs_clnt.exe /H1800
specifies a heartbeat time of 30 minutes (1800 seconds = 30 minutes).
To change the Client Heartbeat
If data (keyboard or mouse events) is not received from a client within the specified server side inactivity time then the client session is terminated. . The Server Side Inactivity Timer is used only if the client side heartbeat is not used.
This timer is a registry key value and is in seconds. The key is:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ GS_Tnet\Parameters\InactivityTimeout
The default value is 0xffffffff that is -1. (That is disabled.)
This is how to change the registry key for the Server Side Inactivity Timer.
Note: (you must be on the Windows NT system that the Georgia SoftWorks Windows NT Telnet Server is installed. However you may connect to the Windows NT Registry from a remote location).
The new InactivityTimeout will take effect for all new connections that do not have a client heartbeat configured.
Logon Scripting - automatic execution of DOS applications and more
Logon Scripting is an advanced feature that allows the system administrator unmatched control over the user sessions. Associated with each User Login Id is a directory that will execute batch files upon connection. One of two optional batch files can be executed. One is named k_start.bat and the other is c_start.bat.
One use of these batch files is to allow automatic execution of a DOS application upon connection.
k_start.bat - This file runs upon connection and after its completion the user may get the system prompt. This batch file may set environment variables, establish network connections, run TSR's etc.
c_start.bat - This file runs upon connection and after its completion the session terminates. This can be used to restrict the user to a certain application. Even if the user executes a control-c or something similar this will not allow access other than what is specified in the batch file on the NT computer.
The batch files are set up by the system administrator for each user in the system. They must be in the directory
"InstallationPath\scripts\UserLoginID\k_start.bat" or
"InstallationPath\scripts\UserLoginID\c_start.bat"
Of course InstallationPath and UserLoginID is replaced with the actual values.
If both k_start.bat and c_start.bat exist then only c_start.bat is executed. You may call k_start.bat from c_start.bat.
The system administrator must ensure that the directory permissions for the above files and directories are correct. Remember the user must be able to read the batch file. They are executed in the security context of the user.
Here is an example script to allow automatic execution of a Physicians Office Application "medical.exe" upon connection for the user login id (nurse). The Physicians office application is in the directory c:\medical.
Step 1. Create directory
c:\gs_tnet\scripts\nurse
Step 2. Create batch file k_start.bat
Step 3. Add line to k_start.bat
c:\medical\medical.exe
Step 4. Save file and exit.
Now when the User login id "nurse" connects to the Windows NT system via telnet the application medical.exe will automatically be started. When the user exits the medical package, the Windows NT Command line prompt is displayed allowing other activity to occur.
Example 2. User restricted to execute only a specific program.
Here is an example script that will allow the User login id (bill) only to execute the amortization program amortize.exe. The amortization program resided in the directory d:\amor
Step 1. Create directory
c:\gs_tnet\scripts\bill
Step 2. Create batch file c_start.bat
Step 3. Add line to c_start.bat
d:\amor\amortize.exe
Step 4. Save file and exit.
Now when the User Login ID "bill" connects to the Windows NT system via telnet the application amortize.exe will automatically be executed. When the user exits the amortization package, the telnet session will terminate.
There are situations where the system administrator may want to have the same logon script executed by all the users upon connection. Instead of creating a logon script for each and every user, a single logon script can be created that will be executed by all users upon connection. The Global Logon script operates in the same manner as a normal logon script except for the location of the script files. The system administrator may put the k_start.bat or c_start.bat file in the subdirectory SCRIPTS (under the install directory). The server looks first for k_start.bat or c_start.bat in user's subdirectory and will not use the global script if it can find user's script.
Example 3. Automatic Execution of a program upon connection by ALL users
Here is an example script to allow automatic execution of a Physicians Office Application "medical.exe" upon connection for ALL users that do not have a c_start.bat or k_start.bat in their logon script directory. The Physicians office application is in the directory c:\medical.
Step 1. Create batch file k_start.bat in the SCRIPTS directory (under the install directory).
Step 2. Add line to k_start.bat
c:\medical\medical.exe
Step 3. Save file and exit.
Now when the any user (unless they have their own login script in their logon script directory) connects to the Windows NT system via telnet the application medical.exe will automatically be started. When the user exits the medical package, the Windows NT Command line prompt is displayed allowing other activity to occur.
Graceful Termination of DOS Applications
The Georgia SoftWorks Windows Telnet Server is unique in that in case of a link or remote PC failure we attempt to gracefully terminate the executing DOS application, therefore saving important data that may otherwise be lost. Many applications are terminated by sending a sequence of characters to the application such as ESC-ENTER. Applications may have specific sequences. We allow a termination string to be defined as an environment variable in the k_start.bat or c_start.bat file. When a session is to be terminated due the client heartbeat timer expiring or the server side inactivity timer expiring then the defined termination string will be sent to the associated application. Approximately 3 seconds later the session is terminated if still running.
The termination string is a comma delimited list of keystrokes that you want to send to the shell (your application) before it is terminated due to either the Client Heartbeat timeout or the Server Side Inactivity timeout. No extra white space is allowed. The string is not case sensitive. For example you must specify '
shift-c' to produce a capital 'C'.The following control key designators are defined.
The following special characters are defined.
Also a special operator is defined.
This special operator will pause the output to the shell for xx seconds. This gives the application time to process the input. This is very useful when saving files to disk and for applications that flush the keyboard buffer.
To ensure graceful termination you may want to enter the string "
e,x,i,t,ENTER" to exit the shell. Once the specified application is terminated by the user-specified string, the above string will complete the graceful termination process. This string sends the command exit and then enter which are the commands to terminate a session. You must be sure that the user defined termination string does indeed terminate the application before sending the "e,x,i,t,ENTER" string otherwise unintended characters will be sent to the application.Example 4. Graceful termination of amortization program upon link failure.
We will continue to use the amortization program from example 2. However, we will assume that a standard menu exists for the application. A File menu item exists that is invoked by alt-f. The list of items in the File menu list includes s for saving the work and alt-f for opening the file menu list again and then x for exiting the application. Next follows the ",e,x,i,t,ENTER" to gracefully close the shell.
Step 1. Create batch file c_start.bat
Step 2. Add this line to c_start.bat
d:\amor\amortize.exe
Step 3. Add this line to c_start.bat (note: there are no spaces in following the "=")
SET LRA_TERMINATION=alt-f,s,sleep5,alt-f,x,e,x,i,t,ENTER
Step 4. Save file and exit.
Now when the User ID "bill" connects to the Windows NT system via telnet the application amortize.exe will automatically be executed. If the session is terminated due to system timeouts the termination string alt-f,s,sleep5,alt-f,x will cause the following sequence of events to occur.
First Alt-f to be sent to the application (This opens the file menu).
Second s is send to the application (for saving the file).
Third, the Sleep5 causes 5-second pause to allow the application time to save the files,
Fourth alt-f to open the file menu list again,
Fifth an x is sent to the application to exit.
Finally ",e,x,i,t,ENTER" is send to the shell which terminates the session.
Other examples of termination string definitions are:
SET LRA_TERMINATION=alt-f,x,e,x,i,t,ENTER
SET LRA_TERMINATION=F2,alf-f,x,e,x,i,t,ENTER
SET LRA_TERMINATION=ESC,ENTER,e,x,i,t,ENTER
You may enable scroll bars on the Windows NT client window. This is accomplished by changing the buffer size for the DOS window. You must be careful that the application can handle a modified buffer size. Unpredictable display results will occur if this is not the case.
Monitoring other Telnet Sessions
Included with the Georgia SoftWorks Windows NT Telnet Server is a powerful administrative, development and training tool - the Session Monitor. The session monitor is a stand alone utility that allows users within a certain group to connect to an existing Telnet session and observe the screen exactly as the client sees the screen. This connection only allows monitoring. You may use this utility as a local NT user or as a user connected via Telnet.
The name of the session monitor is gs_admin.exe and resides in the installation directory. When the session monitor is executed a window is opened that dynamically displays all Telnet sessions. For each session the Logon Id, the Logon time, the session id and the monitor id are displayed. To choose a session to observe, select the session with the up and down arrows or the mouse
1. To start monitoring the session depress <ENTER> or double click the mouse.At this point you are observing the telnet session as if you are the user on that session. To exit the monitor depress the <ESC> key.
Session Monitoring Privileges.
To participate in Session Monitoring a user must belong to the group Gwtn Monitors. The system administrator must first create the group Gwtn Monitors. Next all users allowed to use the Session Monitor must be added to the group. You will have to restart the Windows NT server after creating the group and adding users. Windows NT does not instantaneously update the group membership after the user manager is closed.
There are many uses for session monitoring a few are listed.
Programmatic Access to the Telnet Server
Note: Programming skills may be required to understand the following section.
Developers may take advantage of the programmatic interface to the Georgia SoftWorks Windows NT Telnet Server. Programmatic, language independent access to the Telnet Server allows developers to write an application that (when run under the Telnet Server environment) takes control of its input and/or output from/to the client. This can be utilized to create a custom or highly specialized communications application. The Telnet Server still maintains critical functionality such as logon, security, application launch and termination. Normally the application before it terminates will release control to the telnet server.
The Telnet Server communicates with the client through a WINSOCK socket. A protocol/mechanism is provided that allows a custom application to take and release control of the socket. Objects involved in taking and releasing control of the socket are passed through environment variables as are described below.
Note1: All of the above mentioned events are autoreset events.
Note2: The above environment variables are automatically injected into the session's environment and will vary from session to session. Please do not attempt to modify those variables or set them in the autoexec files or Control Panel/System/Environment.
Please see the file interface.c included on the installation disks for a code sample. Interface.c contains a short program that takes control of the input and output and echoes characters to the client until a lowercase q is encountered.
Discussion: Orphaned NTVDM's and Windows NT Telnet Servers
What are NTVDM's and why are they important for Windows NT Telnet?
NTVDM's are NT Virtual DOS Machines. For Windows NT to run DOS programs, NT creates a NT VDM that provides a DOS environment for the DOS program to reside.
When are NTVDM's created?
When DOS applications are executed a NTVDM is created. A normal Telnet scenario is to connect to a Windows NT system and run a DOS application. NT will create a NTVDM. This is all fine and normal.
What are Orphaned NTVDM's?
Normally during a Telnet session running a DOS application, upon completion of the application the user will exit the application properly. In this situation the NTVDM is properly terminated.
However problems occur when a Telnet session running a DOS application abnormally terminates.
The Telnet session will normally terminate however the NTVDM will not terminate. This leaves what is called a orphaned NTVDM. Some term this rouge or phantom NTVDMs or processes.
Why is this a concern?
These orphaned NTVDM's are a serious problem to the NT System. They will start consuming all the processing resources of the Windows NT system that results in the severe degradation of all other processes on the system. This is not just a slight slowing down of the system but a slowing down to the point of the system being useless by most users standards. The most common way to clear the NTVDM is to reboot the NT system. However if you are skilled you can kill the orphaned processes.
What types of events cause orphaned NTVDM when using Telnet?
Any abnormal terminal of a client can cause an orphaned NTVDM. One easy way to create an NTVDM with telnet simply to power off the Client PC while running a DOS program via Telnet. For example:
At this point a NTVDM is created. You can observe this on the Telnet Server by:
Having multiple Telnet sessions connected running DOS applications when an abnormal termination occurs can exacerbate this problem.
Frequent scenarios for abnormal terminations
What can be done about Orphaned NTVDM's?
The Georgia SoftWorks Windows NT Telnet Server automatically provides advanced detection and elimination for orphaned NTVDM's. Unlike others that claim to handle this serious problem, the Georgia SoftWorks Windows NT Telnet Server actually detects and eliminates these process consuming tasks in a remarkably quick time minimizing the impact on other users and tasks on the system. The Georgia SoftWorks Windows NT Telnet Client accomplishes detection via the configurable heartbeat timer and third party telnet clients utilize the configurable Server Side Heartbeat Timer. Upon detection sophisticated algorithms are used to identify orphaned NTVDM and eliminate them.
For Technical Support.
In order to keep Technical Support Free please help us to keep our cost down.
If the question is not an emergency, please use e-mail at techsupport@georgiasoftworks.com. We try to respond within 24 hours.
Or Call 706.265.1018 EST, M-F 9:00 a.m. to 5:00 p.m. and have your registration key ready