delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/04/01:40:40

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=Taj6WuPTFrpDINRO4+oMlNZ3YGm7
4RPTQUjCBk+otm7/US0g21fN9orwycRubwpAdlAhCMMhW+PIoZRq/lOwh7VrXWZ6
T/EZuwysod6wlEBm7+dagQnuHbUM3s8rUO4NIIJnFgty1Vr2lNFG1A0BfVIop0ch
WkxvH4UMXVxCeZU=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=gRdmr33MBGUB7jJduGxtLzMn4Cg=; b=ED
rwxIHQTKtW+m16g2y4M1LNHvtEfqchjxZqZ8SucO1s/W7ji3q7COdOFCiQJvNBML
tAx7+xgSkyT+TB6KA3tDHEWfEkQvUBjJ1PS6vsTBwn9xwId8B3uMkb1PE//Nv8ig
qF3+iL10jyoDDDC6H9sEF4Zg/9oz0btpaOP1SB0KU=
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=2.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=twenty, respected, hell, H*MI:sk:001001d
X-HELO: gproxy10-pub.mail.unifiedlayer.com
X-Authority-Analysis: v=2.1 cv=KaJB72oD c=1 sm=1 tr=0 a=x/h8IXy5FZdipniTS+KQtQ==:117 a=x/h8IXy5FZdipniTS+KQtQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=CnPQkyIfcMwA:10 a=HuP01ReZ-C4A:10 a=7z1cN_iqozsA:10 a=S61wxYYKE9d3FA7D2mEA:9 a=QEXdDO2ut3YA:10
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: PATHEXT is fundamental to Windows and Should be recognised by CYGWIN
From: Vince Rice <vrice AT solidrocksystems DOT com>
In-Reply-To: <001001d1edf1$a4e1ae90$eea50bb0$@rogers.com>
Date: Thu, 4 Aug 2016 00:40:04 -0500
Message-Id: <1C0AE95E-0118-4353-AA77-4D41F1AE9AE1@solidrocksystems.com>
References: <001001d1edf1$a4e1ae90$eea50bb0$@rogers.com>
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
X-Identified-User: {3986:box867.bluehost.com:solidrr2:solidrocksystems.com} {sentby:smtp auth 99.106.192.34 authed with vrice AT solidrocksystems DOT com}
X-Exim-ID: 1bVBO8-0001OX-7Y
X-Source-Sender: ([192.168.1.86]) [99.106.192.34]:52275
X-Source-Auth: vrice AT solidrocksystems DOT com
X-Email-Count: 0
X-Source-Cap: c29saWRycjI7c29saWRycjI7Ym94ODY3LmJsdWVob3N0LmNvbQ==
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u745eZxZ017510

> On Aug 3, 2016, at 8:43 PM, Michel LaBarre wrote:
> 
> The CYGWIN site makes it quite difficult to discern how somebody can report
> an issue or comment.

If you think a plainly labeled “Reporting Problems” and “Mailing Lists” in the prominent sidebar is difficult, then I’m afraid it’s only going to get worse from here.

> Problem 1:  Cygwin does not support PATHEXT and really should.
> 
> Fundamental reason:  from the Cygwin FAQ - What is it?  "Cygwin is a
> distribution of popular GNU and other Open Source tools running on Microsoft
> Windows.”

> PATHEXT is as fundamental component of Windows program execution as PATH.

“To you.” Almost every sentence in that paragraph should have “to you” at the end. I’ve used Cygwin for over a dozen years, and I have never once missed having PATHEXT in mintty/bash.
You can continue to use PATHEXT to your heart’s content in CMD.
Bash isn’t CMD.

> The published solutions in the various FAQs are not satisfactory.

“To you."

> Problem 2:  Cygwin does not support CR-LF delimiters.

Yes it does, although it is heartily suggested they be left behind (pretty much any Windows program can handle Unix line endings but Notepad, and anyone using Notepad has bigger issues than line endings).
Text mounts can be created in Cygwin (although, again, not suggested). There are also a few (non-standard) things in Cygwin’s bash to try to handle CRLF scripts. You can search the archives for more information.

> CYGWIN could be a very smart supplement to that requirement.
> …
> If CYGWIN  could mitigate some of the recurring impediments new users trip over, (as evidenced by the many web-references to both my problems) it would facilitate its adoption by both Unix and non-Unix types.  

No, Cygwin _is_ a very smart supplement to that requirement. You talk as if Cygwin just showed up last week. It’s been around for almost twenty years, is widely used and widely respected.

> I disagree completely.  If you are in an interactive bash, running on a Windows computer, you sure as hell expect to be able to run "foo.bat" by typing "foo”.

No, _you_ expect to. I don’t. I know that Bash isn’t CMD.

Cygwin is providing a Posix environment on Windows. If you want a Windows environment on Windows, then use CMD. Almost all of Cygwin’s supplied programs work perfectly well in CMD, as long as you remember they’re providing a Posix environment and therefore need Unix paths, etc.



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