Re: [gentoo-user] How can I move running proces to background out of screen?
On Tuesday 01 March 2011 21:21:32 Alex Schuster wrote: Jarry writes: 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)? Ctrl-Z bg I think to be able to detach from the terminal w/o terminating the process you also need 'disown'. Regards
Re: [gentoo-user] How can I move running proces to background out of screen?
Daniel Heemann writes: On Tuesday 01 March 2011 21:21:32 Alex Schuster wrote: Jarry writes: 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)? Ctrl-Z bg I think to be able to detach from the terminal w/o terminating the process you also need 'disown'. You are right. I was not sure myself, so I did test this, but only with a 'sleep 60' command. It was still running when I closed the shell, so I thought this would work. But now I learnt this is not true for emerge. Does anyone know why? I agree with Stroller, tmux seems like the way to go. I do not use it (yet), because I already know screen, but it is on my to do list, after some postings here. Wonko
Re: [gentoo-user] How can I move running proces to background out of screen?
On Wednesday 02 March 2011 06:21:13 Stroller wrote: On 1/3/2011, at 7:12pm, Michael Orlitzky wrote: ... Combine with GNU Screen to achieve what you want. Not screen. He's never used screen before, therefore he has no reason not to use tmux. $ eix -I tmux [I] app-misc/tmux Available versions: 1.2 1.3 ~1.4 ** {debug vim-syntax} Installed versions: 1.3(18:51:19 10/08/10)(vim-syntax) Homepage:http://tmux.sourceforge.net Description: Terminal multiplexer $ tmux is better that screen in a variety of ways. Many of those ways are minor, however all together and in total they're significant enough. You may want to stay with screen if you have a highly-customised .screenrc and use many other machines on which you're unable to install tmux, but screen should not be recommended over tmux without a very good reason. Stroller. please elaborate
Re: [gentoo-user] How can I move running proces to background out of screen?
Am 02.03.2011 21:44, schrieb Volker Armin Hemmann: On Wednesday 02 March 2011 06:21:13 Stroller wrote: tmux is better that screen in a variety of ways. Many of those ways are minor, however all together and in total they're significant enough. You may want to stay with screen if you have a highly-customised .screenrc and use many other machines on which you're unable to install tmux, but screen should not be recommended over tmux without a very good reason. Stroller. please elaborate He already did: http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg107371.html I really have to give tmux a try. Wonko
Re: [gentoo-user] How can I move running proces to background out of screen?
Alex Schuster wrote: You are right. I was not sure myself, so I did test this, but only with a 'sleep 60' command. It was still running when I closed the shell, so I thought this would work. But now I learnt this is not true for emerge. Does anyone know why? I agree with Stroller, tmux seems like the way to go. I do not use it (yet), because I already know screen, but it is on my to do list, after some postings here. Wonko Do share. I use screen here to but plan to look into tmux. Right now, I have no clue what it even is. I'm going to install it when I finish the current download. Dale :-) :-)
Re: [gentoo-user] How can I move running proces to background out of screen?
Dale writes: Alex Schuster wrote: I agree with Stroller, tmux seems like the way to go. I do not use it (yet), because I already know screen, but it is on my to do list, after some postings here. Do share. I use screen here to but plan to look into tmux. Right now, I have no clue what it even is. I'm going to install it when I finish the current download. See Stroller's comprehensive posting: http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg107371.html Wonko
Re: [gentoo-user] How can I move running proces to background out of screen?
Alex Schuster wrote: See Stroller's comprehensive posting: http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg107371.html Wonko I read that but still would love to here of someone else's experience. From that link tho, it sounds . . . interesting. Dale :-) :-)
[gentoo-user] How can I move running proces to background out of screen?
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 -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] How can I move running proces to background out of screen?
On 03/01/11 10: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 Hi, If i can remember correctly I think the command would be : bg but i don't know the whole syntax.
Re: [gentoo-user] How can I move running proces to background out of screen?
On 03/01/2011 07:56:40 PM, 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? You might have a look at http://www.quantprinciple.com/invest/index.php/docs/tipsandtricks/unix/jobcontrol/ Helmut.
Re: [gentoo-user] How can I move running proces to background out of screen?
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.)
Re: [gentoo-user] How can I move running proces to background out of screen?
Jarry writes: 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)? Ctrl-Z bg But I really suggest using screen for this. Then you can detach the shell with Ctrl-A D, and re-attach later with screen -DR. Wonko
Re: [gentoo-user] How can I move running proces to background out of screen?
On Tue, 01 Mar 2011 14:12:31 -0500, Michael Orlitzky wrote: (I'll do an ebuild for reptyr in the next week or so if nobody beats me to it.) It looks like somebody already has :) % eix reptyr * app-misc/reptyr [1] Available versions: (~) Description: Reparent a running program to a new terminal [1] foo-overlay layman/foo-overlay -- Neil Bothwick New sig wanted good price paid. signature.asc Description: PGP signature
Re: [gentoo-user] How can I move running proces to background out of screen?
On 03/01/11 16:07, Neil Bothwick wrote: On Tue, 01 Mar 2011 14:12:31 -0500, Michael Orlitzky wrote: (I'll do an ebuild for reptyr in the next week or so if nobody beats me to it.) It looks like somebody already has :) % eix reptyr * app-misc/reptyr [1] Available versions: (~) Description: Reparent a running program to a new terminal [1] foo-overlay layman/foo-overlay (Does anyone commit to portage any more?) I didn't realize there was no release tagged. I'll ask the author if he would tag a version epsilon0 so that it's easier to keyword.
Re: [gentoo-user] How can I move running proces to background out of screen?
On 1/3/2011, at 7:12pm, Michael Orlitzky wrote: ... Combine with GNU Screen to achieve what you want. Not screen. He's never used screen before, therefore he has no reason not to use tmux. $ eix -I tmux [I] app-misc/tmux Available versions: 1.2 1.3 ~1.4 ** {debug vim-syntax} Installed versions: 1.3(18:51:19 10/08/10)(vim-syntax) Homepage:http://tmux.sourceforge.net Description: Terminal multiplexer $ tmux is better that screen in a variety of ways. Many of those ways are minor, however all together and in total they're significant enough. You may want to stay with screen if you have a highly-customised .screenrc and use many other machines on which you're unable to install tmux, but screen should not be recommended over tmux without a very good reason. Stroller.