[comp.protocols.tcp-ip] Telnet Negotiations?

rod@ldc-net.uucp (0000-Rod Merry(0000)) (11/14/89)

Can someone tell me if the bsd 4.3 Telnet server puts the ptty in
8 bit raw mode when a client negotiates for binary mode.  We have one
vendor who goes to 8 bit cooked and another who goes to 8 bit raw.
Both say they do the same thing as 4.3 does, who is right?

Thanks in advance.

rod

-- 
--------------------------------------------------------------------
Rod Merry                          Email: uunet!ldc-net!rod
Lee Data		           Phone: 612-828-0323		

minshall@kinetics.com (Greg Minshall) (11/29/89)

In article <1989Nov13.220410.24388@ldc-net.uucp> rod@ldc-net.UUCP (Rod Merry) writes:
>Can someone tell me if the bsd 4.3 Telnet server puts the ptty in
>8 bit raw mode when a client negotiates for binary mode.  We have one
>vendor who goes to 8 bit cooked and another who goes to 8 bit raw.
>Both say they do the same thing as 4.3 does, who is right?

Yes, well.  I'm fairly sure that the released 4.3 (and 4.3tahoe) versions
of the telnet server put the tty in raw mode (or some such thing) when
going into binary mode.  So, vendor X is right in that they are doing
what 4.3 does.

However, that is the wrong thing to do (I sort of wrote that code, or at
least was responsible for it at the 4.3 time).

Dave Borman's newest telnet server (I'm pretty sure) fixes this bug.  This
version is available from arpa.berkeley.edu in the pub directory (along with
client telnet).  This version runs on 4.3.  So, vendor Y is right in that they
are doing what 4.3 does.

Greg Minshall			Novell, Inc.
minshall@kinetics.com		1-415-947-0998