zsh-workers
 help / color / mirror / code / Atom feed
* zsh-3.1.5-pws-5 available
@ 1999-01-23 11:25 Peter Stephenson
  1999-01-24 12:50 ` Andrej Borsenkow
  1999-01-25  0:41 ` PATCH: Missing bits " Bart Schaefer
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Stephenson @ 1999-01-23 11:25 UTC (permalink / raw)
  To: Zsh hackers list

The following files are available under
http://www.ifh.de/~pws/computing/

-rw-r--r--   1 pws   quadrics   278504 Jan 23 12:28 zsh-3.1.5-pws-5.doc.tar.bz2
-rw-r--r--   1 pws   quadrics   420623 Jan 23 12:28 zsh-3.1.5-pws-5.doc.tar.gz
-rw-r--r--   1 pws   quadrics   650712 Jan 23 12:28 zsh-3.1.5-pws-5.tar.bz2
-rw-r--r--   1 pws   quadrics   801843 Jan 23 12:28 zsh-3.1.5-pws-5.tar.gz

It includes pretty much everything up to Friday, excluding Sven's last
patch for completion after redirection.  I tested it under AIX 3.2
(dynamic and static) and HPUX 10.20 (dynamic).  (I couldn't try out
configure under the IRIX system at IfH since gcc -g doesn't work any
more there.)

There is one incompatility with previous pws-* versions:  -tc is
neither needed nor allowed with compctl -T.  However, this should make
it actually more compatible with versions up to and including 3.1.5.

Below is the list of patches included.  Beyond that, I made some minor
changes to .cvsdist files to reflect new files (whether they ever get
checked into CVS is another matter, but might as well make it look
right); also, Sven's Src/example for his new completion system has
become Misc/new-completion-examples .

Any word on the problem with dynamic libraries under Digital UNIX?

  pws-5

Name of top level directory is now zsh-3.1.5-pws-5

Missing part of Bart's sethparam() changes, 4851

zftp test subcommand, 4852

Geoff's refresh fix for a line the same length as the terminal width,
4855

Bart's fix for array slices, 4874

Sven's accept-and-menu-complete-fix, 4878

Sven's group completion fix, 4879

Sven's module condition fixes, 4880

Oliver Kiddle's autoconf fix, 4887

My zftp fix (actually due to Andrej Borsenkow) for systems which only
allow dup'ing sockets after they are connected, 4888.

Bart's fix to making setting associative array elements inside
substitutions consistent, 4893

My typeset neatness and -a and -m fix, 4902

My brief Etc/MACHINES addition, 4912

My modification to findcmd() for memory leaks, 4923, plus comment
alteration by Bart, 4924

Sven's patch for completion after various reserved words, 4930

My patch for compiler warnings, 4931

My configuration fix for when tgetent() accepts a null argument but
then tgetstr() dumps core, 4939

Sven's alteration of `-t' behaviour, 4940.  This is slightly
incompatible with previous patched versions of 3.1.5 since now you don't
need '-tc' with -T.  However, you now do need '-tn' in cases where you
don't want normal completion tried after a -T matches.

Sven's new completion functions, 4850, 4881, 4941, 4942, 4943, 4944,
4946, 4949, 4950, plus my addition of function pointers, 4945.  The
example file is now in Misc/new-completion-examples.

(Effect of) fix from Helmut Jarausch in 4947 partly due to change
missed in patch.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


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

* RE: zsh-3.1.5-pws-5 available
  1999-01-23 11:25 zsh-3.1.5-pws-5 available Peter Stephenson
@ 1999-01-24 12:50 ` Andrej Borsenkow
  1999-01-25 10:05   ` Helmut Jarausch
  1999-01-25  0:41 ` PATCH: Missing bits " Bart Schaefer
  1 sibling, 1 reply; 7+ messages in thread
From: Andrej Borsenkow @ 1999-01-24 12:50 UTC (permalink / raw)
  To: Peter Stephenson, Zsh hackers list


The patch below makes it possible to compile ZSH dynamic on ReliantUNIX. It
avoids building shared lib by exporting executables symbols.

I don't claim, that it works on all versions. It should work on 5.43 and
above, that are current.

Question:

   sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
                                            ^^^^^^^^

ldflags does not appear to be used (or set) anywhere else. What is the point
of it? Also, as I noted, configure seems to ignore values of CPPFLAGS and
LDFLAGS. Is it intentional?

/andrej

--- zsh-3.1.5-pws-5/configure.in.org    Thu Jan 21 12:02:34 1999
+++ zsh-3.1.5-pws-5/configure.in        Sun Jan 24 15:38:01 1999
@@ -1008,9 +1008,10 @@
     aix*)         DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
     solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
   esac
-  case "$host_os" in
-    hpux*)  EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
-    linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+  case "$host" in
+    *-hpux*)  EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
+    *-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+    mips-sni-sysv4) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-Blargedynsym}" ;;
   esac
   AC_CACHE_CHECK(if your dlsym() needs a leading underscore,
    zsh_cv_func_dlsym_needs_underscore,


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

* PATCH: Missing bits Re: zsh-3.1.5-pws-5 available
  1999-01-23 11:25 zsh-3.1.5-pws-5 available Peter Stephenson
  1999-01-24 12:50 ` Andrej Borsenkow
@ 1999-01-25  0:41 ` Bart Schaefer
  1999-01-25  1:48   ` Bart Schaefer
  1 sibling, 1 reply; 7+ messages in thread
From: Bart Schaefer @ 1999-01-25  0:41 UTC (permalink / raw)
  To: zsh-workers, Peter Stephenson

On Jan 23, 12:25pm, Peter Stephenson wrote:
} Subject: zsh-3.1.5-pws-5 available
}
} It includes pretty much everything up to Friday, excluding Sven's last
} patch for completion after redirection.

This patch covers:

4951	Sven	Tweak completion of words following a redirection operator
4794 	Bart	Fix associative array handling in setsparam()
????	Bart	Fix the 4974 fix by adding missing parens

The ???? there refers to this article, whatever number it gets ... one part
of the patch in 4974 was included, another was not, probably because of the
missed parens that are added in the patch below.

Index: Src/Zle/zle_tricky.c
--- ../zsh-3.1.5-pws-5/Src/Zle/zle_tricky.c	Fri Jan 22 05:13:49 1999
+++ ./Src/Zle/zle_tricky.c	Sun Jan 24 10:47:22 1999
@@ -1039,7 +1039,8 @@
 		rd = linredir;
 		if (inwhat == IN_NOTHING && incond)
 		    inwhat = IN_COND;
-	    }
+	    } else if (linredir)
+		continue;
 	    if (!tokstr)
 		continue;
 	    /* Hack to allow completion after `repeat n do'. */

diff -ru ../patched/zsh-3.1.5-pws-5/Src/params.c ./Src/params.c
--- ../patched/zsh-3.1.5-pws-5/Src/params.c	Wed Jan 13 00:20:25 1999
+++ ./Src/params.c	Sun Jan 24 10:25:10 1999
@@ -1500,7 +1500,7 @@
     } else {
 	if (!(v = getvalue(&s, 1)))
 	    createparam(t, PM_SCALAR);
-	else if (PM_TYPE(v->pm->flags) == PM_ARRAY &&
+	else if ((PM_TYPE(v->pm->flags) & (PM_ARRAY|PM_HASHED)) &&
 		 !(v->pm->flags & PM_SPECIAL) && unset(KSHARRAYS)) {
 	    unsetparam(t);
 	    createparam(t, PM_SCALAR);

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* Re: PATCH: Missing bits Re: zsh-3.1.5-pws-5 available
  1999-01-25  0:41 ` PATCH: Missing bits " Bart Schaefer
@ 1999-01-25  1:48   ` Bart Schaefer
  0 siblings, 0 replies; 7+ messages in thread
From: Bart Schaefer @ 1999-01-25  1:48 UTC (permalink / raw)
  To: zsh-workers

On Jan 24,  4:41pm, Bart Schaefer wrote:
} Subject: PATCH: Missing bits Re: zsh-3.1.5-pws-5 available
}
} 4794 	Bart	Fix associative array handling in setsparam()
} ????	Bart	Fix the 4974 fix by adding missing parens
} 
} ... one part of the patch in 4974 was included, another was not ...

Of course both of those 4974 should be 4794.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* RE: zsh-3.1.5-pws-5 available
  1999-01-24 12:50 ` Andrej Borsenkow
@ 1999-01-25 10:05   ` Helmut Jarausch
  1999-01-25 16:38     ` Peter Stephenson
  0 siblings, 1 reply; 7+ messages in thread
From: Helmut Jarausch @ 1999-01-25 10:05 UTC (permalink / raw)
  To: zsh-workers

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

pws-5 runs fine here on my (outdated) IRIX6.2 box. (I am upgrading to 6.5 in two
weeks)

I still have to apply the old patch by Kristian Gjøsteen

which adds the following two lines at the end of function inittyptab in utils.c
typtab[0] = 4640;
typtab[32] = 10284;

which overwrites a previous setting.
Is this a bug in IRIX6.2 (then I'll wait until 6.5) or is it a lack
of configuration?

The same question applies to the following misconfigures:

I have to change config.h (as ever)

#define RLIM_T_IS_QUAD_T 1
to
#undef  RLIM_T_IS_QUAD_T

and

#undef  RLIM_T_IS_UNSIGNED
to
#define RLIM_T_IS_UNSIGNED 1


and I have to add
#define GETPGRP_VOID 1
#define DYNAMIC 1


Thanks,
Helmut.





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

* Re: zsh-3.1.5-pws-5 available
  1999-01-25 10:05   ` Helmut Jarausch
@ 1999-01-25 16:38     ` Peter Stephenson
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Stephenson @ 1999-01-25 16:38 UTC (permalink / raw)
  To: zsh-workers

I just reconfigured on IRIX 6.2 and the configuration all seems to be
fine here, out of the box (this is with cc as compiler), so I have no
clues as to why typtab, RLIM_T_IS_QUAD_T, RLIM_T_IS_UNSIGNED,
GETPGRP_VOID or DYNAMIC should require speical treatment sometimes.
I should qualify that:  I haven't compiled it yet, but no previous
pws-* version required any modification to typtab on that system.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


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

* Re:  zsh-3.1.5-pws-5 available
@ 1999-01-25  9:16 Sven Wischnowsky
  0 siblings, 0 replies; 7+ messages in thread
From: Sven Wischnowsky @ 1999-01-25  9:16 UTC (permalink / raw)
  To: zsh-workers


Peter Stephenson wrote:

> 
> Any word on the problem with dynamic libraries under Digital UNIX?

At least for me it works now out-of-the-box. As far as I remember we
didn't install anything special (i.e. only from the DEC CD), so it may 
work for others, too.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

end of thread, other threads:[~1999-01-25 16:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-23 11:25 zsh-3.1.5-pws-5 available Peter Stephenson
1999-01-24 12:50 ` Andrej Borsenkow
1999-01-25 10:05   ` Helmut Jarausch
1999-01-25 16:38     ` Peter Stephenson
1999-01-25  0:41 ` PATCH: Missing bits " Bart Schaefer
1999-01-25  1:48   ` Bart Schaefer
1999-01-25  9:16 Sven Wischnowsky

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