Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!udel!rochester!rit!cci632!jsv From: jsv@cci632.UUCP ( co-op) Newsgroups: comp.unix.questions Subject: signal problems on BSD Keywords: signal HUP BSD Message-ID: <34853@cci632.UUCP> Date: 5 Mar 90 22:30:11 GMT Reply-To: jsv@cci632.UUCP (Jeffer Veiss) Organization: Computer Consoles Inc. an STC Company, Rochester, NY Lines: 25 I have a program written in C that captures the HUP signal sent when a user logs out and prints some information to a file. This program works fine on System V but on BSD machines, the program doesn't seem to get the signal and when I log back on, it's still running (the interrupt function on this signal has an exit() in it) and nothing was written to the file. I know the program understands the signal, because when I execute: % kill -HUP the program ends (on both systems) properly. Any ideas as to why? Jepher ------------------- Jeffer Veiss Rochester Institute of Technology | Computer Consoles, Inc. JSV9504@RITVAX.BITNET | jsv@cci632.uucp jsv9504@ritcv.uucp | Disclaimer? yeah, right.