ASCII files have CR's stripped with Win2000

Adam Lang aalang at rutgersinsurance.com
Tue May 8 01:06:38 GMT 2001


Correct.  Unix just uses LF whereas Windows uses CRLF.

MS Word picks it up fine... just Notepad (and I think Wordpad) drop the
ball.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "John Benedetto" <jbenedet at unm.edu>
To: <samba-ntdom at lists.samba.org>
Sent: Friday, May 04, 2001 5:45 PM
Subject: RE: ASCII files have CR's stripped with Win2000


> Okay... "moving" how?  FTP?  or as a shared drive?
>
> And, the files from the Unix side, that they are editing on the PC side,
> that is a normal occurance, isn't it?  If the file originated on the Unix
> side, the LF/CR problem will be there regardless, and is normal behavior,
> isn't it?
>
> --On Friday, May 04, 2001 8:57 AM -0500 "Wagner, Mike"
> <Mike.Wagner at am.wackergroup.com> wrote:
>
> > I am moving ASCII text configuration files (less than 10K of text) from
> > other unix machines and from WinNT4 machines to the Samba server and
then
> > using the Win2K machine to pick the file off the server.  The file once
> > picked up is all on one line.  Users are spending time going through the
> > files with a text editor and reinserting the <cr>'s.
> >
> > Mike
> >
> > -----Original Message-----
> > From: Adam Lang [SMTP:aalang at rutgersinsurance.com]
> > Sent: Friday, May 04, 2001 8:20 AM
> > To: samba-ntdom at lists.samba.org
> > Subject: Re: ASCII files have CR's stripped with Win2000
> >
> > When you say they are stripped, are you moving the text files to
> > samba and
> > then looking at them in unix or are you moving files to samba and
> > when you
> > open them in windows later, they are messed up?
> >
> > Adam Lang
> > Systems Engineer
> > Rutgers Casualty Insurance Company
> > http://www.rutgersinsurance.com
> > ----- Original Message -----
> > From: "Wagner, Mike" <Mike.Wagner at am.wackergroup.com>
> > To: <samba-ntdom at lists.samba.org>
> > Sent: Friday, May 04, 2001 9:02 AM
> > Subject: ASCII files have CR's stripped with Win2000
> >
> >
> > > Hello,
> > >
> > > I am running SAMBA 1.9.18 p10 on a SUN Ultra-1, SunOS 5.6 and see
> > the
> > > following problems:
> > >
> > > 1. When I use Windows 2000 (SR1) to transfer ASCII files to/from
> > my Samba
> > > UNIX file server, the carriage returns often get stripped.  This
> > is not a
> > > problem when using a Windows NT4 (SR5) PC.
> >
> >
> >
>





More information about the samba-ntdom mailing list