Xref: utzoo comp.unix.questions:30672 comp.unix.programmer:1649 comp.unix.shell:2001 comp.unix.misc:1341 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!news.miami.edu!balance!aabenson From: aabenson@balance.cs.mtu.edu (Andrew A. Benson) Newsgroups: comp.unix.questions,comp.unix.programmer,comp.unix.shell,comp.unix.misc Subject: Waiting on parents and reinstating HUP Keywords: csh, parent, HUP Message-ID: <1991Apr23.144516.23119@news.miami.edu> Date: 23 Apr 91 14:45:16 GMT Sender: aabenson@mtu.edu Followup-To: comp.unix.programmer Organization: Michigan Technological University Lines: 16 Does anybody know how to set things up so a process started from csh with an & will die when the user logs out? Is there something I need to do with SIGHUP signal handling? I've tried everything I can think of. My only other thought is that it just never ever gets the signal. My other question is if a process can check the status of its parent -- to check to see if the parent still exists. All the calls I've found only allow a process to check and/or wait on its children (the wait(), wait3(), wait4(), and waitpid() calls under SunOS 4.1). Thanks, Andrew. Internet: aabenson@mtu.edu or aabenson@balance.cs.mtu.edu BITNET: AABENSON@MTUS5