tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Importing aiomixer to src



On Thu, May 06, 2021 at 02:58:41PM -0400, Mouse wrote:
> 
> Probably not - but ^C typically generates SIGINT, not SIGTERM.  (I
> think curses normally doesn't catch ^C either.)
> 

No, why should it?  That would actually be rude behaviour for a library to randomly install
a signal handler - IIRC there has been discussions on that subject before.  The application
should be handling the signal (speaking in general here) because there may be other
application specific clean up or logic that needs to be done or possibly even ignoring the
signal all of which would be impossible if libcurses hijacked the signal.

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Home | Main Index | Thread Index | Old Index