Greetings, Francis Litterio!
>>> I set CYGWIN_NOWINPATH=1 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 y
On Nov 17 12:11, Vince Rice wrote:
> > On Nov 17, 2016, at 12:04 PM, Francis Litterio wrote:
> >
> > On 9/8/2016 8:07 AM, Corinna Vinschen wrote:
> >> On Sep 5 10:36, Doug Henderson wrote:
> >
> >>> I set CYGWIN_NOWINPATH=1 in my user environment variables, i.e. in
> >>> registry, not in a cmd
> On Nov 17, 2016, at 12:04 PM, Francis Litterio wrote:
>
> On 9/8/2016 8:07 AM, Corinna Vinschen wrote:
>> On Sep 5 10:36, Doug Henderson wrote:
>
>>> I set CYGWIN_NOWINPATH=1 in my user environment variables, i.e. in
>>> registry, not in a cmd shell. I expect it needs to be seen when the
>>>
On 9/8/2016 8:07 AM, Corinna Vinschen wrote:
On Sep 5 10:36, Doug Henderson wrote:
I set CYGWIN_NOWINPATH=1 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 pro
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/sear
Vince Rice writes:
>> It's documented right in /etc/profile for the moment.
>
> Well, “documented” is a little strong. “Used” is more accurate. There
> are no comments as to what it is or what it’s used for, at least in my
> /etc/profile (last updated in June).
In case it wasn't clear, I was talki
>> Note that CYGWIN_NOWINPATH is still undocumented, except in the email
>> archives. See, e.g.
>>
>>https://www.google.ca/search?q=CYGWIN_NOWINPATH+site:cygwin.com
>>
>> CYGWIN_USEWINPATH is also undocumented, except in a non-cygwin.com
>> email archive.
>
> It's documented right in /etc/pr
Doug Henderson writes:
> Please make sure that this version of cygwin.bat will work correctly
> when CYGWIN_NOWINPATH=1 is set in the windows environment.
So test the test version and tell me if it still works for you?
> Note that CYGWIN_NOWINPATH is still undocumented, except in the email
> arch
Doug Henderson writes:
[…]
> BTW: I think cygwin1.dll stores the original windows path in the
> exported ORIGINAL_PATH variable. I am running Windows 7 Home Premium
> on an laptop.
No, this is purely done in /etc/profile, cygwin1.dll has nothing to do
with it.
Regards,
Achim.
--
+<[Q+ Matrix-12
Jim Reisert AD1C writes:
> 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=nodosfilewarning
> CYGWIN_NOWINPATH=1
>
> When I start bash, I still get my full Windows path as part of the
> bash path.
I now see what's wrong. 'ORIGINAL_PATH' in my shell environment was
so long, I missed the very short 'PATH'. So it is working just fine.
--
Jim Reisert AD1C, , http://www.ad1c.us
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentati
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=CYGWIN_NOWINPATH+site:cygwin.com
>>
>> CYGWIN_US
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=CYGWIN_NOWINPATH+site:cygwin.com
>
> CYGWIN_USEWINPATH is also undocumented, except in a non-cygwin.com
> emai
On 4 September 2016 at 05:32, Achim Gratz wrote:
> Helmut Karlowski writes:
>> I set C:/cygwin/usr/bin in my windows-environment. Now /etc/profile
>> always adds /usr/bin to PATH resulting in /usr/bin being twice in my
>> cygwin-PATH.
>>
>> The attached patch fixes this.
>
> I've added the option t
Helmut Karlowski writes:
> I set C:/cygwin/usr/bin in my windows-environment. Now /etc/profile
> always adds /usr/bin to PATH resulting in /usr/bin being twice in my
> cygwin-PATH.
>
> The attached patch fixes this.
I've added the option to just use the already set-up PATH variable from
Windows fo
Am 08.12.2015, 22:31 Uhr, schrieb Helmut Karlowski:
Yes, but why is this a problem? Note that bash will set it anyway if
not present.
All shells set it only when run as login-shell.
Wrong: Only bash gives it a value - ksh and dash export SHELL with no
value if none present. And IMHO SHELL
Am 08.12.2015, 22:26 Uhr, schrieb Helmut Karlowski:
Am 08.12.2015, 22:21 Uhr, schrieb Achim Gratz:
Helmut Karlowski writes:
Can you tell me in which circumstances this happens and why this is a
problem? SHELL is supposed to be the user preference, so I don't
think
/etc/profile should try
Am 08.12.2015, 22:21 Uhr, schrieb Achim Gratz:
Helmut Karlowski writes:
Can you tell me in which circumstances this happens and why this is a
problem? SHELL is supposed to be the user preference, so I don't think
/etc/profile should try to second-guess it.
/etc/profile is run before ~/.profi
Helmut Karlowski writes:
>> Can you tell me in which circumstances this happens and why this is a
>> problem? SHELL is supposed to be the user preference, so I don't think
>> /etc/profile should try to second-guess it.
>
> /etc/profile is run before ~/.profile, and if that does not set SHELL
> the
Am 08.12.2015, 22:01 Uhr, schrieb Achim Gratz:
Helmut Karlowski writes:
I set C:/cygwin/usr/bin in my windows-environment. Now /etc/profile
always adds /usr/bin to PATH resulting in /usr/bin being twice in my
cygwin-PATH.
The attached patch fixes this.
I tend to reject this patch. The purpo
Helmut Karlowski writes:
> I set C:/cygwin/usr/bin in my windows-environment. Now /etc/profile
> always adds /usr/bin to PATH resulting in /usr/bin being twice in my
> cygwin-PATH.
>
> The attached patch fixes this.
I tend to reject this patch. The purpose of the default profile is to
put those t
Hello,
I set C:/cygwin/usr/bin in my windows-environment. Now /etc/profile always
adds /usr/bin to PATH resulting in /usr/bin being twice in my cygwin-PATH.
The attached patch fixes this.
It also sets SHELL if not yet set and avoids a call of hostname.
Maybe the maintainer takes a look.
-
22 matches
Mail list logo