delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/22/00:50:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 21 Apr 2004 21:45:58 -0700 (PDT)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: Jan Nieuwenhuizen <janneke AT gnu DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: zsh & lilypond
In-Reply-To: <87d661fjum.fsf@peder.flower>
Message-ID: <Pine.LNX.4.53.0404212115130.3423@gremlin.fruitbat.org>
References: <i93a80lo4o9l80g6j6975np4fk9smmrc4a AT 4ax DOT com> <Pine DOT LNX DOT 4 DOT 53 DOT 0404201125400 DOT 1010 AT gremlin DOT fruitbat DOT org> <87d661fjum DOT fsf AT peder DOT flower>
MIME-Version: 1.0
X-IsSubscribed: yes

On Wed, 21 Apr 2004, Jan Nieuwenhuizen wrote:

> Peter A. Castro writes:
>
> > Alternatively, you could ask the LilyPond maintainer to have this fixed.
>
> Alternatively, you could switch to a shell that's not so broken.

Hey!  Watch it!  Thems fighin' woids!

> > They [...] think zsh doesn't set $0 correctly for shell scripts, but I
> > believe this has been working for quite a while now
>
> FYI, `they' added code to work around documented brokenness of that
> @!"`%&#$ zsh, on user request.  This was only a few months ago

Such language!  This is a public list, after all :)

Seriously, can you point me to this documented problem?  I can't seem to
locate it.  And, it appears this may be a platform specific issue, as I
can't seem to reproduce it under Linux or Cygwin for anything V4.0.3 and
up (and, yes I've just been trying it).

And, I'd have to question why you have to special case for zsh in the
first place.  Seems to me, you should put out a big fat notice saying
"CUSTOMIZE ME!!!" to make people cognizant of the fact that they need to
do some editing.  No need to make use of some cryptic shell feature which
is iffy to begin with.  Oh, and I've been trying this same little trick
with bash and some other shells, and it fails there in a number of cases
too.  Or perhaps look for a $HOME/.lilypond file to see if they've made
whatever mods are needed and note that they have to touch/create
$HOME/.lilypond.  There are lots of ways to handle this.

>    http://mail.gnu.org/archive/html/bug-lilypond/2003-08/msg00007.html
>
> > and it's time the LilyPond people corrected this.
>
> so unless you or one of the other two zsh users can provide a patch
> that works with all zsh versions still in use, I'm afraid you'll have
> to suffer some longer.

Oh, that's simple: remove the if test :)

> Jan -- working hard on his meanness

And doing quite nicely, I might add.

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood

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

- Raw text -


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