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: <20090804060441.GA3572@ednor.casa.cgf.cx> References: <20090804060441 DOT GA3572 AT ednor DOT casa DOT cgf DOT cx> Date: Tue, 4 Aug 2009 09:30:22 +0100 Message-ID: <416096c60908040130m7195ba49p69348564b8c9157c@mail.gmail.com> Subject: Re: black console boxes still a problem for Windows 7 and X? From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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/8/4 Christopher Faylor: > I just noticed one of those annoying black boxes when running X on > Windows 7. =C2=A0I don't think I ever tried to run X there before. > > The first release of Cygwin which was supposed to fix this problem > was 1.7.0-51 but I can't even run X with that version. > > Have the console windows always been showing up for xterm in Windows 7? Are you running xterm directly from "Run..." or some such? In that case, the console popping up is normal, happens on XP too. It's because xterm is itself a console subsystem program, and unlike rxvt it doesn't do anything to hide the console. (The hidden console trick in spawn() of course is for the benefit of GUI subsystem programs that invoke console programs, e.g. XWin and mintty.) Solution: compile xterm with "--Wl,subsystem,windows". Or run it through "run.exe". 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