public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <michael@orlitzky.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I move running proces to background & out of screen?
Date: Tue, 01 Mar 2011 14:12:31 -0500	[thread overview]
Message-ID: <4D6D451F.6000503@orlitzky.com> (raw)
In-Reply-To: <4D6D4168.5010500@gmail.com>

On 03/01/11 13:56, Jarry wrote:
> Hi,
> is there any way to move running (already started) process
> to background, and disconnect it from screen/terminal
> so that I could log off (without terminating the process)?
> 
> Sometimes I start updating my server, but it keeps running
> for long time, and I would like to log out but I can not.
> 
> I know, I could have started it with:
> nohup emerge -uv gcc &
> 
> But I forgot to do it that way, and now I'm sitting, watching
> messages scrolling in my shell. So is there any way to do
> this nohup-trick on running process?
> 
> Jarry

See,


http://blog.nelhage.com/2011/01/reptyr-attach-a-running-process-to-a-new-terminal/

Combine with GNU Screen to achieve what you want.

(I'll do an ebuild for reptyr in the next week or so if nobody beats me
to it.)



  parent reply	other threads:[~2011-03-01 19:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 18:56 [gentoo-user] How can I move running proces to background & out of screen? Jarry
2011-03-01 19:06 ` Edward Martinez
2011-03-01 19:07 ` Helmut Jarausch
2011-03-01 19:12 ` Michael Orlitzky [this message]
2011-03-01 21:07   ` Neil Bothwick
2011-03-01 21:19     ` Michael Orlitzky
2011-03-02  6:21   ` Stroller
2011-03-02 20:44     ` Volker Armin Hemmann
2011-03-02 20:54       ` Alex Schuster
2011-03-01 19:22 ` [gentoo-user] " Nikos Chantziaras
2011-03-01 20:21 ` [gentoo-user] " Alex Schuster
2011-03-02 19:02   ` Daniel Heemann
2011-03-02 19:55     ` Alex Schuster
2011-03-02 22:50       ` Dale
2011-03-02 23:01         ` Alex Schuster
2011-03-03  0:48           ` Dale
2011-03-04  5:15             ` [gentoo-user] tmux first impression Walter Dnes
2011-03-04  5:53               ` Dale
2011-03-04 19:37                 ` Joshua Murphy
2011-03-06 11:37                 ` [gentoo-user] " Nuno J. Silva
2011-03-06 11:58                   ` Dale

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=4D6D451F.6000503@orlitzky.com \
    --to=michael@orlitzky.com \
    --cc=gentoo-user@lists.gentoo.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