VMS Help
TCPIP Services, TELNET, Command Syntax

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

    Use the following rules when you enter a TELNET command line.

    o  Command formats

       With the TELNET command and most of the commands at the TELNET
       prompt, you can use either DCL-style or UNIX style syntax. For
       example, the following two commands produce the same results:

       $ TELNET
       TELNET> SHOW PARAMETERS

       $ TELNET
       TELNET> DISPLAY

    o  Quotation marks

       No quotation marks are required for typing:

       o  The TELNET command line, for example:

          $ TELNET CENTRAL

       o  The TN3270 command line, for example:

          $ TN3270 CENTRAL

       o  Commands at the TELNET prompt, for example:

          TELNET> CONNECT CENTRAL

  1 - Example

    The following example connects to UNIX host migain and sets a
    terminal type with the /TERMINAL_TYPE qualifier. No quotation
    marks are needed to pass a terminal type to migain in lowercase,
    as demonstrated with the remote host's printenv command.

    $ TELNET MIGAIN /TERMINAL_TYPE=vt300
    %TELNET-I-Trying, Trying ...11.90.208.56
    %TELNET-I-SESSION, Session 01, host migain, port 23
    -TELNET-I-Escape, Escape character is '^]'

    Hello from UNIX host migain

    login: root
    Password:...
       .
       .
       .
    migain# printenv

    TERM=vt300
    HOME=/
    SHELL=/bin/csh
    USER=root
    PATH=/bin:/usr/bin:/usr/ucb:/etc:/usr/etc:.
    LOGNAME=root
    PWD=/
    migain#
  Close     HLB-list     TLB-list     Help  

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