Re: Can I get a sigint when the bash window closed with close window's button?

2005-11-16 Thread Samuel Thibault
Hi, Konrad Eisele, le Wed 16 Nov 2005 10:22:43 +0100, a écrit : > I can get SIGINT when user presses ctrl-c, but when the user > closes the console by just clicking on the close button then > no signal handler is called. Neather SIGINT not SIGHUP. > Maybe it is not possible to get any notificat

Re: Can I get a sigint when the bash window closed with close window's button?

2005-11-16 Thread Konrad Eisele
I can get SIGINT when user presses ctrl-c, but when the user closes the console by just clicking on the close button then no signal handler is called. Neather SIGINT not SIGHUP. Maybe it is not possible to get any notification by cygwin because cygwin is killed without notification too Can

Re: Can I get a sigint when the bash window closed with close window's button?

2005-11-15 Thread Igor Pechtchanski
On Tue, 15 Nov 2005, Joe Smith wrote: > "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL > PROTECTED] . Thanks. > > On Tue, 15 Nov 2005, Konrad Eisele wrote: > > > > > When th cygwin bash window is closed by clicking on the window'

Re: Can I get a sigint when the bash window closed with close window's button ?

2005-11-15 Thread Joe Smith
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Tue, 15 Nov 2005, Konrad Eisele wrote: When th cygwin bash window is closed by clicking on the window's close button the the appliaction gets killed without recieving a sigint or any atexit called. Is there a w

Re: Can I get a sigint when the bash window closed with close window's button ?

2005-11-15 Thread Igor Pechtchanski
On Tue, 15 Nov 2005, Konrad Eisele wrote: > When th cygwin bash window is closed by clicking on the window's close > button the the appliaction gets killed without recieving a sigint or any > atexit called. Is there a way to be able to run cleanup code when the > application is about to be killed?

Can I get a sigint when the bash window closed with close window's button ?

2005-11-15 Thread Konrad Eisele
When th cygwin bash window is closed by clicking on the window's close button the the appliaction gets killed without recieving a sigint or any atexit called. Is there a way to be able to run cleanup code when the application is about to be killed? -- Unsubscribe info: http://cygwin.com/ml/