This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to handle length limit of PATH environment variable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]