delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=fI//sVYObY2INRaMv7zoNyx9B8hC3voRWepsLTnOJ/2xXeluFYCmA | |
LceIiO2SOpgJlSx63PY4TD+WItlEJ3hh42NBLznlxG6CE7/V1I25aQ7dtXXGBm5g | |
zCbO9aCYL6jPXB0is5yZf+zJ/9z6nLUaK6eprk56VprEYUyUgtJ7DA= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=LPE8DfjaI6e/GSyKMnVnMIfo+T8=; b=lNrJmoKfYMxvBqqr0t6vKOncYoAf | |
YXUfqOpdhqkKalfTMowKoHoHlKAGSfU4TotnW8Lp9hNyheMzG++oWe2rzqGCfuR4 | |
QHYxQ0CkrctyGNO5hIPxAAnkPdT2UKVP6PNMM3bikONz6rwaC+QWx9H0JFNPb8m2 | |
UsQpLIM+Q355QV0= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=no!, Hx-languages-length:1567, UD:ca, handed |
X-HELO: | drew.franken.de |
Date: | Thu, 8 Sep 2016 14:07:18 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: CYGWIN_NOWINPATH (was Re: /etc/profile: avoid multiple /usr/bin in PATH) |
Message-ID: | <20160908120718.GE3860@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAK-n8j7X7XkqO8Ny=_1CRLX=9cLY4nx6Pau2Q5mSq8ODVjNMtQ AT mail DOT gmail DOT com> <CAJ1FpuMm_agFZZGbW=nCHes4uuNL2FPJWdgYb=0uRMoXdWZrCw AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAJ1FpuMm_agFZZGbW=nCHes4uuNL2FPJWdgYb=0uRMoXdWZrCw@mail.gmail.com> |
User-Agent: | Mutt/1.7.0 (2016-08-17) |
--9zSXsLTf0vkW971A Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sep 5 10:36, Doug Henderson wrote: > On 5 September 2016 at 10:04, Jim Reisert AD1C wrote: > > On Sun, Sep 4, 2016 at 10:07 PM, Doug Henderson wrote: > > > >> Note that CYGWIN_NOWINPATH is still undocumented, except in the email > >> archives. See, e.g. > >> > >> https://www.google.ca/search?q=3DCYGWIN_NOWINPATH+site:cygwin.com > >> > >> CYGWIN_USEWINPATH is also undocumented, except in a non-cygwin.com > >> email archive. > > > > CYGWIN_NOWINPATH is not working for me. > > > > CYGWIN_NT-10.0-WOW AD1C 2.6.0(0.304/5/3) 2016-08-31 14:27 i686 Cygwin > > > > d:\>printenv | grep CYG > > CYGWIN=3Dnodosfilewarning > > CYGWIN_NOWINPATH=3D1 > > > > When I start bash, I still get my full Windows path as part of the > > bash path. Am I missing something? > > > > I have neither a ~/.login or ~/.profile, only a ~/.bashrc >=20 > I set CYGWIN_NOWINPATH=3D1 in my user environment variables, i.e. in > registry, not in a cmd shell. I expect it needs to be seen when the > first cygwin1.dll instance starts, so you would need to stop all > cygwin processes and servers, just like you do when you run the cygwin > setup, for this to be effective. Ouch, no! Environment variables are handed down from parent to child process. On all systems, be it Windows, Cygwin, Linux or whatever. There's *no* other magic involved. It's just a bunch of strings inherited from the parent process. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --9zSXsLTf0vkW971A Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX0VR2AAoJEPU2Bp2uRE+gjoYP+gOGIzEXoy/SuPIaBFku/LOu 5fMlBOYVb2BTqloghV1Es7jIDIthipucNe7HVbbG4rHWn9KTrtUaLddxYg15PhwS GfW4VleFspi07kCg5yk0XSPg/ltMRsq28nIR+VjvyTGY+GVZ5AreLVMYGSRgi4DQ Wpm3rJ0DWyYS627MZyKHCfPsHhNufem/DNB19RK7MNES1zQqq7Fnpw3UFESsmeNl xI4Kew/ooLM+pL6ILby/FaGDlY36a6o0rOiWMLIh2YuigXrYyEgBgeAgslwYsPUy 3KEHuWdMplO/3vtQEmn4yF1hrxrr1Q2vO5va2tQwHN4+kh/xy+CYJgVgqxtDTOWg Ol8czZuQHQ8Z0wFJ1uoJbWABrebbfHr+7M+5eUgV9s4IK91lFWcXkVq1XSXsIhtg 4WRDbdv3li/o4lwRKsZWIpABNqBd3PNMEZsAs/Y29khn0z/dDugvW68Mf4faY1HL Qr/NRgRSdXoln4tps6ZY9jGEj1SQEi7UU54YhOEnQyuuYQiPcCQbA0Dq4NHq9rpb voTRezNhDRBVmIBFqsO3zx3WTo0Y4ZgpRhalhFT6+suh5npWqI8ibh2UGZeGCsZ2 TnAyR4LWnTcUB5BbbkEsogTQTzfDR8ruAi4T39D1Yh66IMbUdxubHtvDqKKaUyN5 Lx85lK836RLg7eWk5xvI =xYdh -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |