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

X-Spam-Check-By: sourceware.org
Message-ID: <4468A05A.5070205@upb.de>
Date: Mon, 15 May 2006 17:38:02 +0200
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: rvxt-20050409-1 console problem
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> <Pine DOT GSO DOT 4 DOT 63 DOT 0605151107250 DOT 26103 AT access1 DOT cims DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0605151107250.26103@access1.cims.nyu.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

--------------enig3BD13BE9C8631DBA34C739D7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

>> So i always was annoyed by the fact, that starting rxvt directly from
>> windows opens a console windows.
>=20
> Hence the recommended use of "run".

run?

>> Isn't it possible, to create such an EXE-file, that doesn't open a
>> console? Would that cause any problems with cygwin?
>=20
> 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.

Oops, yes.

Hmm ... but ...

Would  "rxvt.exe --help" work, if you run in from a cygwin-shell?
wouldn't that be sufficient?

Something that i just noticed: do you have java installed? there is that
javaw.exe-thing. It's such a window-mode application. And if i run
"javaw" inside cygwin, then it prints a help-screen to the console!

>> That would make any "hide the console"-code unnecessary.

If there is some other possibility, to hide the console, (what is that
"run" command that you mean?), then i would remove the "hide the
console"-code.

There are only two things, that i'd like to be abled to do:
a) start rxvt.exe directly from windows without a console-windows
b) run it from inside cygwin like any other app

>> P.S.: i can reproduce the bug too.
>=20
> 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.

Yes, i know. But i thought, that a window-mode application _could_ be a
more clean sollution to the problem, because the "close the
console"-code (which is a workaround IMHO) could be removed.


--------------enig3BD13BE9C8631DBA34C739D7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEaKBa7Ww7FjRBE4ARAkbiAKDZTtrggdqtJ4Cqu/+PoopVAfFrgQCgmSGt
7yNTQbNZrHpr7fnsJAKDLYM=
=85GE
-----END PGP SIGNATURE-----

--------------enig3BD13BE9C8631DBA34C739D7--

- Raw text -


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