paperlined.org
dev
>
unix
document updated 14 years ago, on Sep 27, 2010
watching another TTY, but don't interact with it
snoop
ttysnoop
— attach a process running on another terminal
TTY hijacking
retty
— move a process to another terminal
ptrace-based methods
injcode
— move a process to another terminal (using ptrace and code-injection!)
Phrack article
http://www.ucc.asn.au/~dagobah/things/grab.c
a [MUCH] more advanced version of that!