From nobody  Sun Jun  8 00:13:55 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id AAA03995;
          Sun, 8 Jun 1997 00:13:55 -0700 (PDT)
Message-Id: <199706080713.AAA03995@hub.freebsd.org>
Date: Sun, 8 Jun 1997 00:13:55 -0700 (PDT)
From: mutoh@info.nara-k.ac.jp
To: freebsd-gnats-submit@freebsd.org
Subject: The manpage telnet.1 has many bugs.
X-Send-Pr-Version: www-1.0

>Number:         3808
>Category:       docs
>Synopsis:       The manpage telnet.1 has many bugs.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    steve
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun  8 00:20:02 PDT 1997
>Closed-Date:    Mon Nov 10 21:03:15 PST 1997
>Last-Modified:  Mon Nov 10 21:03:56 PST 1997
>Originator:     Takeshi MUTOH
>Release:        Freebsd 2.1.5R ,but manpage version is FreeBSD 2.2.2R
>Organization:
Nara National College of Technology
>Environment:
>Description:
The manpage telnet.1 has many problems.
>How-To-Repeat:
man telnet
>Fix:
Apply following patch:
*** telnet.1.org        Sun Jun  8 15:57:53 1997
--- telnet.1    Sun Jun  8 15:57:59 1997
***************
*** 125,137 ****
  Sets the initial value of the
  .Ic debug
  toggle to
! .Dv TRUE
  .It Fl e Ar escape char 
  Sets the initial
- .Nm
  .Nm telnet
  escape character to
! .Ar escape char.
  If
  .Ar escape char
  is omitted, then
--- 125,136 ----
  Sets the initial value of the
  .Ic debug
  toggle to
! .Dv TRUE .
  .It Fl e Ar escape char 
  Sets the initial
  .Nm telnet
  escape character to
! .Ar escape char .
  If
  .Ar escape char
  is omitted, then
***************
*** 144,151 ****
  If Kerberos authentication is being used, the
  .Fl k
  option requests that telnet obtain tickets for the remote host in
! realm realm instead of the remote host's realm, as determined
! by
  .Xr krb_realmofhost 3 .
  .It Fl l Ar user 
  When connecting to the remote system, if the remote system
--- 143,151 ----
  If Kerberos authentication is being used, the
  .Fl k
  option requests that telnet obtain tickets for the remote host in
! realm 
! .Ar realm
! instead of the remote host's realm, as determined by
  .Xr krb_realmofhost 3 .
  .It Fl l Ar user 
  When connecting to the remote system, if the remote system
***************
*** 172,178 ****
  .Xr rlogin 1 .
  In this
  mode, the escape character is set to the tilde (~) character,
! unless modified by the -e option.
  .It Fl x
  Turns on encryption of the data stream if possible.  This
  option is not available outside of the United States and
--- 172,180 ----
  .Xr rlogin 1 .
  In this
  mode, the escape character is set to the tilde (~) character,
! unless modified by the 
! .Fl e 
! option.
  .It Fl x
  Turns on encryption of the data stream if possible.  This
  option is not available outside of the United States and
***************
*** 252,258 ****
  is sent as a 
  .Dv TELNET ABORT
  instead of 
! .Dv BREAK
  There are options (see
  .Ic toggle
  .Ic autoflush
--- 254,260 ----
  is sent as a 
  .Dv TELNET ABORT
  instead of 
! .Dv BREAK .
  There are options (see
  .Ic toggle
  .Ic autoflush
***************
*** 331,337 ****
  .Dv TELNET ENCRYPT
  option is not supported outside of the United States and Canada.
  .Pp
! Valid arguments for the encrypt command are as follows:
  .Bl -tag -width Ar
  .It Ic disable Ar type Ic [input|output]
  Disables the specified type of encryption.  If you
--- 333,339 ----
  .Dv TELNET ENCRYPT
  option is not supported outside of the United States and Canada.
  .Pp
! Valid arguments for the encrypt command are:
  .Bl -tag -width Ar
  .It Ic disable Ar type Ic [input|output]
  Disables the specified type of encryption.  If you
***************
*** 388,394 ****
  The
  .Ic environ
  command is used to manipulate the
! the variables that my be sent through the
  .Dv TELNET ENVIRON
  option.
  The initial set of variables is taken from the users
--- 390,396 ----
  The
  .Ic environ
  command is used to manipulate the
! variables that my be sent through the
  .Dv TELNET ENVIRON
  option.
  The initial set of variables is taken from the users
***************
*** 404,410 ****
  or
  .Fl l
  options are used.
! .br
  Valid arguments for the
  .Ic environ
  command are:
--- 406,412 ----
  or
  .Fl l
  options are used.
! .Pp
  Valid arguments for the
  .Ic environ
  command are:
***************
*** 525,533 ****
  .El
  .It Xo
  .Ic open Ar host
! .Oo Op Fl l
! .Ar user
! .Oc Ns Oo Fl
  .Ar port Oc
  .Xc
  Open a connection to the named host.
--- 527,534 ----
  .El
  .It Xo
  .Ic open Ar host
! .Op Fl l Ar user
! .Oo Op Fl
  .Ar port Oc
  .Xc
  Open a connection to the named host.
***************
*** 542,548 ****
  or an Internet address specified in the \*(Lqdot notation\*(Rq (see
  .Xr inet 3 ) .
  The
! .Op Fl l
  option may be used to specify the user name
  to be passed to the remote system via the
  .Ev ENVIRON
--- 543,549 ----
  or an Internet address specified in the \*(Lqdot notation\*(Rq (see
  .Xr inet 3 ) .
  The
! .Fl l
  option may be used to specify the user name
  to be passed to the remote system via the
  .Ev ENVIRON
***************
*** 921,927 ****
  preceded by this character at the beginning of a line.
  This character, at the beginning of a line followed by
  a "."  closes the connection; when followed by a ^Z it
! suspends the telnet command.  The initial state is to
  disable the rlogin escape character.
  .It Ic start
  If the
--- 922,930 ----
  preceded by this character at the beginning of a line.
  This character, at the beginning of a line followed by
  a "."  closes the connection; when followed by a ^Z it
! suspends the
! .Nm telnet
! command.  The initial state is to
  disable the rlogin escape character.
  .It Ic start
  If the
***************
*** 931,937 ****
  be the terminal's
  .Ic start
  character.
! The initial value for the kill character is taken to be
  the terminal's
  .Ic start
  character.
--- 934,940 ----
  be the terminal's
  .Ic start
  character.
! The initial value for the start character is taken to be
  the terminal's
  .Ic start
  character.
***************
*** 943,949 ****
  be the terminal's
  .Ic stop
  character.
! The initial value for the kill character is taken to be
  the terminal's
  .Ic stop
  character.
--- 946,952 ----
  be the terminal's
  .Ic stop
  character.
! The initial value for the stop character is taken to be
  the terminal's
  .Ic stop
  character.
***************
*** 1124,1131 ****
  name are propagated through the
  .Dv TELNET ENVIRON
  option.
! This command is the same as specifying
! .Ar a
  option on the
  .Ic open
  command.
--- 1127,1134 ----
  name are propagated through the
  .Dv TELNET ENVIRON
  option.
! This command is the same as specifying the
! .Fl a
  option on the
  .Ic open
  command.
***************
*** 1245,1255 ****
  .Ic abort  ,
  and
  .Ic eof and
! .B suspend
  are sent as
  .Ic eof and
! .Ic susp ,
! see
  .Ic send
  above).
  .It Ic netdata
--- 1248,1258 ----
  .Ic abort  ,
  and
  .Ic eof and
! .Ic suspend
  are sent as
  .Ic eof and
! .Ic susp
! (see
  .Ic send
  above).
  .It Ic netdata
***************
*** 1295,1301 ****
  .Ic verbose_encrypt
  toggle is
  .Dv TRUE ,
! .Tn TELNET
  prints out a message each time encryption is enabled or
  disabled.  The initial value for this toggle is
  .Dv FALSE.
--- 1298,1304 ----
  .Ic verbose_encrypt
  toggle is
  .Dv TRUE ,
! .Nm telnet
  prints out a message each time encryption is enabled or
  disabled.  The initial value for this toggle is
  .Dv FALSE.
***************
*** 1314,1320 ****
  .It Ic \&! Op Ar command 
  Execute a single command in a subshell on the local
  system.  If
! .Ic command
  is omitted, then an interactive
  subshell is invoked.
  .It Ic \&? Op Ar command 
--- 1317,1323 ----
  .It Ic \&! Op Ar command 
  Execute a single command in a subshell on the local
  system.  If
! .Ar command
  is omitted, then an interactive
  subshell is invoked.
  .It Ic \&? Op Ar command 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Nov 10 21:03:15 PST 1997 
State-Changed-Why:  
Slightly modified patch applied to -current.  Thanks! 
>Unformatted:
