From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b0c98bf4d83474e X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-06-11 08:14:16 PST Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!cs.berkeley.edu!jtkohl From: jtkohl@cs.Berkeley.EDU (John T Kohl) Newsgroups: comp.sys.dec Subject: Re: Binary xfers over telnet to Xyplex server? Date: 11 Jun 1992 21:07:38 GMT Organization: University of California, Berkeley Message-ID: <118faqINN1cs@agate.berkeley.edu> References: NNTP-Posting-Host: stinson.cs.berkeley.edu In-reply-to: trussell@odin.unomaha.edu's message of Thu, 11 Jun 1992 17:12:25 GMT I recently poked through ULTRIX telnetd sources; their binary mode is flawed and does not properly deal with raw carriage returns. If your binary sender includes something like "foobar\rquux", the receiver will see "foobar\r\0quux". With source, the fix is obvious (test for binary mode in the code doing that conversion on the outgoing side). Alternatively you can take a more recent telnetd (say, BSD net 2) and use that. [I have reported this bug to DEC] -- John Kohl UC Berkeley CS grad student Member of the League for Programming Freedom--details: league@prep.ai.mit.edu (The above opinions are MINE. Don't put my words in somebody else's mouth!)