www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/02/00:07:35

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:mime-version:subject:date:references:to:in-reply-to:message-id;
q=dns; s=default; b=SIM1cIMW455KDHNrbTjZa16wvKZ9NXOqy1JL7FBqfhU
Ma2TgMa60q3Xs+UQ7pel86xt5Kdr+pDf+S/X4BzVpbmG71YKWbfoQznMw40um9B/
XBfqRIq+b4o1MpTj6lVmBpptlg7bVyZs/vNfUmSRr3MTCoOMI3NHf+E3EjRSCUpI
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:mime-version:subject:date:references:to:in-reply-to:message-id;
s=default; bh=RY7VxJemVtfRycb43IfzhhiO3nE=; b=yFENtuN7+YKyFWx6f
exYpc030XC2Ld4teRziW9fBe2G4w8caHKbd+Yy1901ts865GJxCzbZaSJZBWJXlG
SysvzXUjgI+OdgWKybvHy8fX/UVFpByO+oEnRkh2MC9pxCSee6JIxqhWYvmm/A/t
oR9uVeyq9NblDZSvKsadHJVe6E=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=mateosian, Mateosian, ruby, Youve
X-HELO: outbound-ss-1812.hostmonster.com
X-Authority-Analysis: v=2.2 cv=JNNLi4Cb c=1 sm=1 tr=0 a=x/h8IXy5FZdipniTS+KQtQ==:117 a=x/h8IXy5FZdipniTS+KQtQ==:17 a=IkcTkHD0fZMA:10 a=ocR9PWop10UA:10 a=9HtPj3WGZ7ZNkTY1zEUA:9 a=QEXdDO2ut3YA:10
From: Vince Rice <vrice AT solidrocksystems DOT com>
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: Requested report
Date: Fri, 1 Dec 2017 23:07:12 -0600
References: <CAD1QJjXeJxQMS2-mZbF1F8YcKEOa=oa3OtNcEsvTwgEJf9duiw AT mail DOT gmail DOT com> <CAD1QJjWfq4oihUHQVddyv-rw-r=YpFmk0y_uLKHWAR6+gtpw_Q AT mail DOT gmail DOT com> <621196364 DOT 20171130223717 AT yandex DOT ru> <CAD1QJjXFsYLDtiWHz=1pNdLs7j43fjcx4MkFt9fdrgAijH+vXw AT mail DOT gmail DOT com> <f4868991-0b26-f80f-805f-eb875b1aa602 AT gmail DOT com> <18DA4DAE-F801-45B9-9E3D-F03BF7420D07 AT solidrocksystems DOT com> <f40cef08-3d92-8aa5-f75e-1a6bd22bea7e AT gmail DOT com>
To: cygwin AT cygwin DOT com
In-Reply-To: <f40cef08-3d92-8aa5-f75e-1a6bd22bea7e@gmail.com>
Message-Id: <9563066C-2379-4369-AEDC-21A2CCBD9DDA@solidrocksystems.com>
X-BWhitelist: no
X-Exim-ID: 1eL01F-0022kU-3y
X-Source-Sender: 99-106-192-34.lightspeed.ftwotx.sbcglobal.net ([192.168.1.89]) [99.106.192.34]:57548
X-Source-Auth: vrice AT solidrocksystems DOT com
X-Email-Count: 1
X-Source-Cap: c29saWRycjI7c29saWRycjI7Ym94ODY3LmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id vB257YIU019265

> On Dec 1, 2017, at 9:31 PM, cyg Simple wrote:
> 
> On 12/1/2017 10:35 AM, Vince Rice wrote:
>>> On Dec 1, 2017, at 8:55 AM, cyg Simple wrote:
>>> 
>>> On 11/30/2017 11:41 PM, Richard Mateosian wrote:
>>>> Thanks. I wasn't actually using Cygwin, but Ruby apparently does so under
>>>> the covers. Or maybe my path leads it astray, because I used to use Cygwin
>>>> -- a long time ago.   ...RM
>>>> 
>>> 
>>> You should not put Cygwin in your Windows PATH environment at the system
>>> level or user levels.  If you need it during a command shell session,
>>> add it after you start the command shell.  I've never heard that Ruby
>>> intentionally uses Cygwin.
>> 
>> What? I've had cygwin in my path since the B19 days (that's right, even *before* the infamous B20).
>> I regularly (and almost exclusively) use cygwin tools in the command processor; I have a mintty
>> session open, but only use it when I need to do shell-related things.
>> 
> 
> So?  You've just been lucky to not have had an issue.  Adding Cygwin to
> the Windows PATH has been ill advised since the B19 days.  Other tools
> are bound to distribute Cygwin and interfere with what you have
> installed.  It happens all the time.  Not putting Cygwin's path directly
> in the Windows PATH helps resolve some of the issues caused by multiple
> installs of Cygwin.  However, it doesn't eliminate all of the issue.

No, I haven’t been “lucky” and no, nothing is “bound to”. I’ve never installed a single tool that
distributes cygwin.

>> There's no reason not to have Cygwin in the Windows path, and lots of reasons to do so
>> (grep, cat, tail, head, etc., etc.).
> 
> There's lots of reasons to not do so as I've mentioned above.  Yes, it's
> nice to have these in a Windows command session.  You could start a
> command window via a .bat file whose purpose is to set PATH before
> starting cmd.exe.  This keeps other tools from seeing it.

You didn’t mention “lots of reasons”. You mentioned one reason — multiple installs of cygwin.
And you admitted that not having cygwin in the path doesn’t even solve all of the problems
that might arise from that issue.

If you have multiple cygwin installations, then solve that problem. There’s no reason to punish
yourself for something that *might* happen (and which has no reason to happen). And, as I
mentioned (with examples), there *are* lots of reasons TO put it in your path.

So, again, there is nothing wrong with having cygwin in the Windows path. It is silly to install
cygwin and then not be able to use the tools in day-to-day life in the command processor.
--
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