From: Sam Steingold <sds@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: tramp:sshx:(screen|tmux)
Date: Wed, 10 Sep 2014 11:06:53 -0400 [thread overview]
Message-ID: <m2ha0f1pma.fsf@gnu.org> (raw)
In-Reply-To: 87mwa7d1g6.fsf@gmx.de
Hi Michael,
> * Michael Albinus <zvpunry.nyovahf@tzk.qr> [2014-09-10 15:55:53 +0200]:
> 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.
>
> 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.
I am painfully aware of this problem :-(
This is way my code which I posted to the linked article on
StackOverflow passes "-c /dev/null" to screen and also runs it in emacs
terminal.
However, emacs is sufficiently heavy weight (socially) that you (as the
tramp maintainer) can ask the screen (and tmux and mosh) maintainers to
add the "-emacs" option which will disable all terminal drawing.
Thanks!
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://dhimmi.org http://mideasttruth.com
http://truepeace.org http://www.memritv.org http://ffii.org http://memri.org
A bullet affects the way the brain functions even when it hits the butt.
next prev parent reply other threads:[~2014-09-10 15: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 ` 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 ` Sam Steingold [this message]
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=m2ha0f1pma.fsf@gnu.org \
--to=sds@gnu.org \
--cc=emacs-devel@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.