From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: NTEmacs + plink Date: Wed, 13 Jun 2007 12:50:16 +0200 Message-ID: References: <1179363834.155446.234830@q75g2000hsh.googlegroups.com> <20070610214402.GB21395@mail.potis.org> <20070611054613.GA22370@mail.potis.org> <87bqfleyhe.fsf@gmx.de> <20070612234431.GA26155@mail.potis.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181731839 1904 80.91.229.12 (13 Jun 2007 10:50:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 10:50:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: poti@potis.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 13 12:50:38 2007 Return-path: Envelope-to: geh-help-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 1HyQQw-0000IE-3T for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 12:50:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyQQv-0006gW-Og for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jun 2007 06:50:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyQQg-0006ff-7O for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 06:50:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyQQe-0006fT-Oa for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 06:50:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyQQe-0006fP-Hc for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 06:50:20 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HyQQd-0001Kf-OZ for help-gnu-emacs@gnu.org; Wed, 13 Jun 2007 06:50:20 -0400 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id l5DAoGIH024051; Wed, 13 Jun 2007 12:50:16 +0200 In-Reply-To: <20070612234431.GA26155@mail.potis.org> (poti@potis.org's message of "Tue, 12 Jun 2007 19:44:31 -0400") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45006 Archived-At: poti@potis.org writes: > However, I still cannot figure out multi hop. Using > /multi:plink:me@my.host.org#3322:me@host.org:/home/me/realfile.txt > gets as far as > Tramp: Found remote shell prompt on `plink' > and then hangs emacs hard-- the window does not redraw in Windows and I > must kill the process from task manager. That is Tramp 2.0 style. > Adding > (add-to-list 'tramp-default-proxies-alist > '("host\\.org#3322" nil "/plink:me@my.host.org#3322:")) > > (with or without the port numbers) to _emacs causes > /plink:me@host.org#3322:/home/me/realfile.txt > to get as far as > Tramp: Opening connection for me@host.org#3322 using plink > before hanging emacs in a similar way (waited more than 6 minutes to > be sure). That is Tramp 2.1. Which Tramp version are you using? I thought 2.1.9? > I have the following in _emacs, and the startup sequence echoes the load > command, so it is being read: > > (add-to-list 'load-path "C:/tramp/lisp") > (load "C:/tramp/lisp/tramp.el") > (setq tramp-default-method "plink") > > (nconc (cadr (assq 'tramp-login-args (assoc "plink" tramp-methods))) > '(("bash" "-i"))) > (setcdr (assq 'tramp-remote-sh (assoc "plink" tramp-methods)) > '("bash -i")) I don't know whether it is a good idea to set bash. Why do you need it? > (setq tramp-debug-buffer t) > (setq tramp-verbose 10) That's good. In the debug buffer, you might see what Tramp is doing. Al the chatting with the remote host. Did you check it? Otherwise, you could send the debug buffer for more investigations. > tram-bug reports this: > Emacs : GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) > of 2007-06-02 on RELEASE > Package: tramp (2.0.55) > but the files in C:/tramp are 2.1.9 I have the strong feeling that you have installed Tramp without calling ./configure ... > On Gentoo, using a suitably modified equivalent .emacs file, I first get > an error that trampver could not be loaded. In fact, this was not > created until I ran ./configure. Then I got the error Same as above. ./configure is a must. > Symbol's value as variable is void: tramp-gw-tunnel-method > this is true on OSX emacs 22.0.52.1 as well as Gentoo x86 Emacs 21.4.1. Yes, gateway methods work (as of today) only with Emacs 22.1. I didn't hide the respective variables properly, fixed in CVS meanwhile. But this is hopefully a warning only? Best regards, Michael.