emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp:sshx:(screen|tmux)


From: Michael Albinus
Subject: Re: tramp:sshx:(screen|tmux)
Date: Wed, 10 Sep 2014 15:55:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Sam Steingold <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]