X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <20090626083640 DOT GF30864 AT calimero DOT vinschen DOT de> <416096c60906260503o52ae73ben1140bbbd2db993bb AT mail DOT gmail DOT com> <20090626121215 DOT GJ30864 AT calimero DOT vinschen DOT de> <416096c60906260541t56687113p9c940d4251f68405 AT mail DOT gmail DOT com> <20090626133618 DOT GA14187 AT calimero DOT vinschen DOT de> <20090626145213 DOT GK30864 AT calimero DOT vinschen DOT de> <416096c60906270139y33e2888cq148430eebb744b71 AT mail DOT gmail DOT com> <20090628103010 DOT GT30864 AT calimero DOT vinschen DOT de> Date: Thu, 2 Jul 2009 18:02:24 +0100 Message-ID: <416096c60907021002nbbcfe99t51d16fbc48bf2866@mail.gmail.com> Subject: Re: popup consoles on Windows 7 From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 2009/7/2 Julio Costa : > HKCU\Console\\WindowPosition = 0x80008000 Good idea! > 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? From earlier in the thread: > me: >> The proper, yet probably completely impractical solution: compile >> Cygwin programs for the GUI subsystem instead of the console one and >> attach to the parent process' console, if any, with explicit calls at >> program startup. POSIX programs don't use the Win32 console API, so >> there should be no need to always have a console available. Corinna: > The problem is rather that you want to be able to run certain native > applications which refuse to run if no console is allocated. Or they > pop up a console on their own. So be it, I'd be tempted to say, and point people that do insist on running native console at /bin/run. But then I haven't been at the sharp end of a barrage of compatibility complaints. Actually, couldn't spawn_guts() tell whether it's about to execute a console program, and only allocate a hidden console in that case? Andy -- 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