X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@nexgo.de>
Subject: Re: /etc/profile
Date: Thu, 23 Aug 2012 07:53:44 +0200
Lines: 30
Message-ID: <87sjbe6tnb.fsf@Rainer.invalid>
References: <loom.20120821T114938-389@post.gmane.org>	<20120822191002.GA5467@pris.crapsteak.org>	<50353D71.9000306@dancol.org>	<20120822205507.GA23279@pris.crapsteak.org>	<20120822211831.GA13946@ednor.casa.cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Christopher Faylor writes:
> I'll just reiterate what Daniel said again: We can't make things like
> cmd or notepad stop working.  That would be a disaster.

Yes, and nobody proposed otherwise.

> I wasn't really following the discussion, and don't really want to check
> stuff out in git to see what's going on, but if the proposed change just
> makes it possible for purists to remove the Windows PATH from the Cygwin
> one however that's great.

OK, here it is again in a nutshell, it has two parts:

1. instead of adding the windows PATH in /etc/profile (which doesn't
need it _at all_), just record it there into ORIGINAL_PATH.

2. Add a script to /etc/profile.d which concatenates the Cygwin and the
windows path to provide the same net result as todays /etc/profile.


I hope this avoids more TLDR;


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
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

