Detaching and reattaching to a tty

John G. De Armond jgd at rsiatl.UUCP
Wed May 30 01:52:33 AEST 1990


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**  



More information about the Comp.unix.questions mailing list