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: Tramp / process has died Date: Sun, 25 Nov 2007 11:44:20 +0100 Message-ID: <8763zqbo57.fsf@gmx.de> References: <639837CF-4C8B-4BDE-970C-3BF8DCACCF5C@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195987395 24691 80.91.229.12 (25 Nov 2007 10:43:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2007 10:43:15 +0000 (UTC) Cc: emacs-help gnu gnu To: david.reitter@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 25 11:43:22 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 1IwExN-0001rN-65 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Nov 2007 11:43:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwEx8-0006si-FV for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Nov 2007 05:43:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwEwr-0006rB-JQ for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 05:42:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwEwp-0006pO-VF for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 05:42:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwEwp-0006pG-Sq for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 05:42:47 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IwEwp-0004gF-Bc for help-gnu-emacs@gnu.org; Sun, 25 Nov 2007 05:42:47 -0500 Original-Received: (qmail invoked by alias); 25 Nov 2007 10:42:45 -0000 Original-Received: from p57A21EAA.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.30.170] by mail.gmx.net (mp039) with SMTP; 25 Nov 2007 11:42:45 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19h12E7iA1hQ47ubw8r/D3+eU1/HnWv2fwXC5j0GX EY1B+r/G+TCV/d In-Reply-To: <639837CF-4C8B-4BDE-970C-3BF8DCACCF5C@gmail.com> (David Reitter's message of "Sat, 24 Nov 2007 23:07:10 +0000") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:49497 Archived-At: David Reitter writes: > How can I make tramp reconnect automatically to its ssh connection > when it detects that the process "has died"? Which Tramp version do you use? The upcoming Tramp 2.1.12 has a new command `tramp-cleanup-connection', which you can call interactively. This is not "reconnect automatically", but it could be a starting point. I could also try to let it run in the background when it detects a broken connection. But this needs more sophisticated checks, in order not to run into an infinite loop. A sledge-hammer workaround, also applicable in Tramp 2.0, is to delete the Tramp connection buffer *tramp/ssh ...* > Thanks > - D Best regards, Michael.