delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/22/17:19:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RCVD_IN_NIX_SPAM
X-Spam-Check-By: sourceware.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+YKXh/n+BkXERlvw2cLoEB
Date: Wed, 22 Aug 2012 17:18:31 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /etc/profile
Message-ID: <20120822211831.GA13946@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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>
MIME-Version: 1.0
In-Reply-To: <20120822205507.GA23279@pris.crapsteak.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, Aug 22, 2012 at 10:55:08PM +0200, David Sastre Medina wrote:
>On Wed, Aug 22, 2012 at 01:13:37PM -0700, Daniel Colascione wrote:
>> On 8/22/12 12:10 PM, David Sastre Medina wrote:
>> > On Tue, Aug 21, 2012 at 10:16:28AM +0000, Achim Gratz wrote:
>> >> I'm removing the Windows PATH in my startup scripts since there's nothing in
>> >> there that I think should be accessible from Cygwin.
>> > 
>> > All three changes will be available in the next release (profile_d
>> > modification taken from your last version in this thread).
>> 
>> Are you sure that's actually a good idea? I don't agree with this logic:
>> People execute Windows programs using Cygwin all the time. With this
>> change, basic things like "cmd" and "notepad" will fail to work.
>> Working with Windows programs is the *point* of Cygwin. I really don't
>> think this change should go into the default startup scripts.
>
>I for one never start windows programs from within a shell, with the
>exception of firefox, and for that I registered an entry in the
>alternatives system (x-www-browser), however, I take your advice and
>I'll give this a second thought, and also would like to hear from
>others' opnion wrt to this.
>Obviously, ORIGINAL_PATH (as proposed in Achim's patch) would
>still hold the native Windows' PATH, so it'd be very easy to include a
>(commented?) line using it, so it would be easy to switch it:
>
>#PATH="/usr/local/bin:/usr/bin:${ORIGINAL_PATH}"

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

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.  Otherwise, removing the Windows path entirely
really won't please very many people.

cgf

--
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