From eyager@wolfden.novagate.com  Fri May 16 16:08:03 1997
Received: from wolfden.novagate.com (PM-130.Muskegon.novagate.net [205.138.137.62])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA25553
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 16 May 1997 16:07:57 -0700 (PDT)
Received: (from eyager@localhost) by wolfden.novagate.com (8.8.5/8.6.12) id TAA03858; Fri, 16 May 1997 19:06:54 -0400 (EDT)
Message-Id: <199705162306.TAA03858@wolfden.novagate.com>
Date: Fri, 16 May 1997 19:06:54 -0400 (EDT)
From: eyager@novagate.com
Reply-To: eyager@novagate.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Bug in telnet linemode
X-Send-Pr-Version: 3.2

>Number:         3608
>Category:       bin
>Synopsis:       Telnet in linemode will break apart long lines.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jkoshy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 16 16:10:01 PDT 1997
>Closed-Date:    Tue Aug 30 10:09:35 GMT 2005
>Last-Modified:  Tue Aug 30 10:09:35 GMT 2005
>Originator:     Eric Yagerlener
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
None
>Environment:

FreeBSD 2.2.1-RELEASE
PPP internet connection
MTU 1500

>Description:

When telnet is operating in the line mode, the maximum lenght of a line is
106 charecters.  Any part of a line longer than 106 charecters will be
sent as a different line.  This problem will be apparent on many MUD's
which require telnet to operate in linemode.  BSDi used to suffer the same
problem in the 2.0 release but was fixed in 2.1.  This problem is also
present in MUD clients from the ports collection.

>How-To-Repeat:

Connect to a MUD, such as sleepy.net port 5000, and key the following as 
one line....

The quick brown fox jumped over the lazy dog.  The quick brown fox jumped
over the lazy dog.  The quick brown fox jumped over the lazy dog.

This will interpret this as...

The quick brown fox jumped over the lazy dog.  The quick brown fox jumped
over the lazy dog.  The quick br
own fox jumped over the lazy dog.


>Fix:
	

>Release-Note:
>Audit-Trail:

From: <jkoshy@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/3608: Telnet in linemode will break apart long lines.
Date: Sun, 19 Aug 2001 23:54:05 -0700 (PDT)

 I'm unable to reproduce this bug in FreeBSD 4-STABLE as of May 2001.
 
 Here is what I did:
 
 1. Ran `telnetd' with the `-l' option.
 2. `telnet' localhost, completed the login
 3. [set telnet mode to LINE]
 4. setup a small shell loop to read one line at a time and log to a file
 5. typed in some long lines as given in this PR
 6. looked for odd output -- these was none
 
 It does appear that line mode is working correctly.  I'm unable to
 find the exact source change that fixed this bug from among the changes
 that happened since FreeBSD 2.2.1 days.
 
State-Changed-From-To: open->feedback 
State-Changed-By: jkoshy 
State-Changed-When: Mon Aug 20 00:00:47 PDT 2001 
State-Changed-Why:  
Can't reproduce with a recent release (4-STABLE). 


Responsible-Changed-From-To: freebsd-bugs->jkoshy 
Responsible-Changed-By: jkoshy 
Responsible-Changed-When: Mon Aug 20 00:00:47 PDT 2001 
Responsible-Changed-Why:  
I will track this PR. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3608 
State-Changed-From-To: feedback->closed 
State-Changed-By: matteo 
State-Changed-When: Tue Aug 30 10:09:15 GMT 2005 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=3608 
>Unformatted:
