[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here HP TCP/IP Services for OpenVMS

HP TCP/IP Services for OpenVMS
User's Guide


Previous Contents Index


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:

  • The remote host does not recognize Ctrl/O as the flush output character.
  • You want to terminate the output but not the execution of the process.

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
$


      

OpenVMS client to OpenVMS server.

#2

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

OpenVMS 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 OpenVMS 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:

  • Enters the UNIX ls command.
  • Enters the TELNET escape sequence.
  • Enters the TELNET SEND BRK command, which terminates execution of ls at the remote host.

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:

  • Misspells the UNIX mail command.
  • Enters the TELNET escape sequence (not echoed to the screen) to return to the TELNET prompt.
  • Enters the TELNET SEND EC command, which deletes the last character typed (l) and returns to the remote host.

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:

  • Misspells the UNIX Mail command.
  • Enters the TELNET SEND EL command, which deletes the incorrect line mail and returns you to the remote host.
  • Enters the Mail command.

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:
  • Get an %TELNET-E-INETERROR error message, there is a problem with the connection; the remote host is not able to receive data.
  • Get an %TELNET-S-REMCLOSED status message, the connection with the remote host has been closed.
  • Do not get an error message, the connection is active.

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.


SEND SYNCH

The SEND SYNCH command clears the communications path between your local system and the remote host. The SYNCH is sent in urgent mode (out-of-band, OOB). As a result, the following actions occur:
  1. The local host immediately sends an interrupt character, placing it at the front of the data stream sent to the remote host.
  2. The remote host immediately processes the interrupt character, ignoring any incoming data not yet processed, and then including a TELNET synchronization or interrupt character in the data stream it sends back to the local host.
  3. The local host throws away all incoming data (rather than processing that data) until it detects the synchronization or interrupt character. This provides faster response time to the synchronization and interrupt characters.

DCL Format

SEND SYNCH


UNIX Format

send synch


SET ECHO

Sets the echo character.

Use this command if either your terminal or the remote system does not recognize the default echo character. Enter the following sequence of characters:

  1. Opening quotation marks
  2. A circumflex ( ^ )
  3. The new echo character
  4. Closing quotation marks

DCL Format

SET ECHO "^character"


UNIX Format

set echo "^character"


Parameters

"^character"

Required.

Character you want to use as the echo character.


Example


TELNET> SET ECHO "^m"
Echo character is '^M'.
      

Sets the echo control character to either m or M.


SET ERASE

Sets the erase character.

The erase character deletes, either locally or remotely, the last character in the type-ahead buffer. (This character has no effect in binary mode.)

Use this command if either your terminal or the remote system does not recognize the default erase character, the Delete key.

Enter the following sequence of characters:

  1. Opening quotation marks
  2. A circumflex ( ^ )
  3. The new erase character
  4. Closing quotation marks

DCL Format

SET ERASE "^character"


UNIX Format

set erase "^character"


Parameters

"^character"

Required.

Character you want to use as the erase character.


Example


TELNET> SET ERASE "^P"
Erase character is '^p'.
      

Sets the erase control character to either p or P.


SET ESCAPE

Sets the escape character.

The escape character returns you to the TELNET prompt. When you run multiple sessions, you can set different escape sequences for each connection.

Use this command if either your terminal or the remote system does not recognize the default escape character, Ctrl/]. Enter the following sequence of characters:

  1. Opening quotation marks
  2. A circumflex ( ^ )
  3. The new escape character
  4. Closing quotation marks

DCL Format

SET ESCAPE "^character"


UNIX Format

set escape "^character"


Parameters

"^character"

Required.

Character you want to use as the escape character.


Example


TELNET> SET ESCAPE "^P"
Escape character is '^p'.
      

Sets the escape control character to either p or P.


SET FLUSHOUTPUT

Sets the flush output character.

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

Enter the following sequence of characters:

  1. Opening quotation marks
  2. A circumflex ( ^ )
  3. The new flush output character
  4. Closing quotation marks

DCL Format

SET FLUSHOUTPUT "^character"


UNIX Format

set flushoutput "^character"


Parameters

"^character"

Required.

Character you want to use as the flush output character.


Example


TELNET> SET FLUSHOUTPUT "^P"
Flush output character is '^p'.
      

Sets the flush output control character to either p or P.


SET INTERRUPT

Sets the interrupt character.

The interrupt character clears the input and output paths to the remote host. The remote host interrupts the program that is processing. (This character 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.

Enter the following sequence of characters:

  1. Opening quotation marks
  2. A circumflex ( ^ )
  3. The new interrupt character
  4. Closing quotation marks

DCL Format

SET INTERRUPT "^character"


UNIX Format

set interrupt "^character"


Parameters

"^character"

Required.

Character you want to use as the interrupt character.


Example


TELNET> SET INTERRUPT "^a"
Interrupt character is '^A'.
      

Sets the interrupt control character to either a or A.


SET KILL

Sets the kill character.

The kill character discards, both locally and remotely, the entire type-ahead buffer. (This character has no effect in binary mode.)

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

Enter the following sequence of characters:

  1. Opening quotation marks
  2. A circumflex ( ^ )
  3. The new kill character
  4. Closing quotation marks

DCL Format

SET KILL "^character"


UNIX Format

set kill "^character"


Parameters

"^character"

Required.

Character you want to use as the kill character.


Example


TELNET> SET KILL "^q"
Kill character is '^Q'.
      

Sets the kill control character to either q or Q.


SET MODE

Sets the mode of transmission.

The mode of transmission can be either character mode or line mode. Character mode is the default. Use character mode when you run a character-processing text editor on the remote host. With character mode, your local system sends data a character at a time to the remote host with which you have a connected session, and the remote host echoes the characters back for display on your local system. (Sometimes several characters may be sent in a burst for performance optimization, in which case the remote server usually replies with bursts of characters, but not a line at a time.)

To use line mode, the remote host server must support line mode. The local host echoes characters. Line mode allows the following:

  • Signal trapping (such as for application programs on remote UNIX hosts that sense traps or special events)
  • Local character editing
  • Tab expansion (where a tab is more than simply the TAB character)

This command overrides the ENABLE LOCAL_CHARS command.

Before you enter this command, establish a remote connection.


DCL Format

SET MODE {CHAR | LINE}


UNIX Format

mode mode


Parameters

CHAR
LINE

Required.

Transmission mode you want to set. Specify either of the following:

  • CHAR --- Data is transmitted one character at a time.
  • LINE --- Data is transmitted one line at a time.

SET QUIT

Sets the quit character, an alternate interrupt character.

DCL Format

SET QUIT "^character"


UNIX Format

set quit "^character"


Parameters

"^character"

Required.

Character you want to use as the quit character.


Example


TELNET> SET QUIT "^i"
Quit character is '^I'.
      

Sets the alternate interrupt control character to either i or I.


SET TERMINAL

Sets the default terminal type for future TELNET or TN3270 connections.

Format

SET TERMINAL /DEVICE=type


Qualifiers

/DEVICE=type

Required.

Terminal model. Specify one of the following:

  • A terminal model.
  • An IBM terminal to emulate. Enter the full specification for one of the following:
    • IBM-3278-2
    • IBM-3278-3
    • IBM-3278-4
    • IBM-3278-5

Example


TELNET> SET TERMINAL/DEVICE=IBM-3278-2
Terminal type is set to IBM-3278-2
TELNET>
      

Runs TN3270. The terminal is emulating an IBM 3278-2 model terminal.


SHOW DEVICE

Displays status information about TELNET devices.

DCL Format

SHOW DEVICE

[ device_name ] [ /FULL ]


Parameters

device_name

Optional. TNA device name. For example, TNA245:.

Qualifiers

/FULL

Optional.

Shows detailed information about TNA devices on the local system.


EXAMPLES

#1

TELNET> SHOW DEVICE TNA281:
TNA281:  BG9526:  Temporary Local:  condor:23
                            Remote: freebid:1033

      

Displays status of a particular TNA device.

#2

TELNET> SHOW DEVICE

 (1)      (2)       (3)         (4)
TNA10:   BG495:   Temporary Local:   condor:23
                            Remote:  freebid:1059
TNA12:   BG658:   Temporary Local:   condor:23
                            Remote   pigdog:1455
TNA13:   BG671:   Temporary Local:   condor:23
                            Remote:  pigdog:1456
TNA35:   BG2993:  Temporary Local:   condor:23
                            Remote:  projector:1044
TNA37:   BG2999:  Temporary Local:   condor:23
                            Remote:  pigdog:1459
TNA38:   BG3000:  Temporary Local:   condor:23
                            Remote:  pigdog:1470
TNA47:   BG3393:  Temporary Local:   condor:23
                            Remote:  l-22-222-37.*.com:1069
TNA58:   BG3866:  Temporary Local:   condor:23
                            Remote:  pcruth.mel.dec.com:1043
TNA59:   BG3878:  Temporary Local:   condor:23
                            Remote:  lexser13.lex.dec.com:1090
TNA60:   BG3910:  Temporary Local:   condor:23
                            Remote:  l-20-244-54.*.com:1635
TNA61:   BG3932:  Temporary Local:   condor:23
                            Remote:  lexser3.lex.dec.com:1093
TNA62:   BG3933:  Temporary Local:   condor:23
                            Remote:  tcpipa:1801
TNA63:            Temporary

      

Displays status of all TNA devices on the local system. Command output includes:


Previous Next Contents Index