From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Detachable shells in Emacs?
Date: Sun, 26 Aug 2012 02:05:02 +0200 [thread overview]
Message-ID: <87a9xiiklt.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: m2k3wmo7ow.fsf@gmail.com
Sean McAfee <eefacm@gmail.com> writes:
> What I'd like is to be able to detach the shell process running in the
> buffer, like the GNU screen program allows me to do, and resume it
> later. I tried the direct approach of simply running screen instead of
> bash in the shell buffer, but screen won't have that: it complains
> "Clear screen capability required" and exits immediately. I scanned the
> various options to screen to see if there was a way to invoke it in a
> relatively feature-free mode that doesn't support multiple concurrent
> windows, but didn't see anything relevant.
>
> I could run screen inside an Emacs terminal buffer, but I prefer
> shell-mode in general for various reasons.
>
> Does anyone have any thoughts? I feel I could probably contrive
> something useful with enough time, but I wanted to see if any
> approximately equivalent solutions already exist.
Do the reverse.
Run emacs inside screen, not screen inside emacs.
You can do it after the fact:
- launch screen,
- in screen, use emacsclient -t to open an emacs frame in screen,
- close the GUI emacs frames with C-x 5 0
- detach screen
- log out
then you can:
- log in
- screen -r -x
- M-x make-frame-on-display RET :0.0 RET
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
next prev parent reply other threads:[~2012-08-26 0:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-25 23:47 Detachable shells in Emacs? Sean McAfee
2012-08-26 0:05 ` Pascal J. Bourguignon [this message]
2012-09-07 20:04 ` Sean McAfee
2012-09-08 2:08 ` Neil T. Dantam
2012-09-14 0:56 ` Sean McAfee
2012-08-26 2:02 ` Stefan Monnier
2012-08-27 19:09 ` Neal Becker
[not found] ` <mailman.7694.1346094589.855.help-gnu-emacs@gnu.org>
2012-08-27 19:47 ` Lowell Gilbert
2012-09-09 16:06 ` David Combs
2012-09-11 17:56 ` Lowell Gilbert
2012-08-28 3:58 ` Barry Margolin
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9xiiklt.fsf@kuiper.lan.informatimago.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).