From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ehud Karni" Newsgroups: gmane.emacs.help Subject: Re: File truncated at ^Z character in windows Date: Wed, 18 Feb 2004 10:26:06 +0200 Organization: Mivtach-Simon Insurance agencies Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200402180826.i1I8Q6kP008705@beta.mvs.co.il> References: <1438-Tue17Feb2004221318+0200-eliz@elta.co.il> Reply-To: ehud@unix.mvs.co.il NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8-i Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1077092976 8001 80.91.224.253 (18 Feb 2004 08:29:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2004 08:29:36 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 18 09:29:29 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtN5F-0007y0-00 for ; Wed, 18 Feb 2004 09:29:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AtN3J-0007DH-SM for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2004 03:27:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AtN2o-0007D7-Q8 for help-gnu-emacs@gnu.org; Wed, 18 Feb 2004 03:26:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AtN2I-0006qr-3B for help-gnu-emacs@gnu.org; Wed, 18 Feb 2004 03:26:57 -0500 Original-Received: from [192.114.178.12] (helo=unix.mvs.co.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AtN2H-0006qW-BU for help-gnu-emacs@gnu.org; Wed, 18 Feb 2004 03:26:25 -0500 Original-Received: from beta.mvs.co.il (beta [10.253.0.3]) by unix.mvs.co.il (8.12.10/8.12.10) with ESMTP id i1I8Q7DD021108 for ; Wed, 18 Feb 2004 10:26:07 +0200 Original-Received: from beta.mvs.co.il (localhost [127.0.0.1]) by beta.mvs.co.il (8.12.10/8.12.10) with ESMTP id i1I8Q7kg008709 for ; Wed, 18 Feb 2004 10:26:07 +0200 Original-Received: (from root@localhost) by beta.mvs.co.il (8.12.10/8.12.10/Submit) id i1I8Q6kP008705; Wed, 18 Feb 2004 10:26:06 +0200 Original-To: "Eli Zaretskii" , " John Russell" In-reply-to: <1438-Tue17Feb2004221318+0200-eliz@elta.co.il> (message from Eli Zaretskii on Tue, 17 Feb 2004 22:13:18 +0200) X-Mailer: Emacs 21.3.1 rmail (send-msg 1.108) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16960 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16960 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 17 Feb 2004 22:13:18 +0200, Eli Zaretskii wrote: > > > From: John Russell > > 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. - -- 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 http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D Better Safe Than Sorry -----BEGIN PGP SIGNATURE----- Comment: use http://www.keyserver.net/ to get my key (and others) iD8DBQFAMyGdLFvTvpjqOY0RAvnKAJ0fE0Im1u2jdYuXVfLiJX/Y0X30lwCfcIZ0 QHq11DqDKOBokIxd6C5Bbdk= =f9mi -----END PGP SIGNATURE-----