From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.bugs Subject: bug#4750: 23.1; copied files via dired/tramp/ssh garbled Date: Mon, 19 Oct 2009 18:18:41 +0200 Message-ID: <87bpk3z7a6.fsf@fh-trier.de> References: <878wf8a4zj.fsf@fh-trier.de> <87k4ysezr1.fsf@gmx.de> <87vdibtytp.fsf@fh-trier.de> Reply-To: Andreas Politz , 4750@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255969664 26572 80.91.229.12 (19 Oct 2009 16:27:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 16:27:44 +0000 (UTC) Cc: "4750@emacsbugs.donarmstrong.com" <4750@emacsbugs.donarmstrong.com> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 18:27:34 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mzv54-0003rg-4n for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 18:27:34 +0200 Original-Received: from localhost ([127.0.0.1]:35420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzv53-0002YC-ET for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 12:27:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mzv4q-0002TS-0f for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mzv4l-0002Nt-Bf for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:19 -0400 Original-Received: from [199.232.76.173] (port=47955 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzv4l-0002Nm-8K for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52401) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mzv4k-0008Pe-KD for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:15 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9JGRCsY004001; Mon, 19 Oct 2009 09:27:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9JGPBDk003617; Mon, 19 Oct 2009 09:25:11 -0700 Resent-Date: Mon, 19 Oct 2009 09:25:11 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Andreas Politz Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 19 Oct 2009 16:25:10 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4750 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4750-submit@emacsbugs.donarmstrong.com id=B4750.12559691292596 (code B ref 4750); Mon, 19 Oct 2009 16:25:10 +0000 Original-Received: (at 4750) by emacsbugs.donarmstrong.com; 19 Oct 2009 16:18:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from gateway-a.fh-trier.de (gateway-a.fh-trier.de [143.93.54.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9JGIlT9002593 for <4750@emacsbugs.donarmstrong.com>; Mon, 19 Oct 2009 09:18:49 -0700 Original-Received: from raven (dslb-084-059-219-117.pools.arcor-ip.net [84.59.219.117]) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTP id DCC313F2; Mon, 19 Oct 2009 18:18:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1255969122; bh=HYCV5H+xlyvO4ML7MRKtQogpK2g=; h=From:To:Cc:Subject: In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=bYbwlG5R0eHSJPFdfdQDQrsVYb2PeP9IZQZ5iWgMdYvAeggZmqgxtvg6zJltAYoQe ibg6jG0OVU235TGtzLqlcEGTwkn5pGPX9YhABiDtgKae5xwEjeXxGKLf7L9e2jmE8rr sKp4z/E3pGRHV1EJMUucNELseKqJ3NZQifSG2Dg= In-Reply-To: (Michael Albinus's message of "Mon, 19 Oct 2009 14:24:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum FH-Trier (r/ft)] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 19 Oct 2009 12:27:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32105 Archived-At: Michael Albinus writes: > Andreas Politz writes: > >>>> I open 2 dired buffers, one local, one remote via ssh. Marking a (any) >>>> file in the local buffer and pressing 'C RET' starts to copy it to the >>>> remote directory. >>>> >>>> Only a part of the file reaches it's destination. Neither dired nor >>>> tramp report any problems. >>> >> [...] >> Anyway here is the debug log. > > OK, the problem is clear I believe. > [...] > Your remote hosts runs AIX. Honestly, this is one of the systems we run > into trouble from time to time ... > [...] > ... there have been copied less bytes. > > There is a known bug in `process-send-string'. For some remote systems, > it doesn't send the whole string. You seem to suffer from this. > > You might try a workaround, using `tramp-chunksize'. Read the docstring > of that variable, in order to find a way how to set it for your case. The method described there finds no flaws, up to 5000 bytes anyway. Nevertheless I tested `tramp-chunksize' with some values (10,1000,4000,10000), but no change. It seems to constantly fail the very first time after a connection is established. > > Furthermore, I recommend you to set the variable `file-precious-flag' to > t. In the Tramp case, it adds additional checks, whether a file has been > written correctly. At least there will be no surprises anymore, thanks. A.Politz > > Best regards, Michael.