From: joakim@verona.se
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Sam Steingold <sds@gnu.org>, emacs-devel@gnu.org
Subject: Re: tramp:sshx:(screen|tmux)
Date: Wed, 10 Sep 2014 16:12:58 +0200 [thread overview]
Message-ID: <m3oaunwolx.fsf@exodia.verona.se> (raw)
In-Reply-To: <87mwa7d1g6.fsf@gmx.de> (Michael Albinus's message of "Wed, 10 Sep 2014 15:55:53 +0200")
Michael Albinus <michael.albinus@gmx.de> writes:
> Sam Steingold <sds@gnu.org> writes:
>
>> Hi,
>
> Hi Sam,
>
>> I wonder if it is possible to add a "nohup/screen/tmux" method which
>> would create a remote screen/tmux session or reconnect to it if it
>> already exists.
>> The idea is that some interactions (e.g., an interactive R session) is
>> too expensive to restore after a crash caused by a disconnect.
>
> A while ago, I've played with mosh(*) as Tramp connection method. It is
> designed exactly for your case, supporting reconnection of lost
> sessions. I failed, because mosh is designed to draw on a screen, which
> is not what Tramp needs in a connection buffer.
>
> Your idea to reconnect to an existing screen / tmux session would suffer
> from the same problem I guess. At least I'm not aware how to support
> them in an Emacs buffer.
>
> (*): https://mosh.mit.edu/
>
>> Thanks.
>
> Best regards, Michael.
>
I have used dtach for this, albeit in a slightly different context.
Maybe dtach can be of use for tramp?
http://dtach.sourceforge.net/
--
Joakim Verona
next prev parent reply other threads:[~2014-09-10 14:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 18:38 tramp:sshx:(screen|tmux) Sam Steingold
2014-09-10 13:55 ` tramp:sshx:(screen|tmux) Michael Albinus
2014-09-10 14:12 ` joakim [this message]
2014-09-10 15:09 ` tramp:sshx:(screen|tmux) Sam Steingold
2014-09-10 18:06 ` tramp:sshx:(screen|tmux) Michael Albinus
2014-09-10 18:42 ` tramp:sshx:(screen|tmux) Stefan Monnier
2014-09-11 0:22 ` tramp:sshx:(screen|tmux) Svend Sorensen
2015-05-07 13:33 ` tramp:sshx:(screen|tmux) Sam Steingold
2014-09-10 15:06 ` tramp:sshx:(screen|tmux) Sam Steingold
2014-09-10 17:56 ` tramp:sshx:(screen|tmux) Michael Albinus
2014-09-10 18:37 ` tramp:sshx:(screen|tmux) Stefan Monnier
2014-09-11 19:41 ` tramp:sshx:(screen|tmux) David Caldwell
2014-09-11 20:26 ` tramp:sshx:(screen|tmux) 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3oaunwolx.fsf@exodia.verona.se \
--to=joakim@verona.se \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
--cc=sds@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.