Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!lll-winken!cheers!quack!mrapple From: mrapple@quack.UUCP (Nick Sayer) Newsgroups: comp.unix.questions Subject: logging out a terminal Keywords: Weirdness on old unix Message-ID: <1001@quack.UUCP> Date: 20 Oct 89 00:57:15 GMT Followup-To: poster Organization: The Duck Pond, Stockton, CA. Lines: 21 This is on a Momentum Hawk 32 running Unisoft V7 Unix circa 1983. I am (re-)writing an idle daemon for this beast, and am running into trouble. The original code I'm hacking to bits calls for a routine "vhangup()." How can I write this routine? Note that through experimentation, I've discovered that killing the login shell will NOT terminate sub-shells for some reason. Also, the local csh does not seem to respond to SIGHUP, SIGTERM or SIGINT. It IS, however, responding to such things as SIGFPE, SIGALRM, and other silly things. Do I have to search through the process table looking for all processes running on a certain terminal and send them SIGKILL? That seems a bit draconian. --------------------------------------------------------------------- Nick Sayer | ...{ lll-winken!cheers ucdavis!uop } !quack!mrapple .... or.... cheers!quack!mrapple@apple.com or quack!mrapple@uop.edu Packet radio: N6QQQ @ WB6V | FredMail: NSAYER@MADERA%NORCAL Disclaimer: The BBC would like to appologise for that announcement