public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Hannes Domani <ssbssa@yahoo.de>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Renamed output pipe
Date: Fri, 2 Apr 2021 14:55:12 +0000 (UTC)	[thread overview]
Message-ID: <199265146.4986712.1617375312382@mail.yahoo.com> (raw)
In-Reply-To: <199265146.4986712.1617375312382.ref@mail.yahoo.com>

Hello

Very recently, cygwin changed the name of the output pipe [1].
Now the simple detection of msys2-gcc, if the output is mintty, and so can colorize the diagnostic messages [2], doesn't work anymore.

I'm aware that this is a cygwin-internal name, and shouldn't be expected to have a certain value, and I also don't really expect that you change it back.
But I've used a similar check for 5 years now without problems, and just wanted to bring to your attention that it is useful for native programs to somehow detect if it's outputting to mintty.

So, if possible, please don't change the name of the output pipe again.


Regards
Hannes


[1] https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=ef05e8bdae87b9a72a709a7a7054543aab45992a
[2] https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/0140-gcc-8.2.0-diagnostic-color.patch

           reply	other threads:[~2021-04-02 14:55 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199265146.4986712.1617375312382.ref@mail.yahoo.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199265146.4986712.1617375312382@mail.yahoo.com \
    --to=ssbssa@yahoo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).