Compaq TCP/IP Services for OpenVMS
User's Guide


Previous Contents Index


DELETE_SESSION

Deletes an outbound TELNET pseudodevice (network terminal) created by the CREATE_SESSION command. If the device was not created with the CREATE_SESSION command, the command returns an error.

DCL Format

DELETE_SESSION unit


Parameters

unit

Required.

The decimal number specifying the unit number of the pseudodevice (TNx) to be deleted.


Example


TELNET> DELETE_SESSION 2 
      

Deletes the network terminal known as TNA2.


DISCONNECT

Terminates the current remote connection.

If you terminate a session with a remote OpenVMS host, the connection is closed by your local host. However, the process on the remote host is still running. To terminate it, enter a LOGOUT command.


DCL Format

DISCONNECT


UNIX Format

close


ENABLE (DISABLE) AUTOFLUSH

Enables or disables the automatic flushing of output when you send the interrupt character.

Default: ENABLE AUTOFLUSH


DCL Format

ENABLE AUTOFLUSH

DISABLE AUTOFLUSH


UNIX Format

toggle autoflush


ENABLE (DISABLE) AUTOSYNCH

Enables or disables the sending of the synchronization and interrupt characters in urgent mode.

Default: DISABLE AUTOSYNCH.


DCL Format

ENABLE AUTOSYNCH

DISABLE AUTOSYNCH


UNIX Format

toggle autosynch


ENABLE (DISABLE) BINARY

Enables or disables the transmission of data in binary mode.

Default: DISABLE BINARY


DCL Format

ENABLE BINARY

DISABLE BINARY


UNIX Format

toggle binary


ENABLE (DISABLE) CRLF

Enables or disables the sending of carriage returns as Return LF (the carriage return/line feed combination) at the end of each line.

Default: ENABLE CRLF


DCL Format

ENABLE CRLF

DISABLE CRLF


UNIX Format

toggle crlf


ENABLE (DISABLE) CRMOD

Enables or disables the mapping of received carriage returns. With this mapping, the remote host sends each line with Return LF (the carriage return/line feed combination) at the end of each line.

Default: DISABLE CRMOD


DCL Format

ENABLE CRMOD

DISABLE CRMOD


UNIX Format

toggle crmod


ENABLE (DISABLE) DEBUG

Enables or disables the display of data in hexadecimal.

Default: DISABLE DEBUG


DCL Format

ENABLE DEBUG

DISABLE DEBUG


UNIX Format

toggle netdata


Example


% [Ctrl/Z]  (characters not echoed) 
TELNET> enable debug [Return] 
TELNET> display [Return] 
   .
   .
   .
Will print network data flow in hexadecimal 
. 
. 
. 
TELNET>)resume [Return]
SEND [   0] D A 
RCVD [   0] D A 
RCVD [   0] 746E7069782E6C6B672E6465632E636F6D3E20 
% ls [Return] 
SEND [   0] 6C 
RCVD [   0] 6C l 
SEND [   0] 73 
RCVD [   0] 73 s 
SEND [   0] D A 
RCVD [   0] D A 
RCVD [   0] 62696E20202020202020... 
RCVD [  32] 7074 D A 
french.estud.oiseau     russian.estud.ptitsa     fences 
typescript     verio 
%
      

Escapes from a session with a UNIX host, enables debug mode, resumes the session, and asks for a list of files in the working directory. Both hexadecimal data and readable data are displayed.


ENABLE (DISABLE) LOCAL_CHARS

Enables or disables the translation of the following terminal control characters in to TELNET protocol sequences:

With local characters:

Default: DISABLE LOCAL_CHARS


DCL Format

ENABLE LOCAL_CHARS

DISABLE LOCAL_CHARS


UNIX Format

toggle localchars


ENABLE (DISABLE) OPTIONS_VIEW

Enables or disables the display of option negotiations between the local system and the remote host during the session.

Default: DISABLE OPTIONS_VIEW


DCL Format

ENABLE OPTIONS_VIEW

DISABLE OPTIONS_VIEW


UNIX Format

toggle options


EXIT

Closes any open sessions, exits from TELNET, and returns to the DCL prompt.

If you terminate a session with a remote OpenVMS host, the connection is closed by your local host. However, the process on the remote host is still running. To terminate it, enter the LOGOUT command.


DCL Format

EXIT


UNIX Format

quit


HELP

Displays online help for TELNET or TN3270 commands.

Format

HELP [ telnet_command ]


Parameters

telnet_command

Optional.

Specific DCL TELNET command about which you want information.


Examples

#1

TELNET> HELP CONNECT 
      

Provides information about the CONNECT command.

#2

TELNET> HELP OPEN 
      

Displays the message Sorry, no documentation on OPEN .

To get help for a command, enter the DCL command name.


RESUME

Resumes an open TELNET or TN3270 session that you interrupted with the escape sequence. When you run simultaneous multiple sessions (TELNET only):

DCL Format

RESUME [ session_number ] [Return]


UNIX Format

[Return]


Parameters

session_number

Optional. Default: the active session.

Use session_number when you run multiple TELNET sessions. It resumes the session with the specified number.


Examples

#1

$ [Ctrl/]] (characters not echoed)
TELNET> SHOW STATUS [Return] 
Session  1 Active  Host FINDER
   .
   .
   .
TELNET> RESUME [Return] 
$
 
      

This example:

#2

% [Ctrl/]] (characters not echoed)
TELNET> SHOW STATUS [Return] 
Session  2 Active  Host LUNA
   .
   .
   .
Session  1 Waiting Host SOLAR
TELNET> RESUME 1 [Return] 
%
 
      

This example:


SEND AO

SEND AO (Abort Output) aborts the output of the last remote command you entered, while the command continues to execute. If you issue another SEND AO, the output resumes if the command is still executing.

Use this command when the following conditions exist:


DCL Format

SEND AO


UNIX Format

send ao


Example


% cd /bin 
% ls -l 
total 3464
-rwxr-xr-x  2 root 32768 Oct 19  1996 STTY
-rwxr-xr-x  2 root  5120 Oct 19  1996 [Ctrl/]]  (characters not 
echoed) 
TELNET> SEND AO 
^O
%
      

During a directory listing, the TELNET escape sequence (not echoed to the screen) returns to TELNET prompt. The SEND AO command aborts the UNIX ls command.


SEND AYT

SEND AYT (Are You There) reports if you are still connected to an established connection.

DCL Format

SEND AYT


UNIX Format

send ayt


EXAMPLES

#1

$ [Ctrl/]]
TELNET> send ayt
%TELNET-I-SESSION, Session 01, host d45lt, port 23 
$ 
$:_TNA375: 13:53:18 (DCL) CPU=00:00:00.28 PF=448 IO=104 MEM=53 
$ 
  
 
      

VMS client to VMS server.

#2

% [Ctrl/]]
TELNET> send ayt
%TELNET-I-SESSION, Session 01, host LUNA, port 23 
% 
[YES] 
[Return]
%
      

VMS client to UNIX server.

#3

$ [Ctrl/]]
telnet> send ayt
 
$:_TNA37: 13:50:20 (DCL) CPU=00:00:00.12 PF=331 IO=98 MEM=66 
$
      

UNIX client to VMS server.

#4

% [Ctrl/]]
telnet> send ayt
 
[Yes] 
[Return]
%
      

UNIX client to UNIX server.


SEND BRK

SEND BRK (Break) terminates execution of the last command you entered at the remote host.

Use this command when the remote host does not recognize Ctrl/C as an interrupt character.


DCL Format

SEND BRK


UNIX Format

send brk


Example


% cd /bin 
% ls -1 
total 1464
-rwxr-xr-x  2 root 32768 Oct 19  1988 STTY
-rwxr-xr-x  2 root 5120  Oct 19  1988 [   
-rwxr-xr-x  1 root 45056 Oct 19  1988 adb
lrwxr-xr-x  1 root   13  Aug 21 17:41 ar -> ../usr/bin/ar
lrwxr-xr-x  1 root   13  Aug 21 17:41 as -> ../usr/bin/as
[Ctrl/]] (characters not echoed)
TELNET> SEND BRK 
 
      

This example does the following:


SEND EC

SEND EC (Erase Character) deletes the last character you typed at the remote host.

Use this command when the remote host does not recognize your Delete key.


DCL Format

SEND EC


UNIX Format

send ec


Example


% mail [Ctrl/]] (characters not echoed)
TELNET> SEND EC [Return]
Mail $Revision 4.2.4.2 $  Type ? for help.
"/usr/spool/mail/debts": 1 message 1 new
>N  1 debts  Tue Sep 15 13:39  8/161  "Team Building"
&
      

This example:


SEND EL

SEND EL (Erase Line) deletes the last line of text you entered on the remote host.

Use this command when the remote host does not recognize your Delete key or command-line recall.


DCL Format

SEND EL


UNIX Format

send el


Example


% mail [Ctrl/]]   (characters not echoed) 
TELNET> SEND EL [Return]
% Mail
Mail version 2.18 5/19/83.  Type ? for help.
"/usr/spool/mail/finder": 1 message 1 new
>N  1 finder  Tue Sep 15 13:39  8/161  "Getting Together"
&
 
      

This example:


SEND GA

SEND GA (Go Ahead) signals the remote host that your local system is ready.

Some applications require GA commands in either one or both directions. (Usually, Go Ahead is suppressed, so sending a GA has no effect.)


DCL Format

SEND GA


UNIX Format

send ga


SEND IP

SEND IP (Interrupt Program) interrupts the execution of the last command you entered on the remote host. The interrupt character clears the input and output paths to the remote host. The remote host interrupts the program that is processing. (This command has no effect in binary mode.)

Use this command if either your terminal or the remote host does not recognize the default interrupt character, Ctrl/C.


DCL Format

SEND IP


UNIX Format

send ip


SEND NOP

SEND NOP (No Operation) tells you whether your local host can send data to the remote host and the remote host can receive the data. If you:

DCL Format

SEND NOP


UNIX Format

send nop


Examples

#1

% [Ctrl/]] (characters not echoed)
TELNET> SEND NOP [Return] 
%TELNET-I-SESSION, Session 01, host nyx, port 23
      

No error message indicates the connection is active. (The information message also indicates the connection is active.)

#2

% [Ctrl/]] (characters not echoed)
TELNET> SEND NOP 
%TELNET-S-REMCLOSED, Remote connection closed 
-TELNET-I-SESSION, Session 01, host nyx, port 23 
TELNET>
      

Indicates your connection has been broken.


Previous Next Contents Index