This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: popup consoles on Windows 7
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 2 Jul 2009 13:44:25 -0400
- Subject: Re: popup consoles on Windows 7
- References: <20090626102313.GA12963@calimero.vinschen.de> <416096c60906260503o52ae73ben1140bbbd2db993bb@mail.gmail.com> <20090626121215.GJ30864@calimero.vinschen.de> <416096c60906260541t56687113p9c940d4251f68405@mail.gmail.com> <20090626133618.GA14187@calimero.vinschen.de> <af075b00906260708h674121f3s63fdc79af5675a44@mail.gmail.com> <20090626145213.GK30864@calimero.vinschen.de> <416096c60906270139y33e2888cq148430eebb744b71@mail.gmail.com> <20090628103010.GT30864@calimero.vinschen.de> <af075b00907020941i666bed61vc450315c662b757a@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
On Thu, Jul 02, 2009 at 05:41:18PM +0100, Julio Costa wrote:
>HKCU\Console\<argv[0]>\WindowPosition = 0x80008000, where <argv[0]>
>is the name of current command being launched
>
>Yes, I know, more klumsy workaround... I'm not happy with that also,
>but at least avoids the console *window* flashing.
>Alas, the ShowWindow stuff it's still needed for the taskbar icon :(
You haven't programmed many multi-threaded, multi-process aware
applications if you think that setting a registry key is going to work
right.
>Why on Earth are we having this trouble to have an available console
>all the time? Is it necessary to redirect the in/out streams? Is it
>another thing?
>I'm really trying to think 'out of the box', because it could be the
>case that there is another implementation path that doesn't really
>need consoles at all...
Yeah, what were we thinking? We went out of our way to set up a hidden
console, expending considerable effort to do so when they really weren't
needed.
How about if you think within the box and do a google search rather than
suggesting that we didn't know what we were doing?
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