delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/15/11:11:26

X-Spam-Check-By: sourceware.org
Date: Mon, 15 May 2006 11:11:04 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: rvxt-20050409-1 console problem
In-Reply-To: <e4a52n$9s9$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0605151107250.26103@access1.cims.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 63 DOT 0605151043130 DOT 26103 AT access1 DOT cims DOT nyu DOT edu> <e4a52n$9s9$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

---559023410-1903590565-1147705864=:26103
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Mon, 15 May 2006, Sven Köhler wrote:

> > After installing rxvt-20050409-1, starting rxvt from a console bash
> > hides that console.  To reproduce: start a console bash, type "rxvt"
> > or "rxvt &" (either way), observe that the bash window goes away (the
> > process is still running, though).  I don't think the cygcheck output
> > is relevant, since this looks like an rxvt problem (caused by the new
> > code to hide the console).  Chuck, if you can't reproduce this, please
> > let me know and I'll provide more details.
>
> AFAIK, there are EXE-files that open a console, and others, that don't.
>
> It seems, there is a flag in the EXE-files, which determines if Windows
> should open a console or not.

Well, yes.  They are called "window mode applications" (as opposed to
"console mode applications").

> So i always was annoyed by the fact, that starting rxvt directly from
> windows opens a console windows.

Hence the recommended use of "run".

> Isn't it possible, to create such an EXE-file, that doesn't open a
> console? Would that cause any problems with cygwin?

It's possible.  But one (important) side effect is that window-mode
applications cannot write to a console.  So, "rxvt --help" would be
useless if rxvt were to be made a window-mode app.

> That would make any "hide the console"-code unnecessary.
> P.S.: i can reproduce the bug too.

Note that my issue is actually the opposite: I start rxvt from an
unrelated console, and I *want* that console to stay visible.
Looks like the new console-hiding code is a bit over-eager...
If I have the time, I'll take a look at the changes to see if there's a
simple fix.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

---559023410-1903590565-1147705864=:26103
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
---559023410-1903590565-1147705864=:26103--

- Raw text -


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