From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Integrate Tramp Date: Fri, 21 Jun 2002 16:23:04 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200206171631.g5HGVBM13861@aztec.santafe.edu> <200206190223.g5J2NlQ15963@aztec.santafe.edu> <200206201434.g5KEYru18709@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024669458 16854 127.0.0.1 (21 Jun 2002 14:24:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2002 14:24:18 +0000 (UTC) Cc: rms@gnu.org, miles@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17LPKk-0004Ni-00 for ; Fri, 21 Jun 2002 16:24:18 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17LPmw-0006ZK-00 for ; Fri, 21 Jun 2002 16:53:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17LPKm-0004ve-00; Fri, 21 Jun 2002 10:24:20 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17LPKB-0004si-00; Fri, 21 Jun 2002 10:23:43 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g5LENAb05702; Fri, 21 Jun 2002 16:23:10 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id QAA11566; Fri, 21 Jun 2002 16:23:04 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 4894F3B5E4; Fri, 21 Jun 2002 16:23:04 +0200 (CEST) Original-To: bob@rattlesnake.com In-Reply-To: ("Robert J. Chassell"'s message of "Fri, 21 Jun 2002 09:53:03 -0400 (EDT)") Original-Lines: 36 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5054 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5054 "Robert J. Chassell" writes: > There are two multi-hop methods: > > * `multi' -- base64 encoding with `mimencode' > > * `multiu' -- use commands `uuencode' and `uudecode' > > I am confused: how do I make a multi-hop that requires both? > In particular, I would like to make a two hop connection in which the > first hop uses `mimencode' and the second hop uses `uuencode' and > `uudecode' It not possible nor necessary to use a method that uses both. Tramp use a sequence of commands to get a shell on the remote host (on the final host). There, Tramp says "mimencode -b FILE". The result of this appears in the Emacs buffer that Tramp uses for the connection. Tramp then gets the characters from that buffer, runs them through base64 decoding internally, and puts the result in the buffer. If you hop via A and then B to C, Tramp does NOT transfer the file contents from C to B and then from B to A and from there to your local machine. Instead, the file contents go "directly" from C to your local machine. The only commands that are run on the intermediary hops are the commands to log in to the next hop. Once on the target machine, the intermediary hops are invisible. Does this explain the issue a little bit? (Of course, the manual needs to be improved to make it clear. Please keep your doc bug reports coming.) kai -- A large number of young women don't trust men with beards. (BFBS Radio)