Is it possible to have a already started program move to screen/tmux? I'd like to have something like the following:
program;
^Z
screen;
fg;
I know the above won't work, but is there a way to accomplish this?
Is it possible to have a already started program move to screen/tmux? I'd like to have something like the following:
program;
^Z
screen;
fg;
I know the above won't work, but is there a way to accomplish this?
The problem is under no circumstances simple to solve, but have a look at reptyr. It can sometimes help you, especially if you don't care about noise printed in the original terminal & c. You'll might have to compile it yourself, although some distros, Gentoo for instance, package it.