delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/14/21:00:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.2.20020214173753.022f80e0@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 14 Feb 2002 17:59:09 -0800
To: "hongxun lee" <lee DOT 1801 AT osu DOT edu>, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: 'shutdown', games
In-Reply-To: <000f01c1b5c0$71bbdcd0$928e1941@alleluja>
Mime-Version: 1.0

Hong Xun,

Here's how I reboot (shutdown is analogous, I assume):

         reboot -r now; exit

In practice I always start a couple of SETI AT home command-line clients under 
BASH, so I actually do this:

         # Stop the SETI AT home clients, initiate reboot and exit BASH
         sahs; reboot -r now; exit

I don't know why, but if I "exit" (or "logout") from BASH while leaving 
running any sub-processes it started (at least these SETI AT home clients, 
which are not Cygwin programs), then the window in which BASH was running 
hangs around, though according to the process pane of the Windows Task 
Manager, bash.exe has terminated. If under these circumstances I close the 
window manually (click the close box, i.e.) then the SETI AT home clients die, 
the window closes and all proceeds as expected. This part is true 
regardless of whether or not I invoke reboot. A simple test with a detached 
"sleep" command will also illustrate this behavior.

If you want an explanation, it'll have to come from someone who knows the 
relevant innards of Cygwin, Windows and whatnot.

By the way, the "games" category under the Cygwin installer (setup.exe) 
lists these putative games: "fortune" and "robots." I'm sure if you port 
some others to Cygwin, they'd be cheerfully included in the distribution.

Randall Schulz
Mountain View, CA USA


At 17:31 2002-02-14, hongxun lee wrote:
>Sorry for the attachment as i know some hate to see them in emails..This 
>is my first try of the command 'shutdown', and it did close the windows 
>applications right away, but you can see that it can't close Cygwin..Is it 
>supposed to be so ?
>
>Does the current version Cygwin include any games already ? i remember i 
>saw 'games' somewhere when i updated it.
>Thanks


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019