Xref: utzoo comp.sys.apollo:8769 comp.lang.perl:4929 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!cci632!mth From: mth@cci632.cci.com (Michael Hickman) Newsgroups: comp.sys.apollo,comp.lang.perl Subject: Keeping DM from killing process at logout Message-ID: <1991Apr15.221826.11448@cci632.cci.com> Date: 15 Apr 91 22:18:26 GMT Reply-To: mth@moe.UUCP (Michael Hickman) Organization: none Lines: 23 I have written a program in PERL that forks daemon process. I have the daemon process do a ioctl(TTY, &TIOCNOTTY, 0), and even give it a unique process group id with setpgid(0, $$). When running under an rlogin shell, I can logout and the daemon process keeps running. However, if I'm using the Display Manager, it does it's utmost to kill the process when I logout. Since the apollo doesn't have a NOHUP signal, I can't kill('NOHUP', $$) it.o How can I setup a process so that the DM won't kill it upon logging out??? Thanks in advance! Michael T. Hickman mth@cci.com CAE/CAD Systems Administrator (716)482-5000 x2913 Computer Consoles Inc. Rochester, NY -- . ____ _\ Michael T. Hickman ----____/ ___/ ) CAE/CAD Systems Administrator / ___ _--- / /___ Computer Consoles Inc.