Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: GNU nohup oddness
- X-seq: zsh-workers 17988
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: GNU nohup oddness
- Date: Sat, 7 Dec 2002 10:24:12 -0500
- Cc: zsh-workers@xxxxxxxxxx, phil@xxxxxxxx, 171716@xxxxxxxxxxxxxxx
- In-reply-to: <1021206101446.ZM10013@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20021206003013.GA10400@xxxxxxxx> <1021206101446.ZM10013@xxxxxxxxxxxxxxxxxxxxxxx>
> (3) In Src/init.c:init_signals(), zsh explicitly installs a SIGHUP
> handler, even in non-interactive shells. It has done so for a
> very long time -- as far back as recorded in my CVS of 3.0.x,
> which means prior to 27-Jun-97.
So is this the right thing to do?
Index: Src/init.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/init.c,v
retrieving revision 1.29
diff -u -r1.29 init.c
--- Src/init.c 13 Nov 2002 10:24:24 -0000 1.29
+++ Src/init.c 7 Dec 2002 15:22:23 -0000
@@ -897,13 +897,13 @@
signal_ignore(SIGQUIT);
#endif
- install_handler(SIGHUP);
install_handler(SIGCHLD);
#ifdef SIGWINCH
install_handler(SIGWINCH);
#endif
if (interact) {
install_handler(SIGALRM);
+ install_handler(SIGHUP);
signal_ignore(SIGTERM);
}
if (jobbing) {
Messages sorted by:
Reverse Date,
Date,
Thread,
Author