I have a background job, say jobid 1, in a tab of gnome terminal. Can I move it to a another tab of genome terminal?
I understand that the shell process in the first gnome terminal tab is the parent of the background process. So am I to change the parent/owner of the background process?
I guess that it is the same regardless of a process to be moved is running background or foreground?
Do I need some identifiers of the tabs of gnome terminal, tty things?
I don't really know how to do the above. Just some guessing.
screen
ortmux
? – muru Dec 03 '14 at 13:23byobu
. – muru Dec 03 '14 at 13:26disown
ing the process you change its parent to init, after that you cannot "reattach" the process to other parent. – jimmij Dec 03 '14 at 13:27reptyer
(which looks like it needsscreen
ortmux
, not sure though): https://github.com/nelhage/reptyr – muru Dec 03 '14 at 13:29screen
ortmux
to manage the "virtual" terminal. – wurtel Dec 03 '14 at 15:43