Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-24 Thread Markus Schönhaber
Igor Pechtchanski wrote: There is such a mechanism on Win2k. I don't think there is one on Win9x. This thread seems to indicate that there isn't one on WinXP, either, at least not for shutdown messages. Igor I don't see any difference in the behaviour on W2k and WinXP. As Richard stated

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-24 Thread David Sharp
I don't know for sure either, but by the end of a day, it is not unusual for me to see multiple instances of bash.exe within my task manager, despite having closed them in windows. Therefore I don't think there is windows-posix signal translation, just the other way around. Igor Pechtchanski

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-24 Thread Martin Gainty
: Re: How to diagnose Cygwin / Windows shutdown problem I don't know for sure either, but by the end of a day, it is not unusual for me to see multiple instances of bash.exe within my task manager, despite having closed them in windows. Therefore I don't think there is windows-posix signal

Re: How to diagnose cygwin / Windows shutdown problem

2003-07-24 Thread Christopher Faylor
On Thu, Jul 24, 2003 at 09:12:55AM -0700, Martin Gainty wrote: do any of the cygwin Libraries have a signal function? Huh? 1) You can check this for yourself. 2) What kind of UNIX emulation would cygwin be if it didn't have signal handling? Besides opening and closing the windows I sincerely

RE: How to diagnose cygwin / Windows shutdown problem

2003-07-24 Thread Pavel Rozenboim
So, does bash install the console control handler? If it does it probably can handle shotdown events. -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED] Sent: Thu, July 24, 2003 5:22 PM To: [EMAIL PROTECTED] Subject: Re: How to diagnose cygwin / Windows shutdown

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-24 Thread Andrew DeFaria
Igor Pechtchanski wrote: There is such a mechanism on Win2k. I don't think there is one on Win9x. This thread seems to indicate that there isn't one on WinXP, either, at least not for shutdown messages. Are you saying that when you click close on a shell window and Windows sends an event

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-24 Thread Andrew DeFaria
David Sharp wrote: I don't know for sure either, but by the end of a day, it is not unusual for me to see multiple instances of bash.exe within my task manager, despite having closed them in windows. Therefore I don't think there is windows-posix signal translation, just the other way around.

How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Richard Anderson
When I start Cygwin 1.3.22-1 and then try to shut down Windows XP using the normal Start / Turn Off Computer procedure, Windows pops up the End Program - Cygwin ... Windows cannot end this program dialog box. The cygwin ps command shows only a bash shell running. I tried using Start / Run /

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Timothy C Prince
:01 -0700 Subject: How to diagnose Cygwin / Windows shutdown problem When I start Cygwin 1.3.22-1 and then try to shut down Windows XP using the normal Start / Turn Off Computer procedure, Windows pops up the End Program - Cygwin ... Windows cannot end this program dialog box. The cygwin ps

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Randall R Schulz
Richard, You know, we heard you the first time... At 10:02 2003-07-23, Richard Anderson wrote: When I start Cygwin 1.3.22-1 and then try to shut down Windows XP using the normal Start / Turn Off Computer procedure, Windows pops up the End Program - Cygwin ... Windows cannot end this program

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Richard Anderson
] www.richard-anderson.org www.raycosoft.com - Original Message - From: Timothy C Prince [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 10:27 AM Subject: Re: How to diagnose Cygwin / Windows shutdown problem I'm happy to end bash with an exit or ctrl

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Larry Hall
Richard Anderson wrote: So this is a know issue? Seems like non-standard behavior for a Windows app. All Windows apps that I know of catch the shutdown interrupt, clean up their data structures and exit gracefully. Is there some reason why Cygwin can't do this? Let's turn the question around.

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Richard Anderson
- Original Message - From: Larry Hall [EMAIL PROTECTED] To: Richard Anderson [EMAIL PROTECTED] Cc: Timothy C Prince [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 11:41 AM Subject: Re: How to diagnose Cygwin / Windows shutdown problem Richard Anderson wrote: So

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Andrew DeFaria
Randall R Schulz wrote: Cygwin apps don't know about and cannot respond to the system-generated messages that request that applications quit in preparation for the system to shut down or the user to log off. Cannot respond to? When a system-generated message that requests that applications

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Randall R Schulz
Andrew, Cygwin apps don't have a Windows event handler do they? The two programming models (Win32 and POSIX) are fundamentally different, so based on my very limited understanding, it seems that Cygwin itself (code in Cygwin1.dll) would have to intercept these OS-generated events and

Re: How to diagnose cygwin / Windows shutdown problem

2003-07-23 Thread Christopher Faylor
On Wed, Jul 23, 2003 at 05:34:12PM -0700, Randall R Schulz wrote: Cygwin apps don't have a Windows event handler do they? They do in some situations but not by default. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Andrew DeFaria
Randall R Schulz wrote: Andrew, Cygwin apps don't have a Windows event handler do they? To tell you the truth... I don't know for sure. The two programming models (Win32 and POSIX) are fundamentally different, so based on my very limited understanding, it seems that Cygwin itself (code in

Re: How to diagnose Cygwin / Windows shutdown problem

2003-07-23 Thread Igor Pechtchanski
There is such a mechanism on Win2k. I don't think there is one on Win9x. This thread seems to indicate that there isn't one on WinXP, either, at least not for shutdown messages. Igor On Wed, 23 Jul 2003, Andrew DeFaria wrote: Randall R Schulz wrote: Andrew, Cygwin apps don't