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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A8595CC.7090504@cwilson.fastmail.fm>
Date: Fri, 14 Aug 2009 12:50:20 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: run-1.1.11-1
References: <200908101812 DOT n7AICVXY019082 AT gridley DOT byu DOT edu> <4A8239BC DOT 8080401 AT byu DOT net> <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>
In-Reply-To: <20090814144442.GF32408@calimero.vinschen.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Corinna Vinschen wrote:

> 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.
> 
> Sorry about that.  The CREATE_NO_WINDOW flag looked like a good idea 
> at the time(*)

Yeah.  I think the core issue is that run takes care to hook up stdin &
friends to the child process, but that something is going wrong in that
process when CREATE_NO_WINDOW -- and, for whatever reason, urxvt[d]-X
needs that (maybe also Ken Brown's bat -> bash -> emacs).

Anyway, I don't really want to delve into urxvt-7.7 right now and its
interaction with run+CREATE_NO_WINDOW. After cygwin-1.7 is released,
I'll start looking at (a) removing the unicode "shims" from
cygwin-urxvt, (b) switching to urxvt-9.x (c) compiling it to use
cygwin-1.7's unicode support.  That is, I don't want to invest too much
time in a dead-end version of urxvt (7.7).

As far as run itself is concerned, I'm (currently) happy to relegate any
problems to a W7 ghetto, until more people (including me) have access to
it and can worry those issues.

So, given a a /good-enough/ workaround for run+urxvt-7.7+W7, I don't
think you (Corinna) need to waste any more time on it now.

Tnanks,
Chuck

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