Re: [Geany-devel] Signal Handling

2012-09-21 Thread Lex Trotman
On 11 September 2012 11:47, Lex Trotman ele...@gmail.com wrote: On 11 September 2012 03:15, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Sun, 09 Sep 2012 19:41:19 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 12-09-09 05:23 PM, Lex Trotman wrote: [...] So can anyone describe a

Re: [Geany-devel] Signal Handling

2012-09-10 Thread Dimitar Zhekov
On Sun, 09 Sep 2012 19:41:19 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 12-09-09 05:23 PM, Lex Trotman wrote: [...] So can anyone describe a useful use-case for catching SIGTERM and potentially refusing to exit? And also for SIGINT. From what I see, signal_cb (used currently

Re: [Geany-devel] Signal Handling

2012-09-10 Thread Matthew Brush
On 12-09-10 10:15 AM, Dimitar Zhekov wrote: On Sun, 09 Sep 2012 19:41:19 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 12-09-09 05:23 PM, Lex Trotman wrote: [...] just that it's why my *tests* included it. Emphasis added Cheers, Matthew Brush

Re: [Geany-devel] Signal Handling

2012-09-10 Thread Lex Trotman
On 11 September 2012 03:15, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Sun, 09 Sep 2012 19:41:19 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 12-09-09 05:23 PM, Lex Trotman wrote: [...] So can anyone describe a useful use-case for catching SIGTERM and potentially refusing to

Re: [Geany-devel] Signal Handling

2012-09-09 Thread Matthew Brush
On 12-09-09 05:23 PM, Lex Trotman wrote: [...] So can anyone describe a useful use-case for catching SIGTERM and potentially refusing to exit? And also for SIGINT. For SIGINT, if it's handled, it'll ask if you want to save unsaved documents before closing when Ctrl+C is used from the