delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/22/16:55:12

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_PGP_SIGNED,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Date: Wed, 22 Aug 2012 22:55:08 +0200
From: David Sastre Medina <d DOT sastre DOT medina AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /etc/profile
Message-ID: <20120822205507.GA23279@pris.crapsteak.org>
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>
MIME-Version: 1.0
In-Reply-To: <50353D71.9000306@dancol.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes
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

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 noth=
ing in
> >> there that I think should be accessible from Cygwin.
> >=20
> > All three changes will be available in the next release (profile_d
> > modification taken from your last version in this thread).
>=20
> 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=3D"/usr/local/bin:/usr/bin:${ORIGINAL_PATH}"

--=20
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iF4EAREIAAYFAlA1RygACgkQ95urBFKZ7FZeeAD/dz3BgVIQGbPQDEi2ZU1VStXg
E8ihtd9Tkbhx2CPi898A/1Bnxf3TUM8Na2vRsqecB4zfduIMef9JyJlQ7UmpKO0S
=p1AY
-----END PGP SIGNATURE-----

--n8g4imXOkfNTN/H1--

- Raw text -


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