From: Michael Albinus <michael.albinus@gmx.de>
To: david.reitter@gmail.com
Cc: emacs-help gnu gnu <help-gnu-emacs@gnu.org>
Subject: Re: Tramp / process has died
Date: Sun, 25 Nov 2007 11:44:20 +0100 [thread overview]
Message-ID: <8763zqbo57.fsf@gmx.de> (raw)
In-Reply-To: <639837CF-4C8B-4BDE-970C-3BF8DCACCF5C@gmail.com> (David Reitter's message of "Sat, 24 Nov 2007 23:07:10 +0000")
David Reitter <david.reitter@gmail.com> 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.
next prev parent reply other threads:[~2007-11-25 10:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-24 23:07 Tramp / process has died David Reitter
2007-11-25 10:44 ` Michael Albinus [this message]
2007-11-25 11:32 ` David Reitter
2007-11-25 13:50 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8763zqbo57.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=david.reitter@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).