X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 14 Aug 2009 11:43:49 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: run-1.1.11-1
Message-ID: <20090814154349.GA10002@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4A8239BC.8080401@byu.net>  <20090812134355.GB13438@calimero.vinschen.de>  <4A82F82C.6000907@cwilson.fastmail.fm>  <20090813140610.GI13438@calimero.vinschen.de>  <4A84BF50.3040009@cwilson.fastmail.fm>  <20090814063458.GV13438@calimero.vinschen.de>  <4A857186.9040201@cwilson.fastmail.fm>  <20090814144442.GF32408@calimero.vinschen.de>  <20090814151921.GA28983@ednor.casa.cgf.cx>  <20090814152904.GG32408@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090814152904.GG32408@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, Aug 14, 2009 at 05:29:04PM +0200, Corinna Vinschen wrote:
>On Aug 14 11:19, Christopher Faylor wrote:
>> On Fri, Aug 14, 2009 at 04:44:42PM +0200, Corinna Vinschen wrote:
>> >On Aug 14 10:15, Charles Wilson wrote:
>> >> Later, when W7 in is more widespread use (e.g. when I have personal
>> >> access to it), I'll see if I can improve the situation a bit. Maybe I'll
>> >> add a switch "-f/--flicker-ok" to enable use of a mechanism similar to
>> >> urxvt[d]-X's hide_console() [only, without the 'check to see if this
>> >> console already existed before I was launched' intelligence] rather than
>> >> cygwin's CREATE_NO_WINDOW, just for situations like urxvt[d]-X and Ken's
>> >> emacs example.
>> >
>> >I just tested this further.  If you omit the CREATE_NO_WINDOW flag
>> >to CreateProcess, the console window still flickers when starting
>> >urxvt, but the CPU usage does not stick to 100%.  Since XWin and
>> >xterm are apparently unaffected by this (no flickering cmd window)
>> >it looks like that's the better interim solution.
>> 
>> Isn't just creating the process with SW_HIDE good enough?
>
>run uses the SW_HIDE flag in CreateProcess, but for some reason
>it doesn't help for urxvt.

I know I should be downloading sources and inspecting things rather than
making obvious suggestions but I don't suppose that urxvt calls
FreeConsole?

cgf

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

