Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!csd4.milw.wisc.edu!bionet!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!ndosl!fdmetd!steinar From: steinar@fdmetd.uucp (Steinar Overbeck Cook) Newsgroups: comp.unix.wizards Subject: Re: Proper way to detach from control terminal? Summary: The answer can be found in UnixWorld Keywords: detach control-terminal setpgrp Message-ID: <343@fdmetd.uucp> Date: 30 Jan 89 11:26:29 GMT References: <5333@brspyr1.BRS.Com> Organization: Fellesdata a.s, Oslo, Norway Lines: 21 In article <5333@brspyr1.BRS.Com>, tim@brspyr1.BRS.Com (Tim Northrup) writes: > 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). .......... There is an excelent article about this in the December issue of UnixWorld. The article is named "How to write UNIX deamons", the author of the article is Dave Lennert. ------------- Steinar Overbeck Cook Fellesdata a.s P.O. Box 248 0212 OSLO 2 NORWAY Phone : +47 2 52 80 80 Fax : +47 2 52 85 10 E-mail : ...!mcvax!ndosl!fdmetd!steinar or steinar@fdmetd.uucp