[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 10 Sep 2014 15:55:53 +0200
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
Sam Steingold <address@hidden> 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.
Best regards, Michael.