delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/23/01:54:29

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Achim Gratz <Stromeko AT nexgo DOT de>
Subject: Re: /etc/profile
Date: Thu, 23 Aug 2012 07:53:44 +0200
Lines: 30
Message-ID: <87sjbe6tnb.fsf@Rainer.invalid>
References: <loom DOT 20120821T114938-389 AT post DOT gmane DOT org> <20120822191002 DOT GA5467 AT pris DOT crapsteak DOT org> <50353D71 DOT 9000306 AT dancol DOT org> <20120822205507 DOT GA23279 AT pris DOT crapsteak DOT org> <20120822211831 DOT GA13946 AT ednor DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
X-IsSubscribed: yes
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

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

- Raw text -


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