[comp.mail.elm] Signal handling change to newmail

itkin@mrspoc.UUCP (Steven M. List) (11/18/88)

Summary: This patch causes the newmail program to ignore a simple
         "kill" command from the terminal.  This allows newmail to continue
         executing when a user executes "kill 0" to kill a bunch of background
         processes (like a make).

Index: utils/newmail.c
*** utils/newmail.c.bu  Thu Nov 17 09:56:03 1988
--- utils/newmail.c Thu Nov 17 09:56:06 1988
***************
*** 180,185
  
      signal(SIGINT, SIG_IGN);
      signal(SIGQUIT, SIG_IGN);
    }
  #endif
  

--- 180,186 -----
  
      signal(SIGINT, SIG_IGN);
      signal(SIGQUIT, SIG_IGN);
+     signal(SIGTERM, SIG_IGN);     /* ignore kill 0!...sml             */
    }
  #endif
  
-- 
:  Steven List @ Transact Software, Inc.
:  {coherent,mips,pyramid,satyr,ubvax,wesley}!mrspoc!itkin
:  Voice: (415) 961-6112