From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19131 invoked by alias); 15 Feb 2002 01:59:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 19051 invoked from network); 15 Feb 2002 01:58:58 -0000 Received: from unknown (HELO uhura.concentric.net) (206.173.118.93) by sources.redhat.com with SMTP; 15 Feb 2002 01:58:58 -0000 Received: from cliff.concentric.net (cliff.concentric.net [206.173.118.90]) by uhura.concentric.net [Concentric SMTP Routing 1.0] id g1F1wwA26101 ; Thu, 14 Feb 2002 20:58:58 -0500 (EST) Errors-To: Received: from Clemens.cris.com (da003d0481.sjc-ca.osd.concentric.net [64.1.1.226]) by cliff.concentric.net (8.9.1a) id UAA21600; Thu, 14 Feb 2002 20:58:51 -0500 (EST) Message-Id: <5.1.0.14.2.20020214173753.022f80e0@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 14 Feb 2002 17:59:00 -0000 To: "hongxun lee" , cygwin@cygwin.com From: Randall R Schulz Subject: Re: 'shutdown', games In-Reply-To: <000f01c1b5c0$71bbdcd0$928e1941@alleluja> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-02/txt/msg00758.txt.bz2 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@home command-line clients under BASH, so I actually do this: # Stop the SETI@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@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@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/