reptyr
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.
Insanely useful. NB: though it’s being widely touted as a tool to use with screen, reptyr works well with tmux and, indeed, any terminal. So you can start up an application when you’re sitting in front of your computer, then use reptyr to grab it when you ssh in later.