[Top][All Lists]

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

Re: tramp:sshx:(screen|tmux)

From: joakim
Subject: Re: tramp:sshx:(screen|tmux)
Date: Wed, 10 Sep 2014 16:12:58 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

> 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.

I have used dtach for this, albeit in a slightly different context.
Maybe dtach can be of use for tramp?


Joakim Verona

reply via email to

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