Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!bbn!bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.unix.wizards Subject: Re: Proper way to detach from control terminal? Message-ID: <1430@papaya.bbn.com> Date: 28 Jan 89 16:18:30 GMT References: <5333@brspyr1.BRS.Com> <908@auspex.UUCP> Organization: BBN Systems and Technologies Corporation Lines: 19 I would like to know if there is a "proper" way to detach a process from its control terminal (once it has fork'ed and the parent has terminated). In <908@auspex.UUCP> guy@auspex.UUCP (Guy Harris) writes: Well, it depends on which flavor of UNIX you're using.... Dave Lennert (formerly of HP, now of Sequent - right, Dave?) wrote a fairly detailed paper on "how to write a daemon", going into details about these sorts of things on various UNIX flavors. I think it appeared in one of the UNIX magazines within the past few months. Dave's article (which is excellent!) appaeared in \fI;login:\fP the Usenix newsletter. Volume 12, number 4 (July/August 1987). Back issues might be available, contact uunet!usenix!office. /rich $alz -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.