Fix detaching non-trivial processes
treee60587604c15c5c96d6b73208ebebc137ed7205f
-rw-r--r-- 24 .gitignore
-rw-r--r-- 18009 COPYING
-rw-r--r-- 330 Makefile
-rw-r--r-- 2227 attach.S
-rw-r--r-- 859 blindtty.c
-rwxr-xr-x 343 bytecode.pl
-rw-r--r-- 1871 detach.S
-rw-r--r-- 7553 retty.c
-rw-r--r-- 299 test.c