Telnet Server for Windows 95/98 V2.2.1 Online Help

Introduction

Installing GoodTech Telnet Server

Configuring the GoodTech Telnet Server

Administrating the GoodTech Telnet Server

Working with GoodTech Telnet Server

Trouble Shooting

 

Top

Screen Shots

Screen Shot 1-telnetps.exe Password Utility

Screen Shot 2-windows 9598 service program, startup parameters

Screen Shot 3-setting environment variables

Screen Shot 4-telnetd status

Screen Shot 5-telnetd, the log files

Screen Shot 6-telnetd, color support

Screen shot 7-telnetd, login

Screen shot 8-telnetd, idle login

Screen shot 9-switching to line mode

 Top

Introduction

Welcome

This help document gives you an introduction to telnet and to our Telnet Server, describes how to install, set up and use the telnet server, and has a trouble shooting chapter to help you overcome problems. We hope you will find it helpful.

Although we did our best to proofread this help, we are unfortunately not immune to mistakes and omissions. If you find any mistake or have suggestions to improve this help, please let us know.

Top 

Introduction to Telnet

Telnet is the standard for character-based network communications. It is a part of TCP/IP, the networking protocol of the Internet. Computer users on local area networks and on the Internet use Telnet to connect to a remote host and execute programs on the host.

Telnet server is a server application that runs on a host computer and allows remote users to Telnet in to a host.

Telnet client is a client application that allows a user to Telnet out from his system to run a program on remote hosts.

Telnet is a useful way for system administrators, programmers and DOS legacy application users to do the following:

  • Remotely administer a system

To administer a system, you must be at the console of that system. With telnet, the remote administrator can support a system that may be physically located miles away.

  • Run old Dos applications

Telnet allows moving applications from old platforms to run on 95/98. Telnet is used to provide the interface to the users.

  • Run multiple users on a single Windows 95/98 system

Windows 95/98 can handle multiple users running different jobs at the same time, but only one user can be using the system console at a time. Telnet allows multiple users to be concurrently logged in.

  • Run programs where they run most efficiently

Telnet allows remote users to run programs on the host rather than on their machine. It is more efficient to do so in case the program requires large amounts of resources that reside on the host.

Using telnet, a user can run character-based applications only. Telnet does not support graphical programs that use windows. It runs any program that runs in your Windows 95/98 DOS Window.

Top

Introduction to GoodTech Telnet Server

GoodTech Telnet Server for Windows 95/98 is a telnet server application that runs on a host computer and allows remote users to Telnet in to the host. Microsoft Windows 95/98 networking has a built-in Telnet client, but does not have a built-in Telnet server, so Goodtech Telnet Server can be used to provide the missing build-in Telnet Server functionality.

When Goodtech Telnet Server is installed on your Windows 95/98 system, you can Telnet from remote systems and run programs on your Windows 95/98 system. It is a functional, easy to use and high performance tool, that is written based on open standards, can communicate with any standard telnet client and is highly integrated with Windows 95/98 operating system.

By using a Telnet client, you can connect to GoodTech Telnet Server from anywhere in the world and login as if you were sitting at the console. Whether you are a system administrator, a programmer or a DOS application user, GoodTech telnet server can provide you with the Telnet Server functionality that you need.

Top

How the GoodTech Telnet Server Works

The installation program creates a telnet service called telnetd and adds it to the list of services available on your 95/98 system.

When the Telnet Server service is started, either manually or automatically, it executes a program named telnetdstart.exe.

The program telnetdstart.exe opens a log file telnetd.log in the GoodTech Telnet Server installation directory.

telnetdstart.exe is now ready for connection requests. It listens to requests on the default telnet port (#23) or on other port if a different port was specified when the telnet service was started.

When a user wants to telnet out to the host running GoodTech telnet server, he runs a telnet client program. The telnet client program sends a connection request to port #23 (or to any other port the telnet server was configured to listen).

The telnetdstart.exe program gets the request and opens a thread, which is responsible for this connection with the client. This thread relieves telnetdstart.exe from communicating with the client and let telnetdstart.exe focus on listening to other connection requests.

The client thread starts the authentication process. It asks the telnet client for login information. The login information consists of a User ID and a Password. The client thread checks the login information against the password file. If the user passes authentication, he is logged onto the host system.

The client thread creates a process that runs a program named telcmd.exe. The telcmd.exe program creates a shell process that by default runs the command.com. The remote user is now ready to work on the host.

Top

GoodTech Telnet Server Key Features

Top

Registration

Registration is very simple - you are automatically registered when you order from GoodTech Systems. When we receive your order, we will send you back your registration number along with your registered copy of the product. Our simple licensing policy lets you purchase as many copies as you need and get a single license for all copies.

Top

Installing GoodTech Telnet Server

System Requirements

GoodTech Telnet Server requires Windows 95/98.

The TCP/IP protocol must be installed on your Windows 95/98 system. This protocol is included with the Windows 95/98 operating system but is not always installed on all systems. You can check if TCP/IP is installed on your system by choosing Network from the Control Panel. If TCP/IP is installed on your system it should show up in the list of Installed Network Software.

Top

Running the Installation Program

After downloading the evaluation copy of the GoodTech Telnet Server or receiving the registered copy, you have to perform the following steps:

  1. Unzip the Telnetd zip file to your installation directory.

    After extracting the zipped file you will see the following files in your Telnet Server installation directory:

  • README.htm - Make sure you read this file before proceeding with the installation process.
  • Help.htm - Help file in HTML format.
  • Install.exe - The GoodTech Telnet Server installation program.
  • Uninstall.exe - The GoodTech Telnet Server uninstall program.
  • telnetps.exe - The GoodTech Telnet Server password utility.
  • Telnetdstart.exe - You execute this program to manually start the Telnet Server.
  • Telnetdstop.exe - You execute this program to locally stop the Telnet Server.
  • Telcmd.exe - This program communicates with the client. Don't try to execute it!
  • Kbdmap.exe – This utility stores key mapping information in a file called gt_kbd.map. Use this utility only if you use a keyboard other than U.S and some of the keys or special characters in your language don't work properly.
  1. Run install.exe ONLY IF YOU WANT THE TELNET SERVER TO START AUTOMATICALLY. If you want to start it manually, don't run the install.exe program.

    The installation creates a new service with the internal name TELNETD. If a service with a name TELNETD is already in use in your system, the new service will override the existing one.

     

  2. Start GoodTech Telnet server service. Please refer to "starting the GoodTech Telnet Server" for information on how to start the service.

Top

Upgrading to a New Version

If you want to install a new version of the Telnet Server but have a previous version currently on your system, you have to do the following:

  1. Stop the GoodTech Telnet Server Service. Please refer to "stopping the GoodTech Telnet Server" for information on how to stop the service.
  2. Uninstall your current version of GoodTech Telnet server. Please refer to "Running the Uninstall Program".
  3. Follow the installation steps for the new version.

Top

Running the Uninstall Program

Run the uninstall program if you want to uninstall the GoodTech Telnet Server from your system, or if you want to start it manually. All you have to do is:

  1. Make sure the telnetd service is not running. Run the telnetdstop.exe program. If you get error 10061 ("Error connecting to GoodTech Telnet Server") it means the service was not running.
  2. Run uninstall.exe to uninstall your current version of GoodTech Telnet server.

Top

Configuring the GoodTech Telnet Server

Creating and Configuring Accounts

Using the Password Utility

When a Telnet user logs in to your system via GoodTech Telnet Server, he must be a valid user that was created by the telnet administrator, using the telnet Password utility program, telnetps.exe.

The program telnetps.exe creates a password file named telnetd.pas. The passwords are encrypted and can only be changed by using the password utility.

The first time you run the pelnetps program, the password file does not exist and you get the following message:

"Password file does not exist. Do you want to create a new file?"

Answer "y" if you want to go ahead and add user accounts to the Telnet Server. If you answer "n", the file is not created, and no users are allowed to connect to the telnet server.

The next step is to create user accounts. You are prompted with the following options:

1. Create new user

    Select "1" to create a new user. In this case you specify the user name and the user password.

2. Modify user

    Select "2" to modify an existing user. You'll be prompted for the user's name and password. You have the following options:

    1. Disable user

    Select "1" to prevent a user from connecting to your system. This is the option to choose if you need to delete a user.

    2. Change password

    Select "2" to change user's password. You'll be promped for the new password.

    3. Enable user

    Select "3" to change a disabled user to be a valid user again.

3. User list

    Select "3" to display a list of all the users that have a telnet account.

ctrl-z to exit

    Press ctrl-z to exit the password utility.

     

Top

User Home Directory

If a user's home directory is specified in the Windows 95/98 system (gt_[username]_home), GoodTech Telnet Server changes to that home directory when the user logs on. (Where username is the name of the user that you wish to set the home directory)

If the user home directory is not specified in the Windows 95/98 system , the environemnt variable gt_user_home is used by GoodTech Telnet Server.

Please refer to "Setting Environment Variables in Windows 95/98" for information on how to set an environment variable.

If no home directory is specified, C:\ is assumed as the home directory.

Top

User Login Script

If a user's login script is specified in the Windows 95/98 system, GoodTech Telnet Server executes the login script in the user's home directory when the user logs on.

If you want to specify a user login script, you can set the environment variable gt_[username]_logon_script to point to the user login script.
(Where username is the name of the user that you wish to set a login script) For example if you wish to set a login script for user 'david' you need to create environment variable named 'gt_david_logon_script' and set it to point to the full path where the login script is located.

set gt_david_logon_script=c:\scripts\login.bat

You can put this line in your autoexec.bat file.

Top

Creating the Telnet Administrator Account – telnetd

telnetd is the telnet administrator account. Administration commands can be performed only from the telnetd account. You have to create an account for the user telnetd (in lower case!), using the password utility.

Top

Setting up parameters to GoodTech Telnet Service

Telnet Port

The default telnet port is port number 23. However, in case port 23 is used by another application, you can set up the GoodTech Telnet Server to use a different port.

If you start your Telnet Server manually, you specify the port number as a parameter to the telnetdstart.exe program. You issue the command:

telnetdstart [port #]  

example (use of port 25): telnetdstart 25

If you start your Telnet Server automatically, you have to change the port number in the registry. To update the registry:

  • run the program regedit.exe and goto HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
  • Double click the TELNETD key and change the port number value from 23 to a different port number.

The screen shot below is an example of using port 25 when starting the Telnet Server automatically.

Top

The Telnet client program must be set up to use the same port as the Telnet Server. If you set up the Telnet Server to use a port different than the default (#23), you have to also set up the telnet client to use the same port.

Login and Session Timeout

Two environment variables are used to control idle sessions:

    gt_login_idle_time - specifies the time period, in seconds, allowed for the login process before it is automatically disconnected from the host.

    For example, if you set gt_login_idle_time to 30 seconds and a user doesn't provide login input in the timeout period (30 seconds), the session is closed by the Telnet Server. In case a session is disconnected, the message "Timeout period expired" is displayed on the user's telnet window.

    If this variable is not defined, or if it has a value of 0, there is no time limit for the login process.

    gt_session_idle_time – specifies the time period, in minutes, allowed for a session to be idle before it is automatically disconnected from the telnet server. In case a session is disconnected, the message "Timeout period expired" is displayed on the user’s telnet window.

    If this variable is not defined, or if it has a value of 0, there is no time limit for a session to be idle.

It is recommended to set these parameters so that system resources will not be allocated to idle sessions. For instructions on how to set environment variables in Windows 95/98 please refer to the "Setup Environment Variables in Windows 95/98" section.

Top

Enabling Alternate Command Shells

GoodTech Telnet Server for Windows 95/98 supports other command shells than COMMAND.COM. For example, 4Dos for Windows 95/98 from JP Software is supported.

If you want all the telnet users to make use of a command shell other than COMMAND.COM, change your ComSpec environment variable to point to that command interpreter program. For example, if you want to make use of 4DOS, change the ComSpec environment variable to point to 4DOS.EXE program instead of to COMMAND.COM program. For instructions on how to change the Comspec environment variable value please refer to the "Setup Environment Variables in Windows 95/98" section.

Top

Setup Environment Variables in Windows 95/98

Run sysedit and select AUTOEXEC.BAT file. Add the environment variable at the end this file.

For example, to define gt_user_home, write the following line:

set gt_user_home=c:\home (no spaces before or after the "=" sign).

You have to reboot your computer after setting up environment variables for the change to take effect.

The screenshot below shows how to define the gt_user_home variable and set it to c:\home.

Top

Administrating GoodTech Telnet Server

Administrating Commands

Administration commands can be performed only from the telnetd account. You have to telnet to the host as user telnetd remotely from a client.

More than one telnetd user can telnet in to the host at the same time. However, each is count against the maximum number of concurrent connections allowed. You want to make sure that you always keep at least one telnetd user session open, so administration commands will be available even when all concurrent connections are in use.

The following commands are currently available:

Service Administrating Commands:

Client Administrating Commands:

  • telnetd status – Displays a list of all current opened sessions.
  • telnetd kill [sid] - Kills the client session identified by sid. To get the client sid, use the command "telnetd status".

Top

Controlling the GoodTech Telnet Server Service

Starting the GoodTech Telnet Server Service

  • Run the telnetdstart.exe program from your Telnet Server installation directory.

Stopping the GoodTech Telnet Server Service

You have two options:

  • Run the telnetdstop.exe program from the Telnet Server installation directory.
  • You can also use the administating command "telnetd shutdown".

Pausing the GoodTech Telnet Server Service

  • Use the monitoring command "telnetd disable".

Continuing the paused GoodTech Telnet Server Service

  • Use the monitoring command "telnetd enable".

Remotely restarting GoodTech Telnet Server Service

  • Create a bat file (i.e. remoterestart.bat) with the following lines in it-

    cd [your telnet server installation directory]

    telnetdstop

    telnetdstart

  • Logon to the server from a remote telnet session and execute the bat file-

    start /m [bat file]

    for example: start /m remoterestart

    The remote session will be disconnected, but you can reconnect.

     

Top

Administrative Messages from the Telnet Server

 

message:

Is displayed when..

Evaluation copy of GoodTech Telnet Server version X has expired

Your 30 day evaluation period is over

Shutting down telnet server…

You performed the command "telnetd shutdown"

Missing or invalid parameter

You performed the command "telnetd kill [sid]" without specifying the [sid] or specifying an invalid [sid].

User's session [sid] was terminated

You performed the command "telnetd kill [sid]"

Top

The Log Files

What are the Log Files

The GoodTech Telnet service uses two Log files, telnetd.log and telcmd.log, to keep a record of everything it does. The log files are kept in the GoodTech Telnet Server installation directory.

Here is an example of the telnetd log file content:

For more information on how to monitor your Log file please see the "Monitoring the Log File".

Top

Resetting the Log Files

Your log files can grow quite large and quite fast, especially if your host is getting a large number of telnet users per day. The size of the files can eat into your disk quota and tie up needed space.

To reset your log files, simply delete the files when the telnet server service is not running. Make sure that you don't try to delete your log files when they are actually being written to by the Telnet Server. The next time the telnet server will run, new log files will be created.

Top

Working with GoodTech Telnet Server

Choosing Your Telnet Client software

GoodTech Telent Server is written in open standards and can work with any standard telnet client. There are quite a few telnet clients available, many of which are free.

However, CRT from Van Dyke Technologies is our preferred telnet client because it is flexible and friendly and it is less likely to run into problems because GoodTech Telnet Server is thoroughly tested with CRT.

The Windows 95,98/NT operating systems are shipped with a telnet client included (found at "c:\windows\telnet.exe" and "c:\winnt\system32\telnet.exe" respectively). This telnet client is simple and functional, but not quite as flexible and friendly as CRT from Van Dyke Technologies, Inc. or POWER TERM from Ericon Software, which have to be purchased.

Top

Configuring your Telnet Client

Keyboard Mapping

The key maps expected by GoodTech Telnet Server are listed below. Check the telnet client for documentation on how to add entries into the keyboard mapping table.

The first column is the keyboard key and the second column is the string sequence GoodTech Telnet Server expects to receive for the keyboard key. Double quotes are shown in the escape sequence for easy understanding but are NOT to be sent. Numbers (\xxx) are given in decimal notation. For example, to simulate F1, the Telnet client should send ASCII number 27(not the string 27), followed by O and P (\027 stands for the decimal ASCII 27).

 

Keyboard Key
Escape Sequence
F1
"\027OP"
F2
"\027OQ"
F3
"\027OR"
F4
"\027OS"
F5
"\027OT"
F6
"\027OU"
F7
"\027OV"
F8
"\027OW"
F9
"\027OX"
F10
"\027OY"
F11
"\027OZ"
F12
"\027OO"

 

 

[ Ctrl ] F1
"\027CP"
[ Ctrl ] F2
"\027CQ"
[ Ctrl ] F3
"\027CR"
[ Ctrl ] F4
"\027CS"
[ Ctrl ]F5
"\027CT"
[ Ctrl ] F6
"\027CU"
[ Ctrl ] F7
"\027CV"
[ Ctrl ] F8
"\027CW"
[ Ctrl ] F9
"\027CX"
[ Ctrl ] F10
"\027CY"
[ Ctrl ] F11
"\027CZ"
[ Ctr l ] F12
"\027CO"

 

 

[ Shift ] F1
"\027SP"
[ Shift ] F2
"\027SQ"
[ Shift ] F3
"\027SR"
[ Shift ] F4
"\027SS"
[ Shift ] F5
"\027ST"
[ Shift ] F6
"\027SU"
[ Shift ] F7
"\027SV"
[ Shift ] F8
"\027SW"
[ Shift ] F9
"\027SX"
[ Shift ] F10
"\027SY"
[ Shift ] F11
"\027SZ"
[ Shift ] F12
"\027SO"

 

 

[ Alt ] F1
"\027AP"
[ Alt ] F2
"\027AQ"
[ Alt ] F3
"\027AR"
[ Alt ] F4
"\027AS"
[ Alt ] F5
"\027AT"
[ Alt ] F6
"\027AU"
[ Alt ] F7
"\027AV"
[ Alt ] F8
"\027AW"
[ Alt ] F9
"\027AX"
[ Alt ] F10
"\027AY"
[ Alt ] F11
"\027AZ"
[ Alt ] F12
"\027AO"

 

 

Cursor up
"\027[A"
Cursor down
"\027[B"
Cursor right
"\027[C"
Cursor left
"\027[D"
Insert
"\027[1~"
Home
"\027[2~"
Page Up
"\027[3~"
Delete
"\027[4~"
End
"\027[5~"
Page Down
"\027[6~"
[ Shift ] Cursor up
"\027[\129"
[ Shift ] Cursor down
"\027[\130"
[ Shift ] Cursor right
"\027[\131"
[ Shift ] Cursor left
"\027[\132"
[ Shift ] Insert
"\027[\133"
[ Shift ] Home
"\027[\134"
[ Shift ] Page Up
"\027[\135"
[ Shift ] Delete
"\027[\136"
[ Shift ] End
"\027[\137"
[ Shift ] Page Down
"\027[\138"

 

 

[ Ctrl ] Cursor up
"\027[\139"
[ Ctrl ] Cursor down
"\027[\140"
[ Ctrl ] Cursor right
"\027[\141"
[ Ctrl ] Cursor left
"\027[\142"
[ Ctrl ] Insert
"\027[\143"
[ Ctrl ] Home
"\027[\144"
[ Ctrl ] Page Up
"\027[\145"
[ Ctrl ] Delete
"\027[\146"
[ Ctrl ] End
"\027[\147"
[ Ctrl ] Page Down
"\027[\148"

 

 

[Shift][Ctrl]Cursor up
"\027[\149"
[Shift][Ctrl]Cursor down
"\027[\150"
[Shift][Ctrl]Cursor right
"\027[\151"
[Shift][Ctrl]Cursor left
"\027[\152"
[Shift][Ctrl]Insert
"\027[\153"
[Shift][Ctrl]Home
"\027[\154"
[Shift][Ctrl]Page Up
"\027[\155"
[Shift][Ctrl]Delete
"\027[\156"
[Shift][Ctrl]End
"\027[\157"
[Shift][Ctrl]Page Down
"\027[\158"

 

 

[ Shift ] Tab
"\027\160"
[ Ctrl ] Enter
"\027\161"

 

 

[ Alt ] Cursor up
"\027[\170"
[ Alt ] Cursor down
"\027[\171"
[ Alt ] Cursor right
"\027[\172"
[ Alt ] Cursor left
"\027[\173"
[ Alt ] Insert
"\027[\174"
[ Alt ] Home
"\027[\175"
[ Alt ] Page Up
"\027[\176"
[ Alt ] Delete
"\027[\177"
[ Alt ] End
"\027[\178"
[ Alt ] Page Down
"\027[\179"

 

 

[Ctrl][Alt]Cursor up
"\027[\180"
[Ctrl][Alt]Cursor down
"\027[\181"
[Ctrl][Alt]Cursor right
"\027[\182"
[Ctrl][Alt]Cursor left
"\027[\183"
[Ctrl][Alt]Insert
"\027[\184"
[Ctrl][Alt]Home
"\027[\185"
[Ctrl][Alt]Page Up
"\027[\186"
[Ctrl][Alt]End
"\027[\188"
[Ctrl][Alt]Page Down
"\027[\189"

 

 

[Shift][Alt]Cursor up
"\027[\190"
[Shift][Alt]Cursor down
"\027[\191"
[Shift][Alt]Cursor right
"\027[\192"
[Shift][Alt]Cursor left
"\027[\193"
[Shift][Alt]Insert
"\027[\194"
[Shift][Alt]Home
"\027[\195"
[Shift][Alt]Page Up
"\027[\196"
[Shift][Alt]Delete
"\027[\197"
[Shift][Alt]End
"\027[\198"
[Shift][Alt]Page Down
"\027[\199"

 

 

[ Alt ] A
"\001\027"
[ Alt ] B
"\001\002"
[ Alt ] C
"\001\003"
[ Alt ] D
"\001\004"
[ Alt ] E
"\001\005"
[ Alt ] F
"\001\006"
[ Alt ] G
"\001\007"
[ Alt ] H
"\001\008"
[ Alt ] I
"\001\009"
[ Alt ] J
"\001\010"
[ Alt ] K
"\001\011"
[ Alt ] L
"\001\012"
[ Alt ] M
"\001\013"
[ Alt ] N
"\001\014"
[ Alt ] O
"\001\015"
[ Alt ] P
"\001\016"
[ Alt ] Q
"\001\017"
[ Alt ] R
"\001\018"
[ Alt ] S
"\001\019"
[ Alt ] T
"\001\020"
[ Alt ] U
"\001\021"
[ Alt ] V
"\001\022"
[ Alt ] W
"\001\023"
[ Alt ] X
"\001\024"
[ Alt ] Y
"\001\025"
[ Alt ] Z
"\001\026"

 

 

[ Ctrl ] A
"\001\001"
[ Ctrl ] B
"\002"
[ Ctrl ] C
"\003"
[ Ctrl ] D
"\004"
[ Ctrl ] E
"\005"
[ Ctrl ] F
"\006"
[ Ctrl ] G
"\007"
[ Ctrl ] H
"\008"
[ Ctrl ] I
"\009"
[ Ctrl ] J
"\010"
[ Ctrl ] K
"\011"
[ Ctrl ] L
"\012"
[ Ctrl ] M
"\013"
[ Ctrl ] N
"\014"
[ Ctrl ] O
"\015"
[ Ctrl ] P
"\016"
[ Ctrl ] Q
"\017"
[ Ctrl ] R
"\018"
[ Ctrl ] S
"\019"
[ Ctrl ] T
"\020"
[ Ctrl ] U
"\021"
[ Ctrl ] V
"\022"
[ Ctrl ] W
"\023"
[ Ctrl ] X
"\024"
[ Ctrl ] Y
"\025"
[ Ctrl ] Z
"\026"

 

Top

Line Mode

Make sure that the option new line mode is enabled in your telnet client. Otherwise, the carriage return does not work properly when you are in line mode. In MS Telnet Client, this option is the default. In CRT, for example, you have to enable this option under Emulation/Modes.

Top

The Backspace Key

If you want the backspace key to work properly, make sure the backspace key is configured to send backspace and not delete. For example, in the CRT telnet client, you go to the options, session preferences and check the "backspace sends backspace". Make sure that the "backspace sends delete" is unchecked.

Top

Graphic Characters

PC applications use the PC's character set to generate character graphics. Many terminal emulator's graphic character set is different from that of the PC. In order to get all graphic characters properly displayed by GoodTech Telnet Server, use a telnet client that supports character set or font selection. Choose the character set or font that is based on the IBM PC character set.

For example, in the CRT telnet client, choose terminal font in its setup menu.

Color

Some PC applications make use of colors. In order to get all colors properly displayed by GoodTech Telnet Server, use a telnet client that supports colors. Choose the ANSI color option in the telnet client setup menu.

ESC key

To simulate the ESC key, you need to press the Escape key twice.

Client Printing

To enable client printing please follow these steps:

  • Create an environment variable gt_print_monitor and set it to 'y'. (e.g. gt_print_monitor=y).

    You can do this from a command shell before you start the telnet server, or you may put this line in your autoexec.bat, so this variable will be defined every time you boot your machine.

  • Create a generic/text printer name GT_PRINTER
  • Pause GT_PRINTER and set it to be the default printer in your system.
  • Open the Control panel/network and 'File and print sharing' tab. Check 'I want to be able to allow other users to print to my printer(s)' and click OK. You might need to use windows CD to complete the installation. (Reboot is needed)
  • After reboot open the Printer icon and right click on the mouse. Select sharing, and name the share GT_PRINTER. (password is not needed)

Note: This is done only once!

Now, when a user connect to the server machine (via telnet), before printing (copy [file-name] PRN:), the user should run the program gt_capture_printer with his username as a parameter. (e.g. gt_capture_printer david). After the user run this program from the telnet session, he can now print any job to the printer, and the print job will go to the virtual printer (GT_PRINTER) and stays there until the telnet server finds it and send it to the client machine. After the user completes printing, he then need to run the program gt_release_printer with his user name as a parameter. (e.g. gt_release_printer david). When the printer is released, a different user can then capture the printer for himself and print his own files.

Enabling an Alternate Command Shell

You can make use of a command shell other than the default COMMAND.COM, by running the other shell program from the Telnet session. For example, to use 4DOS from JP software, you can run 4DOS.exe from your telnet session prompt.

Top

Working with the Telnet Client

Connecting to GoodTech Telnet Server

Once you have chosen a Telnet client, connecting to the GoodTech Telnet Server is simple. Although telnet clients vary in their exact configuration, most of them will simply require you to specify a "remote host". Your remote host is the host where the Telnet Server is running.

Once you are connected, you will be prompted for your login name and login password.

The login name is the name of the user account to log on to.

The password specifies the password for the user account.

While the Telnet Server authenticates your login information, the message "Authentication is in progress…" is displayed on your screen.

If the authentication fails, the message " Login incorrect, please try again authentication failure" is displayed on your screen. After three failure attempts the message " Login incorrect, Closing 3 failure attempts" is displayed on your screen. Your session is disconnected from the host.

If you don't fill out the login information within the time period that was specified by the system administrator for login input, your session is disconnected from the host and the message: "Timeout period expired " is displayed on your screen.

After the login process is successful, you will have gained access to the host Server and can now issue commands at the command prompt.

 

Top

Switching Between Screen Mode and Line Mode

In full screen applications, such as MS edit, VI, FCW. Etc., the cursor can be located anywhere on the screen. Screen mode applications are displayed properly only if you are in screen mode.

In Line mode, the cursor is always located on the last line of your telnet session window. In this mode you can use the scroll buffer.

You can easily switch between modes while in a telnet session. There is no need to re-login any time you change the mode.

The default mode is screen mode. If you want to switch to line mode, type the command:

set gt_mode=line

Please make sure to type the above command in lower case letters and with no extra spaces. This command creates a new DOS session. You are now ready to start working in line mode. The scroll buffer is now available. If the cursor does not move to the next line any time you press the enter key, you need to set up your telnet client to do so. Please refer to Configure the Telnet Client/Line Mode.

If you want to switch back to screen mode, type the command:

set gt_mode=screen

Please make sure to type the above command in lower case letters and with no extra spaces. This command creates a new DOS session. You are now ready to start working in screen mode. The scroll buffer is not available any more.

Top

Pressing the Alt Key

Windows 95/98 interprets the Alt as a local menu key. As a result, the Alt key is interpreted by Windows 95/98 and is not transferred to the Telnet Client program (or other programs). A replacement key have to be entered at the telnet client in order to have it mapped to the Alt key in the Telnet server. CTRL-A has been re-mapped to act as the Alt key in a telnet session.

For example, when working in EDIT.COM, to access the File Menu, instead of pressing ALT-F, press CTRL-A and F to represent ALT-F.

Because CTRL-A is used to simulate the ALT key, you need to press CTRL-A twice to simulate CTRL-A. To simulate ALT-A, you need to press CTRL-A and ESC key.

Top

Using the Number Pad Keys

To use the number pad keys, disable the NUM-LOCK key.

Idle Session

If your session is connected to the Telnet Server, but is idle (no input is sent from the client to the server within the time period that was specified by the system administrator), it is disconnected from the host and the message: "Timeout period expired " is displayed on your screen.

Exiting From a Session

Once your telnet connection is established, your Telnet client remains connected to GoodTech Telnet Server until one of the following happens:

You request to disconnect by:

  • Typing EXIT at the command prompt.
  • Choosing Disconnect from the telnet client menu.

The telnet administrator disconnects you by:

  • Killing your session
  • Automatic timeout disconnection
  • Shutting down the Telnet Server

Abnormal termination:

  • The telnet client program terminates abnormally
  • A broken network link

Top

Messages from the Telnet Server

 

The message:

Is displayed when..

All connections are in use

All the licensed connections are concurrently in use

Authentication is in progress…

The telnet Server receives the login information and is trying to authenticate.

Login incorrect, please try again

You type invalid user name or password

Login incorrect, Closing

You typed invalid login information 3 times in a row

Not authorized for this command

You try to execute an administrative command not from telnetd account

Timeout period expired

Either you didn't type in login information within the specified time period or your session was idle

Top

Trouble Shooting

Handling Problems

You may encounter a problem while using the GoodTech Telnet Server, especially if these are your first steps with the telnet server.

The best place to look for answers to questions/problems is this help. You can also try monitoring the log file. If you don't even get to the point that your telnet server is up and running and the log file does not exist yet, try our error messages list. If your error is listed on that list, you'll find the corresponding recommended course of action. And of course, as your last resort, you can always contact our technical support experts. Don't hesitate to contact us, your questions are welcomed. If you contact our technical support, please make sure you provide the following information:

  • Product Name
  • Version
  • What telnet client you are using
  • Problem/question description
  • Error message or error number (if applicable)
  • Telnet server log file (if applicable, attach the file to your email)

Top

Monitoring the Log File

The GoodTech Telnet service uses Log files to keep a record of everything it does. Most of the entries you'll find in the log files are informational or success messages. However, error messages are also written to the log files, and these are what you are looking for, when you are facing a problem.

Whenever an error occurs, the telnet server writes the error number into the log file. You can get the error number by searching the string "error no" in your log file. In case this string is found more than once, the first error message is the error you want to solve. In most cases, other errors are a result of the first one.

Top

Common Error List

The error messages you encounter as you start using GoodTech Telnet Server are most likely common errors that others encountered as well.

FAQ

Your initial questions are most likely FAQs and you could probably benefit from reading answers to questions that others have asked as well.

Top