From: Sean McAfee <eefacm@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Detachable shells in Emacs?
Date: Sat, 25 Aug 2012 16:47:27 -0700 [thread overview]
Message-ID: <m2k3wmo7ow.fsf@gmail.com> (raw)
At my workplace, I often invoke commands in my Emacs shell buffer that
take quite a long time to finish--sometimes quite a bit longer than I
originally expected. For example, on Friday afternoon I might find that
the command that's been running for an hour is going to continue for
several more. I'd like to head home for the day, but I'm interested in
all of the output, and I don't want to interrupt the program to start it
over, perhaps because it's making changes on a remote server and
interrupting it could leave things in a weird state.
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.
next reply other threads:[~2012-08-25 23:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-25 23:47 Sean McAfee [this message]
2012-08-26 0:05 ` Detachable shells in Emacs? Pascal J. Bourguignon
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=m2k3wmo7ow.fsf@gmail.com \
--to=eefacm@gmail.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).