From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16202 invoked by alias); 23 Aug 2012 05:54:16 -0000 Received: (qmail 16193 invoked by uid 22791); 23 Aug 2012 05:54:14 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Aug 2012 05:54:00 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T4QMg-0007S9-LX for cygwin@cygwin.com; Thu, 23 Aug 2012 07:53:58 +0200 Received: from pd9eb5809.dip.t-dialin.net ([217.235.88.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Aug 2012 07:53:58 +0200 Received: from Stromeko by pd9eb5809.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Aug 2012 07:53:58 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: /etc/profile Date: Thu, 23 Aug 2012 10:03:00 -0000 Message-ID: <87sjbe6tnb.fsf@Rainer.invalid> References: <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 Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00537.txt.bz2 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