From owner-freebsd-questions Sun Nov 4 19:13:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail7.nc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id AD1A037B417 for ; Sun, 4 Nov 2001 19:13:06 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sun, 4 Nov 2001 22:13:05 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: "Siegbert Baude" , "Ryan Thompson" Subject: Re: ^M on end of lines Date: Sun, 4 Nov 2001 22:12:28 -0500 X-Mailer: KMail [version 1.2] Cc: "David Loszewski" , References: <015c01c16552$bd70e260$4011a8c0@wohnheim.uniulm.de> In-Reply-To: <015c01c16552$bd70e260$4011a8c0@wohnheim.uniulm.de> MIME-Version: 1.0 Message-Id: <01110422122801.03811@i8k.babbleon.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 04 November 2001 12:04, Siegbert Baude wrote: > > Actually, what ASCII mode is supposed to do, is, when transferring > > text > > > files, convert to the platform specific text format. (Which really > > means > > > the receiver strips or adds the ^M). This instruction is actually in > > our > > > training manual for new employees developing code on Windows machines > > who > > > need to transfer via FTP. USE ASCII MODE FOR ASCII FILES. :-) > > As Real Programmers(tm) know all ASCII codes OR EBCDIC, you see that ftp > text mode must do more than only strip or attach ^m. Translation to > non-ASCII encodings like EBCDIC are also in the game. Yes, but I believe that text mode works by translating native to "canonical" on one end and "canonical" to native on the other end. Canonical is definately ASCII; not sure if it's \n or \r\n. OTOH, another person says I'm wrong about that and I haven't verified so perhaps he's right; sure seems screwy for it to work any other way, though. > > Ciao > Siegbert -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org -------> Free Dmitry Sklyarov! (let him go home) <----------- http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message