VMS Help
TELNET

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Starts a TELNET session and does one of the following:

    o  Displays the TELNET prompt.

    o  Establishes a connection to a remote host.

    o  Establishes a connection to a remote host and runs TN3270.

    For help with individual TELNET commands, enter:

    $ TELNET
    TELNET> HELP

    DCL-Style Format

      TELNET  [ host ] qualifier(s)* [ port ] [unit ]

              *Choose from the following qualifiers:

              [ /BIND_SESSION network_device /PROTOCOL=protocol ]

              [ /CREATE_SESSION [ /[ NO ]TIMEOUT=option

              /PROTOCOL=option

              [ /DELETE_SESSION ]

              [ /LOG_FILE=file ]

              [ /NOINTERACTIVE ]

              [ /PORT=n ]

              [ /TERMINAL_TYPE=type ]

              [ /UNBIND_SESSION ]

    UNIX Style Format

      telnet  [ host ]

  1 - Parameters

 host

    Required with the /CREATE_SESSION qualifier; optional in all
    other cases. Default: None.

    Remote host to which you want to connect. Specify one of the
    following:

    o  Host name

    o  IP address

 port

    Required with the /CREATE_SESSION qualifier; ignored in all other
    cases. Default: None.

    Specifies the remote port to which you want to connect the
    pseudodevice.

 unit

    Required with the /DELETE_SESSION qualifier; optional with the
    /CREATE_SESSION qualifier; ignored in all other cases. Default:
    0.

    With the /CREATE_SESSION qualifier, specifies the unit number
    you want associated with the network terminal. The default of
    0 allows the TELNET software to select the next available unit
    number.

    With the /DELETE_SESSION qualifier, specifies the unit number of
    the network terminal you want to delete.

  2 - Qualifiers

 2.1 - /BIND_SESSION

       /BIND_SESSION network_device

    Optional. Default: None.

    Binds a TELNET terminal device to an existing network device. If
    the bind is successful, the DCL symbol $TELNET_DEVICE contains
    the TNA device name.

 2.2 - /CREATE_SESSION

    Optional. Default: None.

    Specifies that TELNET should create a pseudodevice (network
    terminal) and connect it to the specified remote port. For
    additional information, see the CREATE_SESSION command.

       /NOTIMEOUT
       /TIMEOUT=option

       Where option is:

          NOIDLE
          IDLE=delta_time_interval

          Specifies the delta time interval to wait with no activity
          before closing the connection. The general delta time
          format is HH:MM:SS:CC.

          NORECONNECT
          RECONNECT=delta_time_interval

          Specifies the delta time interval to wait before retrying
          a connect request. The general delta time format is
          HH:MM:SS:CC.

       /PROTOCOL=option
       Optional. Default: NONE.
       where option is:

       o  NONE

          Data is sent with no interpretation (raw).

       o  NVT

          Network Virtual Terminal (NVT), TELNET's internal
          representation of a standard network terminal. NVT format
          is standard 7-bit ASCII code transmitted in 8-bit octets,
          the canonical form of data representation used by both the
          client and server.

       o  TELNET

          Standard TELNET protocol.

       o  RLOGIN

          Standard RLOGIN protocol.

 2.3 - /DELETE_SESSION

    Optional. Default: None.

    Specifies that TELNET should delete the specified pseudodevice
    (network terminal). For additional information, see the DELETE_
    SESSION command.

 2.4 - /LOG_FILE

       /LOG_FILE=file

    Optional. Default: No logging.

    An optional log file that contains all session output. Using this
    option does not affect your terminal output. You cannot use this
    option for TN3270 sessions.

 2.5 - /NOINTERACTIVE

    Optional. Default: TELNET command mode.

    Disables the capability of using the escape character to leave
    a session and return to the TELNET prompt. This option is useful
    when the TELNET command is referenced in a command procedure in a
    captive account.

 2.6 - /PORT

       /PORT=n

    Optional. Default: 23.

    Remote port to which you want your TELNET process to connect.
    Specify only if you are connecting to a host that does not use
    the standard TELNET port.

 2.7 - /TERMINAL_TYPE

       /TERMINAL_TYPE=type

    Optional. Default: None.

    The IBM or DIGITAL terminal to emulate. Enter the full
    specification for one of these terminals:

    o  IBM-3278-2

    o  IBM-3278-3

    o  IBM-3278-4

    o  IBM-3278-5

    o  VT100

    o  VT200

    o  VT300

    o  VT400

    o  VT500

 2.8 - /UNBIND_SESSION

       /UNBIND_SESSION network_device terminal_device

    Optional.

    Unbinds a network device (BGx:) from a TELNET terminal device
    (TNAx:) that was initially bound by a BIND_SESSION command or
    qualifier.

  3 - Examples

    1.$ TELNET
      TELNET> ENABLE DEBUG
      TELNET> SET TERMINAL /DEVICE=VT300
      Terminal type is set to VT300
      TELNET> CONNECT DEBTS

      In this example, the TELNET command:

      o  Starts TELNET.

      o  Customizes the environment.

      o  Establishes a connection to host DEBTS and sets up the
         terminal type as VT300.

    2.$ TELNET MYCOM /TERMINAL_TYPE=IBM-3278-2

      Establishes a TELNET connection to remote host MYCOM and runs
      TN3270.

    3.$ TELNET 130.180.5.5

      Establishes a TELNET connection to the host at IP address
      130.180.5.5.

    4.$ TELNET UCOM 31

      Establishes a TELNET connection to remote host ucom at port 31.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.