🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1429

Interrupt Signals

#1429
From: mark Mark Sicignano
Date: Mon, 08 Oct 1990 14:41
16 lines
997 bytes
I have a program that when run, fork()s, the parent exits, and 
the child continues to run in the background.  

I don't handle any signals specially.  I fire up this program
in my .profile, but when I press ^C, my keyboard interrupt,
the program exits.  If I run this program at my prompt, however,
the program does not exit when I press the ^C.  

Why is this so??

Ksh Version 11/16/88d on a 4.3 BSD system.

-mark
-- 
Mark Sicignano                                  ...!uunet!hsi!mark
3M Health Information Systems                   mark@hsi.com
Technical Details
Message-ID: <2267@hsi86.hsi.com.>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!pacbell.com!decwrl!uunet!hsi!hsi.com!mark

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!pacbell.com!decwrl!uunet!hsi!hsi.com!mark
From: mark@hsi.com. (Mark Sicignano)
Newsgroups: comp.unix.shell
Subject: Interrupt Signals
Message-ID: <2267@hsi86.hsi.com.>
Date: 8 Oct 90 14:41:22 GMT
Reply-To: mark@hsi.com (Mark Sicignano)
Organization: 3M Health Information Systems, Wallingford, CT.
Lines: 16