From owner-freebsd-bugs Sun May 14 12:28:16 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA23803 for bugs-outgoing; Sun, 14 May 1995 12:28:16 -0700 Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id MAA23796 for ; Sun, 14 May 1995 12:28:15 -0700 Message-Id: <199505141928.MAA23796@freefall.cdrom.com> Received: by crh.cl.msu.edu (1.38.193.4/16.2) id AA21526; Sun, 14 May 1995 15:28:05 -0400 From: Charles Henrich Subject: Re: bin/396: telnetd problems fix. To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Sun, 14 May 1995 15:28:05 -0400 (EDT) Cc: henrich@crh.cl.msu.edu, freebsd-bugs@FreeBSD.org In-Reply-To: <199505140234.TAA01401@gndrsh.aac.dev.com> from "Rodney W. Grimes" at May 13, 95 07:34:45 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1620 Sender: bugs-owner@FreeBSD.org Precedence: bulk > Could you go do just the change that Terry Lambert suggested, test it out > for me and tell me if it fixes the problem. If it does we can send it out > for wide code review and commit it! No loss of LINEMODE, and no more > problem from broken 4.2BSD detection clients. Our supposition was wrong for FTP Software, apparently someone isnt doing the right thing with BINARY negotiation (My guess its FTP Software). This negotiation is only done when LINEMODE is compiled in, in termstat.c, if you disable that chunk of code all works well from everywhere. If someone could enlighten me as to why we do that BINARY negotiation I'd be greatful. Here is what the telnet option negotiation looks like between a PeeCee and FreeBSD: SEND RECV DO TTYPE DO TSPEED DO XDISPLOC DO NEW-ENV DO OLD-ENV WILL TTYPE WONT TSPEED WONT XDISPLOC WONT NEW-ENV WONT OLD-ENV SUB TERMINAL TYPE = VT100 (paraphrasing) WILL SUPRESS GO AHEAD DO LINEMODE DO ECHO DO NAWS WILL STATUS DO LFLOW DO SUPRESS GO AHEAD WONT LINEMODE WONT ECHO WONT NAWS WILL ECHO DO BINARY DONT STATUS WONT LFLOW DO ECHO WILL BINARY Any ideas on how to solve this mess? -Crh Charles Henrich Michigan State University henrich@crh.cl.msu.edu http://rs560.msu.edu/~henrich/