unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Detachable shells in Emacs?
@ 2012-08-25 23:47 Sean McAfee
  2012-08-26  0:05 ` Pascal J. Bourguignon
  2012-08-26  2:02 ` Stefan Monnier
  0 siblings, 2 replies; 11+ messages in thread
From: Sean McAfee @ 2012-08-25 23:47 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-09-14  0:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-25 23:47 Detachable shells in Emacs? Sean McAfee
2012-08-26  0:05 ` 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

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