Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/