Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 4.3.10 terminates with SIGINT when one types Ctrl-G in emacs under Mac OS X



On Jul 27,  7:10pm, Martin Cracauer wrote:
} Subject: Re: zsh 4.3.10 terminates with SIGINT when one types Ctrl-G in em
}
} Bart Schaefer wrote on Sat, Jul 25, 2009 at 11:58:11AM -0700: 
} > Did you also see Eric Blake's assertion that the shell must not
} > un-ignore a signal if it "starts life" with the signal ignored?
} 
} In fact this would be useful if somebody want to change a
} shellscript's behavior to not abort more than the current program on
} SIGINT and go forward with the next statement in the script.

No; if the shell doesn't un-ignore the signal, then any program that
is started from the script will also still have SIGINT ignored, and
(unless *that* program re-handles the signal) neither the script nor
its children will be interruptible.



Messages sorted by: Reverse Date, Date, Thread, Author