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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=vwdnI UeXOx5uKWM7BidOMIBH4Hs6gu2eR//bjoHYgm0uRrqFL15xWf/oiofDGEqd/qanf ttNTdZ+9wY3YSfOCwtqKmOo62xsrMxHDb1vQh7NhQZOokKj7RYyksYdTd1Ak339Y fU0L4OScNmAH71wAkoqvwis2LGiIcUj2h5GAPY= 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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=APWsJ36HC0I kJzYPp877AyCEuao=; b=BLUP4YIsIomNM7+kJuOMdj1zumIgpe8DMGGHnS03wqn 2OyWk0HZSLjsuYBSHBn4mDqlK7zWqzg5nk7BKa+tqyXmWq6ZjOQciveBmLN+QwbK S7JQxu5AUyeDSI60ZcP/Qgph7iw7gDRm2RNqnCBdY2bNtk+jVO2DwxhwAg8B3oAE = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=WAVE, wave, Hx-spam-relays-external:ESMTPA X-HELO: vsmx009.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: How to handle length limit of PATH environment variable References: <1209462188 DOT 20180405203904 AT yandex DOT ru> Date: Thu, 05 Apr 2018 20:47:50 +0200 In-Reply-To: <1209462188.20180405203904@yandex.ru> (Andrey Repin's message of "Thu, 5 Apr 2018 20:39:04 +0300") Message-ID: <87o9ixfq21.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT 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. For tcsh I have patched /etc/csh.login to do the moral equivalent; I guess that should be packaged with tcsh eventually. 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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