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:16:09 +0200 Message-ID: <87d44jz7ee.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 1255969659 26561 80.91.229.12 (19 Oct 2009 16:27:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 16:27:39 +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:29 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 1Mzv4u-0003ld-Ct for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 18:27:24 +0200 Original-Received: from localhost ([127.0.0.1]:35318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzv4t-0002Ta-NV for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 12:27:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mzv4p-0002TH-O0 for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mzv4l-0002NX-4e for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:19 -0400 Original-Received: from [199.232.76.173] (port=47954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzv4l-0002NO-1B for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52402) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mzv4k-0008Pg-GE for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2009 12:27:14 -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 n9JGRCsa004001; 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 n9JGP6wx003461; Mon, 19 Oct 2009 09:25:06 -0700 Resent-Date: Mon, 19 Oct 2009 09:25:06 -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:06 +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.12559689822531 (code B ref 4750); Mon, 19 Oct 2009 16:25:06 +0000 Original-Received: (at 4750) by emacsbugs.donarmstrong.com; 19 Oct 2009 16:16:22 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from gateway-b.fh-trier.de (gateway-b.fh-trier.de [143.93.54.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9JGGKn7002527 for <4750@emacsbugs.donarmstrong.com>; Mon, 19 Oct 2009 09:16:21 -0700 Original-Received: from raven (dslb-084-059-219-117.pools.arcor-ip.net [84.59.219.117]) (Authenticated sender: politza) by gateway-b.fh-trier.de (Postfix) with ESMTP id DED9617B44E; Mon, 19 Oct 2009 18:16:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1255968970; bh=HYCV5H+xlyvO4ML7MRKtQogpK2g=; h=From:To:Cc:Subject: References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; b=engFvU4T9ygAx9/esmKIrzic2d5QbMh3OnbYvap/ZbMG/LCQph05Bmx31zZBByvmj 0Ecufxk9Z2lNVdyPZaPOZ9rfor1E/tKF9yoTiN1gP/CdUpyahJ0TBtchLUacw/ZzXXI 7Jrp0sl9E02B+nzaYNr6spkzXYUtxuRJkJQJ7eo= 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:32104 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.