From owner-freebsd-questions Wed Jan 2 14:59: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.umr.edu (mrelay1.cc.umr.edu [131.151.1.120]) by hub.freebsd.org (Postfix) with ESMTP id 3AADA37B41A for ; Wed, 2 Jan 2002 14:59:01 -0800 (PST) Received: from ultra15.cs.umr.edu (daemon@ultra15.cs.umr.edu [131.151.6.64]) via ESMTP by mrelay1.cc.umr.edu (8.12.1/) id g02Mx0OT009135; Wed, 2 Jan 2002 16:59:00 -0600 Received: (from thill@localhost) by ultra15.cs.umr.edu (8.12.1/8.12.0.Beta7) id g02Mwxxn010404; Wed, 2 Jan 2002 16:58:59 -0600 (CST) Date: Wed, 2 Jan 2002 16:58:59 -0600 From: Daniel Thill To: Doug Fee Cc: freebsd-questions@freebsd.org Subject: Re: SMBFS Unix to Windows End of Line Problem Message-ID: <20020102165859.A9722@umr.edu> References: <3C338EC8.D20C9A67@unisys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <3C338EC8.D20C9A67@unisys.com>; from doug.fee@unisys.com on Wed, Jan 02, 2002 at 04:50:48PM -0600 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 > SMBFS works great, however, I do have a problem which I cannot > figure out how to get around. Text files in Unix terminates the > line with just a linefeed whereas in Windows it terminates with a > carriage return and linefeed. So when I save a text file to a SMB > share and my coworker looks at it with his Windows box, he sees one > long record. Is there a way to get the carriage return in and out > of the file depending on where it is read/written to? Seeing how the text file is being stored on the unix machine, then I don't think there is a way, but I may be wrong. You might find it easiest to just find your co-worker a text editor that will automatically handle unix-type text files. The win32 port of Emacs comes to mind :) -dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message