delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/05/20:35:24

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=WLokvj+ES5gGyIcf
JeDqJiTcv7JwZ9klQMjmK2lfCzlERaehMET3FrVNEi/beLX3URaHZP7atyc9dGo1
HCwsEfXyKGBVh19TyujIdhHfMhjsDhOQhdq3ZCzcDAYY/rynnwWgwfYmlpUEZYxX
4brV4uguZ/NZD6MXpD3MgmYWaQo=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=FsdivjTKSNYBL+QN1q0gLi
QafEE=; b=p/bhXm5u4Q91WpHmKkq+WjZ2EH2EKnnCo/GWORN0EqXKJxtkth4Ph0
XbnzVdmYDxxunaBRbMs/4oxAX0v2JhYk61A0iRgw89KyGhm81E3LRjAG6jZwWiOT
MiHLiEgTbPD3NlU5OHNeVvZHOXHwDNIChV1mXwSZHtSfnJjrjx9g0=
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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Priority:Normal, H*F:D*yandex.ru, H*r:present, UD:ru
X-HELO: forward106j.mail.yandex.net
Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 6 Apr 2018 03:20:35 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <958762789.20180406032035@yandex.ru>
To: Achim Gratz <Stromeko AT nexgo DOT de>, cygwin AT cygwin DOT com
Subject: Re: How to handle length limit of PATH environment variable
In-Reply-To: <87o9ixfq21.fsf@Rainer.invalid>
References: <ebd804f3-8e24-d96f-7ef4-0e1279afd929 AT gmail DOT com> <1209462188 DOT 20180405203904 AT yandex DOT ru> <87o9ixfq21 DOT fsf AT Rainer DOT invalid>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Achim Gratz!

> Andrey Repin writes:
>> P.P.S.
>> Partial solution could be a wrapper that reduce PATH length by dropping
>> nonessential/duplicate/Win-specific paths before invoking Cygwin terminal.
>> I have such a wrapper for my own reasons.

> You don't need one if your login shell is a POSIX shell and you don't
> use Windows applications if you have set a system or user variable
> CYGWIN_NOWINPATH to a non-empty value.

If-if-if.
What if I explicitly do not want to do that?
It reduces interoperability to miniscule levels.

> It's usually way easier to add to a clean path than removing cruft and I
> generally lean into the direction of using wrapper scripts for Windows
> applications that I need to use from Cygwin since quite often some other
> things need attention aside from PATH.

For me, it's easier to wrap Cygwin apps, since I have sane wrapping material
(and many Cygwin tools not requiring any wrapping to begin with).


-- 
With best regards,
Andrey Repin
Friday, April 6, 2018 03:18:18

Sorry for my terrible english...


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

- Raw text -


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