all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Sam Steingold <sds@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: tramp:sshx:(screen|tmux)
Date: Wed, 10 Sep 2014 20:06:42 +0200	[thread overview]
Message-ID: <874mwfmjt9.fsf@gmx.de> (raw)
In-Reply-To: <m2bnqn1pie.fsf@gnu.org> (Sam Steingold's message of "Wed, 10 Sep 2014 11:09:13 -0400")

Sam Steingold <sds@gnu.org> writes:

>> *  <wbnxvz@ireban.fr> [2014-09-10 16:12:58 +0200]:
>> Michael Albinus <michael.albinus@gmx.de> writes:
>>> Sam Steingold <sds@gnu.org> writes:
>>>
>>>> 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.
>>>
>>> (*): https://mosh.mit.edu/
>>
>> I have used dtach for this, albeit in a slightly different context.
>> Maybe dtach can be of use for tramp?
>>
>> http://dtach.sourceforge.net/
>
> dtach looks like abandonware - no releases in 6 years.
> However, if it is small and simple enough, the emacs community might
> strip it down and take over it and ship it with emacs.

Well, looking at screen, tmux and dtach, the latter one looks like the
most promising one. The man page claims "it works best with full-screen
applications such as emacs" :-)

All of them need some book-keeping of available sessions. This is a task
which shall be done in general for Emacs (if we decide to use them). I
have no idea, whether there is already a common Emacs package dedicated
to this.

OTOH, I believe that mosh would be better suited, because it does not
need to know about pending sessions. A simple (re-)connect to the server
in question would do the job.

Best regards, Michael.



  reply	other threads:[~2014-09-10 18:06 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   ` tramp:sshx:(screen|tmux) joakim
2014-09-10 15:09     ` tramp:sshx:(screen|tmux) Sam Steingold
2014-09-10 18:06       ` Michael Albinus [this message]
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=874mwfmjt9.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --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.