A utility for (re)attaching a process to a terminal.