From owner-freebsd-questions Wed Jan 2 17:46:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id 13EEF37B417 for ; Wed, 2 Jan 2002 17:46:06 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maile.telia.com (8.11.6/8.11.6) with ESMTP id g031k3A13365 for ; Thu, 3 Jan 2002 02:46:04 +0100 (CET) Received: from falcon.midgard.homeip.net (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id CAA05820 for ; Thu, 3 Jan 2002 02:46:03 +0100 (CET) Received: (qmail 2374 invoked by uid 1001); 3 Jan 2002 01:46:00 -0000 Date: Thu, 3 Jan 2002 02:46:00 +0100 From: Erik Trulsson To: Cliff Sarginson Cc: freebsd-questions@freebsd.org Subject: Re: SMBFS Unix to Windows End of Line Problem Message-ID: <20020103014600.GA2352@student.uu.se> Mail-Followup-To: Cliff Sarginson , freebsd-questions@freebsd.org References: <3C338EC8.D20C9A67@unisys.com> <3C33904B.1029227@T-Online.DE> <20020102234006.GA13841@raggedclown.net> <20020103000932.GA1577@student.uu.se> <20020103011140.GD13841@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020103011140.GD13841@raggedclown.net> User-Agent: Mutt/1.3.24i 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 Thu, Jan 03, 2002 at 02:11:40AM +0100, Cliff Sarginson wrote: > > Ok, your argument, while I don't completely disagree with it, may just > as well be applied to byte ordering, ebsdic, or whatever. Yes, and if I transfer a file from one system to another I normally expect it to not be changed or modified in any way by the transfer. > > There is an expectation that a text file looks like a line of text > as it would on a typewriter (quaint old Unixism). I would argue that > the point of cross-platform file sharing (and I mean plain-text) > should be completely transparent to the user. She should not have to > use a program for a file from one origin and another program for > a file from a different one. I agree with you on this, but IMO the level at which the translation should take place is in the texteditor rather than at the filesystem/network level. A texteditor that automatically treats any of , or as end-of-line markers would do this job just fine. > > Having thought about it though, I am not sure I can think of a foolproof > way of doing it. That is because there is no foolproof way of doing it. There are some fairly good ways but none that is totally foolproof. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message