delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/18/10:30:33

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3DD906A8.3040807@fangorn.ca>
Date: Mon, 18 Nov 2002 10:26:32 -0500
From: Mark Blackburn <marklist AT fangorn DOT ca>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2b) Gecko/20021016
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /bin/shutdown on ME
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0211141235010 DOT 4275-100000 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.44.0211141235010.4275-100000@slinky.cs.nyu.edu>

Igor Pechtchanski wrote:

>Quoting from the ExitWindowsEx page on MSDN:
>  Windows 95/98/Me: ExitWindowEx does not work from a console application.
>(the typo is theirs)
>
>One solution I tried, consequently, is making shutdown into a window
>(WinMain) application, using the run program as a template.  No luck so
>far.  I can post the code I currently have, in case others have further
>insights.
>	Igor
>  
>
If you run shutdown from a bash session in one of the old versions of 
rxvt (the ones that were compiled as a GUI app) it works fine on Win98.

Personally I have two version of rxvt on my machine, the regular console 
compiled one (-Wl,--subsystem,console) and one that is compiled as a GUI 
app (-Wl,--subsystem,windows) and I rename it to rxvtw.

I do this because the way that cygwin interacts console programs tends 
to lock up my machine every once in a while. Though I blame the Trident 
9750 video driver since I get pretty patterns on the screen when it 
locks up.





--
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