From: Eli Zaretskii <eliz@elta.co.il>
Subject: Re: File truncated at ^Z character in windows
Date: 18 Feb 2004 12:51:50 +0200 [thread overview]
Message-ID: <ueksszmm1.fsf@elta.co.il> (raw)
In-Reply-To: <200402180826.i1I8Q6kP008705@beta.mvs.co.il> (ehud@unix.mvs.co.il)
> Date: Wed, 18 Feb 2004 10:26:06 +0200
> From: "Ehud Karni" <ehud@unix.mvs.co.il>
> >
> > 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.
I find it hard to believe, as you do, but given the information
presented in this thread, that was the only conclusion I could draw.
Perhaps we were not told all the facts.
> 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.
True, but the default on modern versions of Windows is binary.
> > 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.
I just tried COPY without any switches with both a .pdf file and a
.txt file, and got binary copies in both cases. That was on Windows
XP with cmd.exe as the shell (this is important since COPY is a
built-in shell command, so it could behave differently in different
shells).
next prev parent reply other threads:[~2004-02-18 10:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-13 21:03 File truncated at ^Z character in windows John Russell
2004-02-14 8:43 ` Alan Mackenzie
2004-02-17 19:17 ` John Russell
2004-02-14 11:52 ` Eli Zaretskii
[not found] ` <mailman.2383.1076759638.928.help-gnu-emacs@gnu.org>
2004-02-17 19:15 ` John Russell
2004-02-17 20:13 ` Eli Zaretskii
2004-02-18 8:26 ` Ehud Karni
2004-02-18 10:51 ` Eli Zaretskii [this message]
[not found] ` <mailman.2587.1077048825.928.help-gnu-emacs@gnu.org>
2004-02-18 10:14 ` Michael M Mason
2004-02-18 10:36 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ueksszmm1.fsf@elta.co.il \
--to=eliz@elta.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.