X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Backus <eric_backus@alum.mit.edu>
Subject:  Re: Unable to run even simple batch scripts any more
Date: Tue, 13 Feb 2007 00:56:24 +0000 (UTC)
Lines: 29
Message-ID:  <loom.20070213T010200-940@post.gmane.org>
References:  <021b01c74ef4$b38a71d0$8532a8c0@M6> <eqqqiq$65c$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Matthew Woehlke <mw_triad <at> users.sourceforge.net> writes:

> Dennis Simpson wrote:
> > Three of us updated to latest windows cygwin last week, and none can run
> > even simple .sh scripts any more.  Prior version was 6 months ago.
> 
> http://cygwin.com/ml/cygwin-announce/2006-12/msg00026.html
> 
> Next time RTFRA. Oh, and STFLA; this particular horse died a *loooong* 
> time ago.

Obviously, the horse is still alive and attempting to limp along.  I predict 
it'll stay alive for quite some time longer.

* Bash's current treatment of crlf causes unexpected breakage of things that 
worked for years, and which most naive users expect to continue to work.
* Workaround using text mounts fails because lots of cygwin commands don't 
work right under text mounts (gzip for example, but there's lots more).
* Workaround by exporting SHELLOPTS breaks things because it put interactive 
things like history expansion into non-interactive shells (try calling "man 
bash" after exporting SHELLOPTS with igncr, for example).
* Workaround inserting "set -o igncr" is impractical when there are lots of 
scripts.
* Workaround calling d2u is impractical when there are lots of scripts, and 
breaks if the scripts must work with non-cygwin shells.

I know, cygwin developers are not interested in fixing this, which is 
certainly their right.  But you can be sure that reports of this problem will 
continue to arrive.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

