From: Svend Sorensen <svend@ciffer.net>
To: emacs-devel@gnu.org
Subject: Re: tramp:sshx:(screen|tmux)
Date: Wed, 10 Sep 2014 17:22:51 -0700 [thread overview]
Message-ID: <ruu61gvngys.fsf@svesorm0.corp.w3data.com> (raw)
In-Reply-To: m3oaunwolx.fsf@exodia.verona.se
joakim@verona.se writes:
> Michael Albinus <michael.albinus@gmx.de> writes:
>
> I have used dtach for this, albeit in a slightly different context.
> Maybe dtach can be of use for tramp?
I use the following function to start a remote shell running dtach.
(defun ssh-dtach (host)
"Open SSH connection to HOST and start dtach session."
(interactive (list (ssh-host-completing-read)))
(let ((explicit-shell-file-name "dtach")
(explicit-dtach-args '("-A" "/tmp/emacs.dtach" "-z"
"/bin/bash" "--noediting" "-login"))
(default-directory (format "/ssh:%s:" host)))
(shell (format "*ssh %s*" host))))
next prev parent reply other threads:[~2014-09-11 0:22 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 ` Svend Sorensen [this message]
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=ruu61gvngys.fsf@svesorm0.corp.w3data.com \
--to=svend@ciffer.net \
--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.