[comp.unix.questions] Detaching and reattaching to a tty

jgd@rsiatl.UUCP (John G. De Armond) (05/29/90)

Environment: Sys V r 2 & 3.  Assume no job control and no ptys.

I'm trying to solve what should be an easy problem that is to date eluding me.
I want to make a daemon out of a process (fork, exit parent, call setpgrp(), 
etc.) but at some point in time when interactive work is necessary, reattach 
to a designated tty.  Further assume that the tty has a shell open on it.
I've figured out how to do everything except make the shell dormant.  Any
brilliant ideas?

Direct Email appreciated.

Thanks,
John

-- 
John De Armond, WD4OQC  | We can no more blame our loss of freedom on congress
Radiation Systems, Inc. | than we can prostitution on pimps.  Both simply
Atlanta, Ga             | provide broker services for their customers.
{emory,uunet}!rsiatl!jgd|  - Dr. W Williams |                **I am the NRA**