To use TELNET, enter the commands summarized below. For complete
descriptions (including UNIX equivalents) of each command, enter
the following command:
$ TELNET
TELNET> HELP
Command Description
Starting (at the DCL Prompt)
TELNET Invokes TELNET.
TELNET remote_host Invokes TELNET and establishes a connection
to a remote host.
TN3270 Invokes TELNET and TN3270.
TN3270 remote_host Invokes TELNET, runs TN3270, and
establishes a connection to a remote host.
Getting In and Out of Sessions
CONNECT Establishes a connection between the local
host and a remote host.
CREATE_SESSION Establishes a pseudo device and connects it
to a remote listener port.
DELETE_SESSION Deletes a pseudo device created by the
CREATE_SESSION command.
DISCONNECT Terminates your current session.
Ctrl/] Takes you from the remote host back to the
TELNET prompt.
EXIT Closes open connections and exits from
TELNET.
HELP Invokes online help.
RESUME Resumes an open connection.
SPAWN Suspends your TELNET session and takes you
to the DCL prompt.
Customizing the TELNET Environment
DISABLE AUTOFLUSH Disables the automatic flushing of output
when interrupt characters are sent.
DISABLE AUTOSYNCH Disables the automatic sending of interrupt
characters in urgent mode.
DISABLE BINARY Disables transmission in binary mode.
DISABLE CRLF Disables the sending of carriage returns as
Return LF.
DISABLE CRMOD Disables the mapping of received carriage
returns.
DISABLE DEBUG Disables the display of data flow
information in hexadecimal.
DISABLE Disables the interpretation of certain
LOCAL_CHARS control characters by your local TELNET
client and passes them to the remote TELNET
server.
DISABLE Disables the display of option negotiations
OPTIONS_VIEW between the client and server.
ENABLE AUTOFLUSH Enables the automatic flushing of output
when interrupt characters are sent.
ENABLE AUTOSYNCH Enables the automatic sending of interrupt
characters in urgent mode.
ENABLE BINARY Enables transmission in binary mode.
ENABLE CRLF Enables the sending of carriage returns as
Return LF.
ENABLE CRMOD Enables the mapping of received carriage
returns.
ENABLE DEBUG Enables the display of data flow
information in hexadecimal.
ENABLE LOCAL_CHARS Enables the interpretation of certain
control characters by your local TELNET
client and prohibits them from being passed
to the remote TELNET server.
ENABLE OPTIONS_VIEW Enables the display of option negotiations
between the client and server.
SHOW PARAMETERS Displays the current parameter settings.
SHOW SESSION Displays the current sessions.
SHOW STATUS Displays the current status.
SET ECHO Sets the echo character to the specified
character.
SET ERASE Sets the erase character to the specified
character.
SET ESCAPE Sets the escape character to the specified
character.
SET FLUSHOUTPUT Sets the flush output character to the
specified character.
SET INTERRUPT Sets the interrupt character to the
specified character.
SET KILL Sets the kill character to the specified
character.
SET MODE Sets the transmission mode to character or
line.
SET QUIT Sets the quit character (an alternate
interrupt character) to the specified
character.
SET TERMINAL Sets the terminal type to the specified
model.
Sending Commands to the Remote Host
SEND AO Sends the Abort Output command.
SEND AYT Sends the Are You There command, testing
the path to the remote application and
eliciting connection status information
from the remote host.
SEND BRK Sends the Break command.
SEND EC Sends the Erase Character command.
SEND EL Sends the Erase Line command.
SEND GA Sends the Go Ahead command.
SEND IP Sends the Interrupt character.
SEND NOP Sends the No Operation command to test
whether data can be sent to the remote
host, eliciting an error if the connection
is not open.
SEND SYNCH Sends the Synchronize character.