www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/09/01:30:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 914C73858D20
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=raelity.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=raelity.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=comcastmailservice.net; s=20211018a; t=1644388198;
bh=h5b488oTqeIoR5ItTdNdPmYl5uZRhczGGwu81IZEe34=;
h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From:
Content-Type;
b=dnPCzi6sFR1NLv/dpHuOtefWkd80R2QjTOQlvH5Fw9w97aACr+h1Dnv/47ctbBeHa
Lu4uPZL53PyXU/5o8m6ERZlEYXx7BBz8nAg1TeP2eGsTkJSk8IRXCF1sFO4r/1aYx1
rbLUVfAzLCK5pQ+MGQa7J1Fwr2qj2aoTaStruxF0zWHZI6hEu3BCMysRIyXOQWKnZe
GNgO6bW3H89cHaEk16QMz9ZvxqU8jdotuZbBINUtSL1SkPQQ2fQUuqK+5/TRl9QJ9p
qp0VBrzs5UVdXtaUlgxIrJ76aad9LIgsbZ/s8e+YUrUsg9SjaGlha9CJxaTLI9sBgN
TLfJHuiurknDA==
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvvddrheekgdelfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomhepgfhrnhhivgcutfgrvghluceovghrrhesrhgrvghlihhthidrtghomheqnecuggftrfgrthhtvghrnhepleejgefhieegteeuudetgeffgeehudehtdekffdtudffkefhjeffhefgtdejteejnecukfhppedujeegrdeivddruddvgedrvddvheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrvddtngdpihhnvghtpedujeegrdeivddruddvgedrvddvhedpmhgrihhlfhhrohhmpegvrhhrsehrrggvlhhithihrdgtohhmpdhnsggprhgtphhtthhopedupdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomh
X-Xfinity-VMeta: sc=0.00;st=legit
Message-ID: <73a0f2a6-750b-4464-a6b2-d813969b5a45@raelity.com>
Date: Tue, 8 Feb 2022 22:29:49 -0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Subject: Re: Bug Report
To: cygwin AT cygwin DOT com
References: <337301d81d37$7afda680$70f8f380$@gmail.com>
From: Ernie Rael <err AT raelity DOT com>
In-Reply-To: <337301d81d37$7afda680$70f8f380$@gmail.com>
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2/8/22 2:01 PM, julie77793 AT gmail DOT com wrote:
> Cygwin doesn't create an environment variable in bash to indicate that the
> platform is Cygwin under Windows.
>
> This causes compatibility problems when running various tools. Most of my
> issues have been with Python tools running Windows Python.
>
> I have been addressing this issue by grepping PATH for cygdrive which
> doesn't seem like a very good approach.
>
> Both msys2 and mingw solve this issue by setting the MSYSTEM environment
> variable which lets tools check that OS=Windows_NT and MSYSTEM=MSYS
>
> Please add some way of identifying that programs are running under Cygwin.
>
And of course there's

    $ uname -o
    Cygwin

-ernie


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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