delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/14/12:21:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 14 Aug 2009 18:20:49 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: run-1.1.11-1
Message-ID: <20090814162049.GH32408@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20090812134355 DOT GB13438 AT calimero DOT vinschen DOT de> <4A82F82C DOT 6000907 AT cwilson DOT fastmail DOT fm> <20090813140610 DOT GI13438 AT calimero DOT vinschen DOT de> <4A84BF50 DOT 3040009 AT cwilson DOT fastmail DOT fm> <20090814063458 DOT GV13438 AT calimero DOT vinschen DOT de> <4A857186 DOT 9040201 AT cwilson DOT fastmail DOT fm> <20090814144442 DOT GF32408 AT calimero DOT vinschen DOT de> <20090814151921 DOT GA28983 AT ednor DOT casa DOT cgf DOT cx> <20090814152904 DOT GG32408 AT calimero DOT vinschen DOT de> <20090814154349 DOT GA10002 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20090814154349.GA10002@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Aug 14 11:43, Christopher Faylor wrote:
> 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?

I don't know.  I would have to download sources and inspecting things...

Actually, what I told above is nonsense anyway.  What I saw was the
flickering cmd window from a urxvt-X startup without run.  With run it
doesn't start at all for me on W7, unless I start it from an existing
console window.  And in that case it doesn't matter if the
CREATE_NO_WINDOW flag is given or not, it always takes 100% CPU.  So,
scratch that, it's no solution at all.

I have no idea why urxvt-X doesn't start from my shortcut, which
simply contains:

  C:\cygwin\bin\run.exe urxvt-X -display 127.0.0.1:0.0 -ls

It sounds a lot as if I need a couple of hours refreshing...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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