zsh-workers
 help / color / mirror / code / Atom feed
* zsh-3.1.2-zefram4
@ 1998-04-11  1:24 Gene Cohler
  1998-04-14  9:33 ` zsh-3.1.2-zefram4 Andrew Main
  0 siblings, 1 reply; 12+ messages in thread
From: Gene Cohler @ 1998-04-11  1:24 UTC (permalink / raw)
  To: zsh-workers

Hi:

On hpux 10.20 I see a couple of funnies:

I)
When I <TAB> to try complete (e.g $LINES) cursor position gets messged up:

% echo $L       <cursor here after TAB>
LANG      LINENO    LISTMAX   LOGCHECK  LOGSHELL
LESS      LINES     LOCAL     LOGNAME   LPDEST
% echo $L       ANG

I use vi mode -  sometimes when I <ESC>k it also gets confused - it thinks 
beginning of line is to the right just like above.

II)
Was something funny when I tried to compile in a directory that had a soft link 
in the middle - mkmakemod.sh generated a thing given to sed of the form 
./../../../../a/b/c which didnt resolve to anything sensible. I took the cheap 
approach and compiled in /var/tmp.

Thanks for all the work everyone.
--
  Gene
  gene@sapience.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
  1998-04-11  1:24 zsh-3.1.2-zefram4 Gene Cohler
@ 1998-04-14  9:33 ` Andrew Main
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Main @ 1998-04-14  9:33 UTC (permalink / raw)
  To: Gene Cohler; +Cc: zsh-workers

Gene Cohler wrote:
>When I <TAB> to try complete (e.g $LINES) cursor position gets messged up:

What's your prompt setting?

>Was something funny when I tried to compile in a directory that had a soft link 
>in the middle - mkmakemod.sh generated a thing given to sed of the form 
>./../../../../a/b/c which didnt resolve to anything sensible. I took the cheap 
>approach and compiled in /var/tmp.

Oh, yes, I forgot about that problem.  FITNR.

-zefram


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
  1998-04-20 19:49     ` zsh-3.1.2-zefram4 Andrew Main
@ 1998-04-21 11:36       ` Peter Stephenson
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Stephenson @ 1998-04-21 11:36 UTC (permalink / raw)
  To: Zsh hackers list

Andrew Main wrote:
> Precedence.  ^ binds tighter than /, | and so on.  ~ binds looser than
> anything except |.  You made a ^ immediately after a ( bind looser
> than *anything*, which made "(^foo|bar)" and "((|)^foo|bar)" behave
> differently.

Now I remember what was hiding in `I've forgotten exactly what I did'.

> >`(foo~bar)BAZ' is actually treated as
> >> `fooBAZ~barBAZ', rather than the exclusion being properly localised.
> >?????? How could it possibly mean anything else?
> 
> It matters when what follows the parentheses has more than one way to
> match.  This includes the case of having two negations in the pattern or,
> and this is the killer, a negation inside a loop.  Consider "(*~foo)b*"
> versus "*b*~foob*" -- "foobb" should match the former ("foob" matches
> "(*~foo)") but not the latter.

I've got it now.  Maybe I can even broadly see how to fix it.

-- 
Peter Stephenson <pws@ifh.de>       Tel: +39 50 844536
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
  1998-04-20 18:54   ` zsh-3.1.2-zefram4 Peter Stephenson
@ 1998-04-20 19:49     ` Andrew Main
  1998-04-21 11:36       ` zsh-3.1.2-zefram4 Peter Stephenson
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Main @ 1998-04-20 19:49 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zsh-workers

Peter Stephenson wrote:
>The idea was that with the ksh and zsh models being incompatible
>anyway, it was asking for trouble trying to mix them.

If we add an unambigous syntax for qualifiers, it will be possible to
mix them.  Anyway, I simplified the code, as well as the documentation,
quite a bit.

>?? It didn't have any semantics before, it didn't work at all inside
>parentheses.

It works just as well as *~, unless I'm missing a critical test case.
As I mentioned earlier, there's a serios bug in ~ processing.

>but what's wrong with the meaning `negate the following' that it needs
>the extra parentheses?

Precedence.  ^ binds tighter than /, | and so on.  ~ binds looser than
anything except |.  You made a ^ immediately after a ( bind looser
than *anything*, which made "(^foo|bar)" and "((|)^foo|bar)" behave
differently.

>> This turned up a very old
>> bug in the exclusion handling: `(foo~bar)BAZ' is actually treated as
>> `fooBAZ~barBAZ', rather than the exclusion being properly localised.
>
>?????? How could it possibly mean anything else?

It matters when what follows the parentheses has more than one way to
match.  This includes the case of having two negations in the pattern or,
and this is the killer, a negation inside a loop.  Consider "(*~foo)b*"
versus "*b*~foob*" -- "foobb" should match the former ("foob" matches
"(*~foo)") but not the latter.

-zefram


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
  1998-04-09  9:25 ` zsh-3.1.2-zefram4 Andrew Main
  1998-04-10  3:21   ` zsh-3.1.2-zefram4 Richard Coleman
  1998-04-10 16:08   ` zsh-3.1.2-zefram4 Andrej Borsenkow
@ 1998-04-20 18:54   ` Peter Stephenson
  1998-04-20 19:49     ` zsh-3.1.2-zefram4 Andrew Main
  2 siblings, 1 reply; 12+ messages in thread
From: Peter Stephenson @ 1998-04-20 18:54 UTC (permalink / raw)
  To: Zsh hackers list

just got back...

Andrew Main wrote:
> Peter's KSH_GLOB patch is included, but I backed out a lot of the changes.
> I'd like to have options affect as little as possible, preferably just one
> thing each: KSH_GLOB in this version *only* affects the interpretation
> of parens preceded by the magic characters (in fact, the option is
> only tested on one line of the source).  Parens *not* preceded by the
> magic characters are unaffected by the option.  Glob qualifies are also
> unaffected: that `-', mandatory with KSH_GLOB and forbidden without,
> was just too nasty to use.

The idea was that with the ksh and zsh models being incompatible
anyway, it was asking for trouble trying to mix them.  If you write
correct ksh scripts it won't be a problem, though, so it's fine by me.

> I also backed out the special handling of `(^...)', which changed
> the semantics of `^' in an extremely non-obvious way.  You can use
> `(^(...))' to invert the whole group.

?? It didn't have any semantics before, it didn't work at all inside
parentheses.  I can't remember what I did now (which is a bad sign),
but what's wrong with the meaning `negate the following' that it needs
the extra parentheses?

> This turned up a very old
> bug in the exclusion handling: `(foo~bar)BAZ' is actually treated as
> `fooBAZ~barBAZ', rather than the exclusion being properly localised.

?????? How could it possibly mean anything else?  What are parentheses
supposed to mean, anyway?  (foo|bar)BAZ is fooBAZ|barBAZ and in the
same way (foo~bar)BAZ is fooBAZ~barBAZ.  Or are you just referring to
the way it's evaluated in practice (which is as you say and could
therefore probably be simplified, but that doesn't make it a bug)?

-- 
Peter Stephenson <pws@ifh.de>       Tel: +39 50 844536
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy
 


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
  1998-04-09  9:25 ` zsh-3.1.2-zefram4 Andrew Main
  1998-04-10  3:21   ` zsh-3.1.2-zefram4 Richard Coleman
@ 1998-04-10 16:08   ` Andrej Borsenkow
  1998-04-20 18:54   ` zsh-3.1.2-zefram4 Peter Stephenson
  2 siblings, 0 replies; 12+ messages in thread
From: Andrej Borsenkow @ 1998-04-10 16:08 UTC (permalink / raw)
  To: Andrew Main; +Cc: zsh-workers

Andrew Main wrote:
> 
> Time for the next unofficial release.  Version 3.1.2-zefram4 exists, and,
> as before, ftp space is hereby requested.  I have made patches relative
> to 3.1.2 and 3.1.2-zefram3.  The full release tar also contains man
> pages and texinfo this time.
> 

Just to let you know, that it builds quite fine. Thanks!

-- 
============================================================
Andrej Borsenkow 		Fax:   +7 (095) 796 99 20
SNI ITS Moscow			Tel:   +7 (095) 796 99 24

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@sni.de
============================================================


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
  1998-04-10  3:21   ` zsh-3.1.2-zefram4 Richard Coleman
@ 1998-04-10 13:00     ` Louis-David Mitterrand
  0 siblings, 0 replies; 12+ messages in thread
From: Louis-David Mitterrand @ 1998-04-10 13:00 UTC (permalink / raw)
  To: zsh-workers

On Thu, Apr 09, 1998 at 11:21:50PM -0400, Richard Coleman wrote:
> > The Zoltan Situation
> > ====================
> >
> > I think it's pretty obvious by now that Zoltan will not be taking an
> > active part in zsh development in the foreseeable future.  It's time to
> > start thinking about a permanent replacement in the post of maintainer.
> > Opinions are hereby solicited.
>
> Unless you don't want to do it, you're elected (or drafted, as the
> case may be).

As a simple user I've always noticed Zefram's dedication and
helpfulness, even on trivial questions. I also trust his judgement on
what patches to include into zsh because his decisions are always
soundly argumented and well explained. Zefram is the ideal "Primus inter
pares" to take over zsh maintenance.

--
Louis-David Mitterrand
http://www.aparima.com
mito@aparima.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
  1998-04-09  9:25 ` zsh-3.1.2-zefram4 Andrew Main
@ 1998-04-10  3:21   ` Richard Coleman
  1998-04-10 13:00     ` zsh-3.1.2-zefram4 Louis-David Mitterrand
  1998-04-10 16:08   ` zsh-3.1.2-zefram4 Andrej Borsenkow
  1998-04-20 18:54   ` zsh-3.1.2-zefram4 Peter Stephenson
  2 siblings, 1 reply; 12+ messages in thread
From: Richard Coleman @ 1998-04-10  3:21 UTC (permalink / raw)
  To: zsh-workers

> The Zoltan Situation
> ====================
> 
> I think it's pretty obvious by now that Zoltan will not be taking an
> active part in zsh development in the foreseeable future.  It's time to
> start thinking about a permanent replacement in the post of maintainer.
> Opinions are hereby solicited.

Unless you don't want to do it, you're elected (or drafted, as the
case may be).

Once you find a site to host it, I'll point my automatic mirror at
that site.

Richard Coleman
coleman@math.gatech.edu


^ permalink raw reply	[flat|nested] 12+ messages in thread

* zsh-3.1.2-zefram4
@ 1998-04-09 18:02 Francisco Solsona
  0 siblings, 0 replies; 12+ messages in thread
From: Francisco Solsona @ 1998-04-09 18:02 UTC (permalink / raw)
  To: zsh-workers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 134 bytes --]

	
	The zsh-3.1.2-zefram4 is also available at:

	ftp://dep1.fciencias.unam.mx/pub/zsh (México North America)

Best wishes,
Francisco


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
       [not found] <Pine.LNX.3.96.980409184105.1983B-100000@fruit.ml.org>
@ 1998-04-09 16:55 ` Andrew Main
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Main @ 1998-04-09 16:55 UTC (permalink / raw)
  To: zsh-workers

Wessel Dankers has made the 3.1.2-zefram4 files available for download
at <URL:ftp://ftp.fruit.ml.org/pub/zsh/>.

-zefram


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: zsh-3.1.2-zefram4
       [not found] <19980409102529.13189.qmail@primenet.com.au>
@ 1998-04-09 10:48 ` Andrew Main
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Main @ 1998-04-09 10:48 UTC (permalink / raw)
  To: zsh-workers

Thanks to Geoff, zsh-3.1.2-zefram4 is now available at
<URL:ftp://mason.primenet.com.au/pub/zsh/> and
<URL:http://mason.primenet.com.au/pub/zsh/>.

-zefram


^ permalink raw reply	[flat|nested] 12+ messages in thread

* zsh-3.1.2-zefram4
@ 1998-04-09  9:25 ` Andrew Main
  1998-04-10  3:21   ` zsh-3.1.2-zefram4 Richard Coleman
                     ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Andrew Main @ 1998-04-09  9:25 UTC (permalink / raw)
  To: zsh-workers

-----BEGIN PGP SIGNED MESSAGE-----

Time for the next unofficial release.  Version 3.1.2-zefram4 exists, and,
as before, ftp space is hereby requested.  I have made patches relative
to 3.1.2 and 3.1.2-zefram3.  The full release tar also contains man
pages and texinfo this time.

Sizes:

145125 zsh-3.1.2-3.1.2-zefram4.diff.gz
 37128 zsh-3.1.2-zefram3-3.1.2-zefram4.diff.gz
832208 zsh-3.1.2-zefram4.tar.gz

MD5 checksums:

0599b5675ed14971135076834f095d7f  zsh-3.1.2-3.1.2-zefram4.diff.gz
b0726775a56e5647d2608e8e482dc7c4  zsh-3.1.2-zefram3-3.1.2-zefram4.diff.gz
ea1fd24e02836cb819e765bf72328fcf  zsh-3.1.2-zefram4.tar.gz

Changes
=======

There are lots of fixes for the build process.  There are a few
outstanding bug reports from zefram3, but I can't be sure which
reported bugs have actually been fixed.  Therefore please report any
build problems with zefram4, even if you previously reported the same
problem with zefram3.

Most nifty compctls that have been posted are included, though I don't
think any of them are unmodified.  Could the various authors please
check that I haven't broken anything.

Peter's KSH_GLOB patch is included, but I backed out a lot of the changes.
I'd like to have options affect as little as possible, preferably just one
thing each: KSH_GLOB in this version *only* affects the interpretation
of parens preceded by the magic characters (in fact, the option is
only tested on one line of the source).  Parens *not* preceded by the
magic characters are unaffected by the option.  Glob qualifies are also
unaffected: that `-', mandatory with KSH_GLOB and forbidden without,
was just too nasty to use.  I added an option BARE_GLOB_QUAL to enable
interpretation of glob qualifiers -- in a future version I'd like to add
an unambiguous syntax (maybe `(&...)') to make glob qualifiers available
in ksh emulation mode.

I also backed out the special handling of `(^...)', which changed
the semantics of `^' in an extremely non-obvious way.  You can use
`(^(...))' to invert the whole group.  This turned up a very old
bug in the exclusion handling: `(foo~bar)BAZ' is actually treated as
`fooBAZ~barBAZ', rather than the exclusion being properly localised.
This bug is not fixed in the zefram4 release -- it has taken long enough
already.  It'll be fixed in the next release, by me unless someone
else gets to it first.  The Misc/globtests scripts do a proper test of
exclusions, and so some of those tests currently fail.

The Zoltan Situation
====================

I think it's pretty obvious by now that Zoltan will not be taking an
active part in zsh development in the foreseeable future.  It's time to
start thinking about a permanent replacement in the post of maintainer.
Opinions are hereby solicited.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: ascii

iQEVAwUBNSwPVpmk9GeOHh7BAQEzPwf/RKKxZM6FIcpa4n+GzicHPzpDGkd2LpM5
4rM8IMh/sJ5xItI6UFLTwN/v2vgAIi4/3u0fysiVdlgLOiKL0UXt+otI7QwMGRG2
UXIX4zwnd9s9Ck4nKQIOf+dxYpjMnVBkHYdn1WiILLAW2OOM3rkI0B/8Np+U3IEu
eSupESQiYJMe+iWUxzrdqn+zMLcXkp97sWiiJg6qcHLXJU6+GB1SxR4Z/NaTsFGM
3ueqvyunsRKhMhJgpeEzxaX4bWyzWFZsWvuji6lzm+Rbk8IeAXuigC0gBE49BTFr
sJgIqinO5EWAa0Uhy0sWC2+f83SBYDY1DB9xzoG+B8QZydRmHs4bfw==
=H+go
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1998-04-21 11:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-11  1:24 zsh-3.1.2-zefram4 Gene Cohler
1998-04-14  9:33 ` zsh-3.1.2-zefram4 Andrew Main
  -- strict thread matches above, loose matches on Subject: below --
1998-04-09 18:02 zsh-3.1.2-zefram4 Francisco Solsona
     [not found] <Pine.LNX.3.96.980409184105.1983B-100000@fruit.ml.org>
1998-04-09 16:55 ` zsh-3.1.2-zefram4 Andrew Main
     [not found] <19980409102529.13189.qmail@primenet.com.au>
1998-04-09 10:48 ` zsh-3.1.2-zefram4 Andrew Main
     [not found] <zefram@tao.co.uk>
1998-04-09  9:25 ` zsh-3.1.2-zefram4 Andrew Main
1998-04-10  3:21   ` zsh-3.1.2-zefram4 Richard Coleman
1998-04-10 13:00     ` zsh-3.1.2-zefram4 Louis-David Mitterrand
1998-04-10 16:08   ` zsh-3.1.2-zefram4 Andrej Borsenkow
1998-04-20 18:54   ` zsh-3.1.2-zefram4 Peter Stephenson
1998-04-20 19:49     ` zsh-3.1.2-zefram4 Andrew Main
1998-04-21 11:36       ` zsh-3.1.2-zefram4 Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).