Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Andrew DeFaria <ADeFaria@Salira.com>
Subject: Re: How to diagnose Cygwin / Windows shutdown problem
Date: Wed, 23 Jul 2003 17:16:53 -0700
Lines: 25
Message-ID: <bfn8fc$fu$1@main.gmane.org>
References: <003001c3513d$7caa3410$19c3fea9@RAnderson> <5.2.1.1.2.20030723102245.03d4e2c8@pop.sonic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en, zh
In-Reply-To: <5.2.1.1.2.20030723102245.03d4e2c8@pop.sonic.net>

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 quit in preparation for the systme to shut down or the user 
to log off why can Cygwin apps (in particular bash or other shell) 
simply do what it would have done if TMOUT was just triggered?

       TMOUT  If set to a value greater than zero, TMOUT  is  treated  
as  the
              default timeout for the read builtin.  The select command 
termi-
              nates if input does not arrive after TMOUT seconds when 
input is
              coming  from  a terminal.  In an interactive shell, the 
value is
              interpreted as the number of seconds to  wait  for  input  
after
              issuing  the  primary prompt.  Bash terminates after 
waiting for
              that number of seconds if input does not arrive.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

