[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File truncated at ^Z character in windows

From: Ehud Karni
Subject: Re: File truncated at ^Z character in windows
Date: Wed, 18 Feb 2004 10:26:06 +0200

Hash: SHA1

On Tue, 17 Feb 2004 22:13:18 +0200, Eli Zaretskii <address@hidden> wrote:
> > From: John Russell <jorussel AT>
> > Date: 17 Feb 2004 14:15:12 -0500
> >
> > I copied the offending file from a samba share on my linux machine
> > over to the windows machine.  I didn't open it or edit it with any
> > editor until NTEmacs opened it.
> So it sounds like samba did this.

I don't think it is a samba problem. We employ a samba (on GNU/Linux)
with a share of over 50GB and about 200 M$Windows users. It is working
over 3 years and no one reported any such problem.

- From my experience it work just like any M$Windows share.

The only way it can happen is if the copy was a TEXT copy (i.e. not
binary).  The M$Windows `copy' has switches that control its mode:
  /A           Indicates an ASCII text file.
  /B           Indicates a binary file.

> Anyway, the advice to move the files in an archive, like a tar.gz
> file, is still valid, I think.

I think that is because the M$Windows `copy' select the mode (text/
binary) according to the file extension if not specified explicitly.


- --
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <>    Better Safe Than Sorry
Comment: use to get my key (and others)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]