Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!ukc!warwick!cudcv From: cudcv@warwick.ac.uk (Rob McMahon) Newsgroups: comp.mail.elm Subject: Re: newmail also displays on console (bug) Message-ID: <128@titania.warwick.ac.uk> Date: 25 Mar 89 13:51:34 GMT References: <316@wubios.wustl.edu> <890003@hpausla.HP.COM> Reply-To: cudcv@warwick.ac.uk (Rob McMahon) Organization: Computing Services, Warwick University, UK Lines: 13 In article <890003@hpausla.HP.COM> brianw@hpausla.HP.COM (Brian Wallis) writes: >I changed it so that the parent gets it's parent's pid and then the child >checks if it's parent's parent still exists using 'getpgrp2(pid)' which fails >if the process no longer exists or is not of the same uid. Hmm, except that the machines who can't just catch SIGHUP, those with job control, are mostly Berkeley based systems which don't have getpgrp2 ... Rob -- UUCP: ...!mcvax!ukc!warwick!cudcv PHONE: +44 203 523037 JANET: cudcv@uk.ac.warwick ARPA: cudcv@warwick.ac.uk Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England