Can you screen a running programme? [duplicate]
Possible Duplicate:
Can I nohup/screen an already-started process?
GNU screen is great for long running programmes. You can start your programme in it and disconnect and bring your laptop home.
However sometimes I start a programme outside screen and it takes longer than I want. I have no problem with pausing the programme using Control - Z etc., however I don't want to restart it cause then it'll take ages to run again. Is there some way I can move an existing running process into a screen session?
I think the answer is "no".
After having some horrible experiences with poor wireless connectivity and long-running processes, I reflexively run EVERYTHING in screen sessions now. My first command on connecting to a system is nearly always
$ screen -ADR
...and I go from there.