This one's going to be fun...
from NixCraft Facebook page
Quote
reptyr - A tool for "re-ptying" programs.
reptyr is a utility for taking an existing running program and attaching it to a new terminal. Started a long-running process over ssh, but have to leave and don't want to interrupt it? Just start a screen, use reptyr to grab it, and then kill the ssh session and head on home.
Home page: https://github.com/nelhage/reptyr

Blog post: https://blog.nelhage.com/2011/02/changing-ctty/

Blog post: https://blog.nelhage.com/2011/02/changing-ctty/
from NixCraft Facebook page







