delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/04/04:30:40

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 <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

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

- Raw text -


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