/sys$common/syshlp/TCPIP$TELNET_HELP.HLB  —  SEND

1  –  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:

    o  The remote host does not recognize Ctrl/O as the flush output
       character.

    o  You want to terminate the output but not the execution of the
       process.

    DCL Format

      SEND AO

    UNIX Format

      send ao

1.1  –  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.

2  –  AYT

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

    DCL Format

      SEND AYT

    UNIX Format

      send ayt

2.1  –  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.

3  –  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

3.1  –  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:

      o  Enters the UNIX ls command.

      o  Enters the TELNET escape sequence.

      o  Enters the TELNET SEND BRK command, which terminates
         execution of ls at the remote host.

4  –  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

4.1  –  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:

      o  Misspells the UNIX mail command.

      o  Enters the TELNET escape sequence (not echoed to the screen)
         to return to the TELNET prompt.

      o  Enters the TELNET SEND EC command, which deletes the last
         character typed (l) and returns to the remote host.

5  –  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

5.1  –  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:

      o  Misspells the UNIX Mail command.

      o  Enters the TELNET SEND EL command, which deletes the
         incorrect line mail and returns you to the remote host.

      o  Enters the Mail command.

6  –  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

7  –  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

8  –  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:

    o  Get an %TELNET-E-INETERROR error message, there is a problem
       with the connection; the remote host is not able to receive
       data.

    o  Get an %TELNET-S-REMCLOSED status message, the connection with
       the remote host has been closed.

    o  Do not get an error message, the connection is active.

    DCL Format

      SEND NOP

    UNIX Format

      send nop

8.1  –  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.

9  –  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
Close Help