telnet Top Level

telnet

  1. Quick and Concise Document

  2. Beginners

  3. Advanced

telnet QCD Help

 Command            Description
 -------            -----------

 telnet             Enter telnet command mode.

 telnet host.name   Communicate with host.name




telnet Beginner Help


The telnet command is used to communicate with another host using the
TELNET protocol.  If telnet is invoked without the host argument, it
enters command mode, indicated by its prompt (telnet>).  See "Advanced
Help" for a list of commands you can use with telnet while in command
mode.

telnet is a very simple program to use. To telnet to a particular site,
type:

   world%  telnet host.name

For Example:

        world% telnet csa.bu.edu

or (for someone outside of this system)

        % telnet world.std.com

You can only use telnet to log in to another machine on the Internet
if you have an account there, or if they are running a special service
that lets you log in as, say, "gopher".

telnet Advanced Help


The telnet command is used to communicate with another host using the
TELNET protocol.  If telnet is invoked without the host argument, it
enters command mode, indicated by its prompt (telnet>).  In this mode,
it accepts and executes the commands listed below.  If it is invoked
with arguments, it performs an open command (see below) with those
arguments.

     Options:

     -d      Sets the initial value of the debug toggle to TRUE.

     -n tracefile
             Opens tracefile for recording trace information.  See the set
             tracefile command below.

     -l user When connecting to the remote system, if the remote system
             understands the ENVIRON option, then user will be sent to the
             remote system as the value for the variable USER.  This option
             may also be used with the open command.

     -a      Auto-login. Same as specifying -l with your user name.  This
             option may also be used with the open command.

     -e escape-char
             Sets the initial telnet escape character to escape-char.  If
             escape-char is the null character (specified by "" or ''), then
             there will be no escape character.

     host    Indicates the official name, an alias, or the Internet address of
             a remote host.

     port    Indicates a port number (address of an application).  If a number
             is not specified, the default telnet port is used.



     While connected to a remote host, telnet command mode may be entered by
     typing the telnet "escape character" (initially "^]").  When in command
     mode, the normal terminal editing conventions are available.

     The following telnet commands are available.  Only enough of each command
     to uniquely identify it need be typed (this is also true for arguments to
     the mode, set, toggle, unset, slc, environ, and display commands).

     close
               Close a TELNET session and return to command mode.

     display [ argument... ]
               Displays all, or some, of the set and toggle values (see
               below).

     mode type
               Type is one of several options, depending on the state of the
               TELNET session.  The remote host is asked for permission to go
               into the requested mode.  If the remote host is capable of
               entering that mode, the requested mode will be entered.

               character
                    Disable the TELNET LINEMODE option, or, if the remote side
                    does not understand the LINEMODE option, then enter
                    "character at a time" mode.

               line
                    Enable the TELNET LINEMODE option, or, if the remote side
                    does not understand the LINEMODE option, then attempt to
                    enter "old-line-by-line" mode.

               isig (-isig)
                    Attempt to enable (disable) the TRAPSIG mode of the
                    LINEMODE option.  This requires that the LINEMODE option
                    be enabled.

               edit (-edit)
                    Attempt to enable (disable) the EDIT mode of the LINEMODE
                    option.  This requires that the LINEMODE option be
                    enabled.

               softtabs (-softtabs)
                    Attempt to enable (disable) the SOFT_TAB mode of the
                    LINEMODE option.  This requires that the LINEMODE option
                    be enabled.

               litecho (-litecho)
                    Attempt to enable (disable) the LIT_ECHO mode of the
                    LINEMODE option.  This requires that the LINEMODE option
                    be enabled.

               ?
                    Prints out help information for the mode command.

     open host [ [-l user | -a] [-]port ]
               Open a connection to the named host.  If no port number is
               specified, telnet will attempt to contact a TELNET server at
               the default port.  The host specification may be either a host
               name (see hosts(4)) or an Internet address specified in the
               "dot notation" (see inet(3N)).  The -l option may be used to
               specify the user name to be passed to the remote system via the
               ENVIRON option.  The -a option sends your user name to the
               remote system via the ENVIRON option.  When connecting to a
               non-standard port, telnet omits any automatic initiation of
               TELNET options.  When the port number is preceded by a minus
               sign, the initial option negotiation is done.  After
               establishing a connection, the .telnetrc in the user's home
               directory is opened.  Lines beginning with a # are comment
               lines.  Blank lines are ignored.  Lines that begin without
               whitespace are the start of a machine entry.  The first thing
               on the line is the name of the machine that is being connected
               to.  The rest of the line, and successive lines that begin with
               whitespace are assumed to be telnet commands and are processed
               as if they had been typed in manually to the telnet command
               prompt.

     quit
               Close any open TELNET session and exit telnet.  An end of file
               (in command mode) will also close a session and exit.

  


HOME Top of Help Desk Eye On The World  The World Kiosk


             For further assistance, please send an email 
                   request to support@world.std.com

        Copyright 1995 Software Tool & Die, Inc.  All Rights Reserved.

   Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146