From owner-freebsd-questions Thu Jan 3 8:22:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mw3.texas.net (mw3.texas.net [206.127.30.13]) by hub.freebsd.org (Postfix) with ESMTP id 490C437B41C for ; Thu, 3 Jan 2002 08:22:25 -0800 (PST) Received: from localhost.texas.net (tcnet26-006.austin.texas.net [209.99.98.6]) by mw3.texas.net (8.11.6/8.11.6) with ESMTP id g03GMMR00572; Thu, 3 Jan 2002 10:22:22 -0600 (CST) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3C338EC8.D20C9A67@unisys.com> Date: Thu, 03 Jan 2002 10:22:21 -0600 (CST) From: Don Read To: Doug Fee Subject: RE: SMBFS Unix to Windows End of Line Problem Cc: freebsd-questions@FreeBSD.ORG 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 02-Jan-2002 Doug Fee wrote: > 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? > > Any advise would be greatly appreciated. > The old Windows apps 'Write' or 'wordpad' or whatever they're calling it now days will handle LF terminated files. Regards, -- Don Read dread@texas.net -- It is necessary for me to learn from others' mistakes. I will not live long enough to make them all by myself. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message