Console Remote Access Clients > Console Telnet Client >

 

Console Telnet Client

 

 

The Pragma Console Telnet Client is one of the few commercial console telnet clients. It was created to replace the weak featured Windows telnet client. It is designed to run in any Windows operating system, including 64-bit platforms. It can be used to connect to any telnet server that support the telnet RFC standards.

It has many features that are proprietary when connecting to Pragma TelnetServer.

Usage

telnetc hostname [port] [/F filename] [/B seconds] [/T #] [/L filename] [/E] [/C printer] [/S] [/U user] [/D domain] [/G] [/M] [/R | /X] [/K] [/N] [/W] [/?]

Parameters

hostname

Host to connect to

/G

Gateway mode(useful when doing nested telnet sessions)

/M

Menu character to close gateway session Used only with /G option

port

Port to connect through

/B seconds

Request the server to send heartbeats to client to confirm connection still open

/C printer

Printer to redirect server print jobs to

/F filename

File to redirect as input to Telnet session

/T #

Timeout in seconds used to wait on Server when redirecting file as input

 /K

Keep pre-session screen - use this option to restore the console window to the non-telnet window.

/L filename

Log ASCII output to a log file

/E

Turn Local Echo on

/S

Do a Secure/Encrypted Logon (Only to Pragma TelnetServer)

/U username

User name to use for secure logon Only used with /S option

/D domain

NT Domain to use for secure logon Only used with /S option

/N

Request an encrypted session (Only to Pragma TelnetServer)

/X

for connection to UNIX server, treat LF as CR\LF

/R

for connection to some Mainframes, send only CR to host

/W

use Windows NTLM or Active Directory authentication

/?

display help file

These arguments can be changed from their default values, using the telnetc.ini file.

 

Key Features

Full keyboard and mouse support over telnet

International keyboard support over telnet. See Console Telnet Client Mouse Support for information on how to set this up.

Printing support through a telnet session 

See Printing Options for more information.

File transfer using ZModem transfer protocol
Begin file transfer on server side, then type CTRL-], to activate Console Client menu options. Choose the appropriate client side transfer procedure. When the transfer is complete the menu will display again to choose to exit the menu. A prompt for filename will be displayed, if the Send option is chosen.

Console Application

Pragma Console Telnet Client can be used within a telnet session, allowing the user to have nested telnet sessions. With Pragma TelnetServer, the client can be run in gateway mode, which will remove the nested telnet session not to do any interpretation, but strictly negotiate the connection, providing a more efficient session.

ANSI, VT100 and extended keys of VT420 emulation

Supports VT and ANSI emulations. When connected to Pragma TelnetServer, a proprietary emulation can be used, which provides a full key event to the server, allowing key modifiers to be passed to the server. See Console Telnet Client Mouse Support for information on how to set this up.

Full ANSI Color

User defined ALT key mapping
Using the telnetc.ini file, a user can map the ALT key to any key. The keywords ESC or CTRL can be added to another key to send a key combination. For example, ALT=CTRL-A will send the default key sequence for the Pragma TelnetServer. See more on telnetc.ini.

Automated Telnet sessions using scripts

The client will read the file given on the command line and redirect it to the telnet server. The script file follows a wait/send syntax, meaning that the script will define a phrase to look for and when found will respond with the designated response.

Designate a phrase to wait for with a WF: as the first 3 characters of the line.

To add comments, use a # as the first character of the line Empty lines are allowed.

Any line that has characters, and does not start with either the WF: or # will be sent to the server.

Special characters can be entered with the following:

\n - line feed
\r - carriage return
\t - tab
To send an empty line to the server enter the value \r\n.

 

Here is an example of a file for input:

#wait for username prompt
 WF: login name:

#send username
username

#wait for password prompt
WF: password:

#send password
password

#wait for domain prompt
domain:

#send empty line
\r\n

 #wait for command prompt
WF: >

#send command to run server side script
runscript

#wait for command prompt to return
WF: >

#exit
exit

Log telnet session output to a file

Log all output received by the server to a text file. This will include emulation sequences.

Terminal window resize during session

Terminal window can be resized dynamically by changing the size properties of the console window. Any fonts supported by the console can be chosen.

 

 

 

 

Copyright © 2023 Pragma Systems Inc