koush/Superuser — pull request #183 by mkasick (2013-09-02 07:20:12+00:00)
Title: daemon: Send FDs over socket, reuse existing terminal.

Now sends remote file descriptors (stdin, etc.) across socket directly,
instead of pumping data through FIFOs.

Steals and reuses the existing terminal on stdin, if one exists, instead of
creating a new pty.

Warning: Reuse of existing terminal breaks job control in the caller shell.