From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: tramp does not work when using athena Date: Mon, 18 Jul 2011 22:50:25 +0200 Message-ID: <87hb6j1ffy.fsf@gmx.de> References: <87d3i44w8a.fsf@muni.brainbot.com> <87liwsof3a.fsf@gmx.de> <87d3i4b7to.fsf@brainbot.com> <87sjqx834y.fsf@gmx.de> <878vsnzo42.fsf@muni.brainbot.com> <87vcvry915.fsf@muni.brainbot.com> <4E08E971.3080800@swipnet.se> <87y60n574b.fsf@gmx.de> <87vcv2feou.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311022264 17260 80.91.229.12 (18 Jul 2011 20:51:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 20:51:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 18 22:50:59 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QiumJ-0004ei-DG for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 22:50:59 +0200 Original-Received: from localhost ([::1]:44558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiumH-0003ng-Cb for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 16:50:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qiulv-0003nC-J5 for emacs-devel@gnu.org; Mon, 18 Jul 2011 16:50:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qiulr-0005GT-Jx for emacs-devel@gnu.org; Mon, 18 Jul 2011 16:50:35 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:39014) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qiulr-0005G1-0D for emacs-devel@gnu.org; Mon, 18 Jul 2011 16:50:31 -0400 Original-Received: (qmail invoked by alias); 18 Jul 2011 20:50:27 -0000 Original-Received: from p57BB9824.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.152.36] by mail.gmx.net (mp054) with SMTP; 18 Jul 2011 22:50:27 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+pWdgfzs+pvTj+y6mrVepK4sPmNogkVPyCfHWmw5 UzChKjvlliGw0a In-Reply-To: <87vcv2feou.fsf@engster.org> (David Engster's message of "Sat, 16 Jul 2011 17:06:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142137 Archived-At: David Engster writes: > Hi Michael, Hi David, > are there any news on that front? I'm afraid I'm struggling with the > same problem on GNU/Linux with a Lucid-build. While using 'sshx' works > in principal, it fails to use a shared ssh connection, which is pretty > important for me when using Tramp in eshell, otherwise it's just too > slow. (Emacs/GTK works fine, though.) Looks to me like you need a combination of scpc and sshx. Hmm, that's a problem, Tramp does not support to combine methods. What about creating your own method? Something like this in your .emacs: (add-to-list 'tramp-methods '("myssh" (tramp-login-program "ssh") (tramp-login-args (("-l" "%u") ("-p" "%p") ("-o" "ControlPath=%t.%%r@%%h:%%p") ("-o" "ControlMaster=yes") ("-e" "none") ("-t" "-t") ("%h") ("/bin/sh"))) (tramp-async-args (("-q"))) (tramp-remote-sh "/bin/sh") (tramp-default-port 22))) > -David Best regards, Michael.