Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 16:58:59 -0600
From:      Daniel Thill <thill@umr.edu>
To:        Doug Fee <doug.fee@unisys.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SMBFS Unix to Windows End of Line Problem
Message-ID:  <20020102165859.A9722@umr.edu>
In-Reply-To: <3C338EC8.D20C9A67@unisys.com>; from doug.fee@unisys.com on Wed, Jan 02, 2002 at 04:50:48PM -0600
References:  <3C338EC8.D20C9A67@unisys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020102165859.A9722>