Subject: misc/3656: Bugs in telnet.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msaitoh@spa.is.uec.ac.jp>
List: netbsd-bugs
Date: 05/21/1997 17:27:31
>Number:         3656
>Category:       misc
>Synopsis:       Bugs in telnet.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 21 01:35:01 1997
>Last-Modified:
>Originator:     SAITOH Masanobu
>Organization:
>Release:        latest -current
>Environment:
System: NetBSD ifree.spa.is.uec.ac.jp 1.2E NetBSD 1.2E (IFREE) #43: Mon May 19 11:16:13 JST 1997 msaitoh@ifree.spa.is.uec.ac.jp:/var/sources/src/sys/arch/i386/compile/IFREE i386


>Description:
	The telnet.1 has many bugs.

>How-To-Repeat:
	man telnet
>Fix:
	Apply following patch:

--- telnet.1.orig	Tue May 13 20:23:54 1997
+++ telnet.1	Wed May 21 17:24:10 1997
@@ -538,9 +538,8 @@
 .El
 .It Xo
 .Ic open Ar host
-.Oo Op Fl l
-.Ar user
-.Oc Ns Oo Fl
+.Op Fl l Ar user
+.Oo Op Fl
 .Ar port Oc
 .Xc
 Open a connection to the named host.
@@ -555,7 +554,7 @@
 or an Internet address specified in the \*(Lqdot notation\*(Rq (see
 .Xr inet 3 ) .
 The
-.Op Fl l
+.Fl l
 option may be used to specify the user name
 to be passed to the remote system via the
 .Ev ENVIRON
@@ -934,7 +933,9 @@
 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
+suspends the
+.Nm telnet
+command.  The initial state is to
 disable the rlogin escape character.
 .It Ic start
 If the
@@ -944,7 +945,7 @@
 be the terminal's
 .Ic start
 character.
-The initial value for the kill character is taken to be
+The initial value for the start character is taken to be
 the terminal's
 .Ic start
 character.
@@ -956,7 +957,7 @@
 be the terminal's
 .Ic stop
 character.
-The initial value for the kill character is taken to be
+The initial value for the stop character is taken to be
 the terminal's
 .Ic stop
 character.
@@ -1258,11 +1259,11 @@
 .Ic abort  ,
 and
 .Ic eof and
-.B suspend
+.Ic suspend
 are sent as
 .Ic eof and
-.Ic susp ,
-see
+.Ic susp
+(see
 .Ic send
 above).
 .It Ic netdata
@@ -1308,7 +1309,7 @@
 .Ic verbose_encrypt
 toggle is
 .Dv TRUE ,
-.Tn TELNET
+.Nm telnet
 prints out a message each time encryption is enabled or
 disabled.  The initial value for this toggle is
 .Dv FALSE.
@@ -1327,7 +1328,7 @@
 .It Ic \&! Op Ar command 
 Execute a single command in a subshell on the local
 system.  If
-.Ic command
+.Ar command
 is omitted, then an interactive
 subshell is invoked.
 .It Ic \&? Op Ar command 
>Audit-Trail:
>Unformatted: