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.
screenortmux?byobu.disowning the process you change its parent to init, after that you cannot "reattach" the process to other parent.reptyer(which looks like it needsscreenortmux, not sure though): github.com/nelhage/reptyr