pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/zsh Update to 4.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef36be852e50
branches:  trunk
changeset: 471372:ef36be852e50
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Mar 28 10:30:13 2004 +0000

description:
Update to 4.2.0
Patch provided by Geoff C. Wing in PR 24918
ok'd by uebayasi@

New features between zsh versions 4.0 and 4.2
Configuration:

* upgraded to use autoconf post-2.50
* improved compatibility with other shells through shell options, builtin
  arguments and improved builtin option parsing

Syntax and builtins:

* new printf builtin
* `+=' to append to parameters which works for scalars, arrays and (with
  pairs) associative arrays.
* enhanced multiple parameter `for' loops: for key value in key1 value1 key2
  value2 ... maintaining full compatibility with POSIX syntax.
* Suffix aliases allow the shell to run a command on a file by suffix, e.g
  `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function
  zsh-mime-setup uses existing mailcap and mime.types files to set up suitable
  aliases. Supplied function pick-web-browser is suitable for finding a browser
  to show .html etc. files by suffix alias.
* new option `no_case_glob' for case-insensitive globbing.

Add-on modules and functions:

* zsh/datetime modules makes date formatting and seconds since EPOCH available
  inside the shell.
* zsh/net/tcp module provides builtin interface to TCP through ztcp builtin.
  Function suite for interactive and script use with expect-style pattern
  matching.
* zsh/net/socket module provides zsocket builtin.
* zcalc calculator function with full line editing.
* builtin interface to pcre library
* zsh/zselect module provides zselect builtin as interface to select system call

Completion system:

* general improvements to command and context support, low-level functions,
  display code.
* in verbose mode, matches with the same description are grouped
* highly configurable completions for values of specific parameters, specific
  redirections for specific commands
* support for bash completion functions (typically zsh native functions are more
  powerful where available)
* New completions provided for (some of these may be in later 4.0 releases):
  valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale
  parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email
  addresses, file system types, Perforce, xsltproc. Plus many others.

Line editor:

* special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets
  to configure uneditable text (for narrowing)
* recursive editing
* supplied widgets read-from-minibuffer, replace-string use these features
  (more  intuitive prompting and argument reading than 4.0)
* access to killed text via $CUTBUFFER and $killring
* supplied highly configurable word widgets forward-word-match etc., can set
  what constitutes a word interactively or in startup script (implement
  bash-style behaviour, replacing previous bash-* word widgets)
* interface to incremental search via $LASTSEARCH
* better handling of keymaps in zle and widgets
* better support for output from user-defined widgets while zle is active
* tetris game which runs entirely in zle
* several other contributed widgets

Local internal improvements:

* disowned jobs are automatically restarted
* \u and \U print escapes for Unicode
* read -d allows a custom line ending.
* read -t .
* line numbers in error messages and $PS4 output are more consistent
* `=prog' expands only paths, no longer aliases for consistency
* job display in prompts; `jobs' command output can be piped
* prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_.
* rand48() function in zsh/mathfunc for better randomness in arithmetic
  (if the corresponding math library function is present)
* $SECONDS parameter can be made floating point via `typeset -F SECONDS'
  for better timing accuracy
* improvements to command line history mechanism
* job table is dynamically sized, preventing overflow (typically seen
  previously in complex completions).
* many bugfixes

diffstat:

 shells/zsh/Makefile         |   4 +-
 shells/zsh/Makefile.common  |  10 +-----
 shells/zsh/PLIST            |  70 +++++++++++++++++++++++++++++++++++++-------
 shells/zsh/PLIST.dynamic    |  28 ++++++++++++++++-
 shells/zsh/distinfo         |   9 ++---
 shells/zsh/patches/patch-ac |  13 --------
 shells/zsh/patches/patch-ad |  13 --------
 7 files changed, 93 insertions(+), 54 deletions(-)

diffs (truncated from 444 to 300 lines):

diff -r cdeceb7a0bc5 -r ef36be852e50 shells/zsh/Makefile
--- a/shells/zsh/Makefile       Sun Mar 28 08:36:47 2004 +0000
+++ b/shells/zsh/Makefile       Sun Mar 28 10:30:13 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.44 2004/02/02 08:48:40 uebayasi Exp $
+# $NetBSD: Makefile,v 1.45 2004/03/28 10:30:13 recht Exp $
 #
 .include "../../shells/zsh/Makefile.common"
 
-ZSH_VERSION=   4.0.9
+ZSH_VERSION=   4.2.0
 ZSH_MAINTAINER=        uebayasi%NetBSD.org@localhost
 
 .include "../../mk/bsd.pkg.mk"
diff -r cdeceb7a0bc5 -r ef36be852e50 shells/zsh/Makefile.common
--- a/shells/zsh/Makefile.common        Sun Mar 28 08:36:47 2004 +0000
+++ b/shells/zsh/Makefile.common        Sun Mar 28 10:30:13 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2004/02/19 06:37:27 jlam Exp $
+# $NetBSD: Makefile.common,v 1.8 2004/03/28 10:30:13 recht Exp $
 
 DISTNAME=       zsh-${ZSH_VERSION}
 CATEGORIES=    shells
@@ -18,13 +18,6 @@
 USE_PKGINSTALL=                YES
 GNU_CONFIGURE=         YES
 
-# The zsh build process inspects the generated config.status file for the
-# presence of some strings to decide how to build zsh.  This is, of course,
-# a stupid thing to do, but we must not override config.status to "fix"
-# this build.
-#
-CONFIG_STATUS_OVERRIDE=        # empty
-
 USE_MAKEINFO=          YES
 INFO_FILES=            zsh.info
 
@@ -54,6 +47,7 @@
                ${PREFIX}/share/doc/zsh
 
 # Utilize Zsh's test framework.
+# Testing of dynamic shell only works after install has been done
 #
 .PHONY: do-test do-su-test real-su-test
 
diff -r cdeceb7a0bc5 -r ef36be852e50 shells/zsh/PLIST
--- a/shells/zsh/PLIST  Sun Mar 28 08:36:47 2004 +0000
+++ b/shells/zsh/PLIST  Sun Mar 28 10:30:13 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2004/03/10 01:02:34 seb Exp $
+@comment $NetBSD: PLIST,v 1.12 2004/03/28 10:30:13 recht Exp $
 bin/zsh
 bin/${PKGNAME}
 man/man1/zsh.1
@@ -34,12 +34,14 @@
 share/zsh/${PKGVERSION}/functions/_approximate
 share/zsh/${PKGVERSION}/functions/_apt
 share/zsh/${PKGVERSION}/functions/_apt-show-versions
-share/zsh/${PKGVERSION}/functions/_archie
+share/zsh/${PKGVERSION}/functions/_aptitude
 share/zsh/${PKGVERSION}/functions/_arg_compile
 share/zsh/${PKGVERSION}/functions/_arguments
 share/zsh/${PKGVERSION}/functions/_arp
 share/zsh/${PKGVERSION}/functions/_arping
 share/zsh/${PKGVERSION}/functions/_arrays
+share/zsh/${PKGVERSION}/functions/_assign
+share/zsh/${PKGVERSION}/functions/_attr
 share/zsh/${PKGVERSION}/functions/_auto-apt
 share/zsh/${PKGVERSION}/functions/_autocd
 share/zsh/${PKGVERSION}/functions/_autoload
@@ -60,6 +62,7 @@
 share/zsh/${PKGVERSION}/functions/_cdrecord
 share/zsh/${PKGVERSION}/functions/_chflags
 share/zsh/${PKGVERSION}/functions/_chkconfig
+share/zsh/${PKGVERSION}/functions/_chmod
 share/zsh/${PKGVERSION}/functions/_chown
 share/zsh/${PKGVERSION}/functions/_combination
 share/zsh/${PKGVERSION}/functions/_command
@@ -72,7 +75,6 @@
 share/zsh/${PKGVERSION}/functions/_compress
 share/zsh/${PKGVERSION}/functions/_condition
 share/zsh/${PKGVERSION}/functions/_configure
-share/zsh/${PKGVERSION}/functions/_contexts
 share/zsh/${PKGVERSION}/functions/_correct
 share/zsh/${PKGVERSION}/functions/_correct_filename
 share/zsh/${PKGVERSION}/functions/_correct_word
@@ -100,7 +102,9 @@
 share/zsh/${PKGVERSION}/functions/_dir_list
 share/zsh/${PKGVERSION}/functions/_directories
 share/zsh/${PKGVERSION}/functions/_directory_stack
+share/zsh/${PKGVERSION}/functions/_dirs
 share/zsh/${PKGVERSION}/functions/_disable
+share/zsh/${PKGVERSION}/functions/_dispatch
 share/zsh/${PKGVERSION}/functions/_domains
 share/zsh/${PKGVERSION}/functions/_dpkg
 share/zsh/${PKGVERSION}/functions/_dpkg_source
@@ -114,6 +118,7 @@
 share/zsh/${PKGVERSION}/functions/_echoti
 share/zsh/${PKGVERSION}/functions/_elinks
 share/zsh/${PKGVERSION}/functions/_elm
+share/zsh/${PKGVERSION}/functions/_email_addresses
 share/zsh/${PKGVERSION}/functions/_emulate
 share/zsh/${PKGVERSION}/functions/_enable
 share/zsh/${PKGVERSION}/functions/_enscript
@@ -126,6 +131,7 @@
 share/zsh/${PKGVERSION}/functions/_fetchmail
 share/zsh/${PKGVERSION}/functions/_figlet
 share/zsh/${PKGVERSION}/functions/_file_descriptors
+share/zsh/${PKGVERSION}/functions/_file_systems
 share/zsh/${PKGVERSION}/functions/_files
 share/zsh/${PKGVERSION}/functions/_find
 share/zsh/${PKGVERSION}/functions/_finger
@@ -139,11 +145,13 @@
 share/zsh/${PKGVERSION}/functions/_generic
 share/zsh/${PKGVERSION}/functions/_getclip
 share/zsh/${PKGVERSION}/functions/_getconf
+share/zsh/${PKGVERSION}/functions/_getent
 share/zsh/${PKGVERSION}/functions/_getfacl
 share/zsh/${PKGVERSION}/functions/_global
 share/zsh/${PKGVERSION}/functions/_global_tags
 share/zsh/${PKGVERSION}/functions/_gnu_generic
 share/zsh/${PKGVERSION}/functions/_gpg
+share/zsh/${PKGVERSION}/functions/_gphoto2
 share/zsh/${PKGVERSION}/functions/_gprof
 share/zsh/${PKGVERSION}/functions/_gqview
 share/zsh/${PKGVERSION}/functions/_grep
@@ -166,6 +174,7 @@
 share/zsh/${PKGVERSION}/functions/_irssi
 share/zsh/${PKGVERSION}/functions/_ispell
 share/zsh/${PKGVERSION}/functions/_java
+share/zsh/${PKGVERSION}/functions/_java_class
 share/zsh/${PKGVERSION}/functions/_jobs
 share/zsh/${PKGVERSION}/functions/_jobs_bg
 share/zsh/${PKGVERSION}/functions/_jobs_builtin
@@ -176,10 +185,13 @@
 share/zsh/${PKGVERSION}/functions/_kld
 share/zsh/${PKGVERSION}/functions/_larch
 share/zsh/${PKGVERSION}/functions/_last
+share/zsh/${PKGVERSION}/functions/_less
+share/zsh/${PKGVERSION}/functions/_limit
 share/zsh/${PKGVERSION}/functions/_limits
 share/zsh/${PKGVERSION}/functions/_links
 share/zsh/${PKGVERSION}/functions/_list
 share/zsh/${PKGVERSION}/functions/_loadkeys
+share/zsh/${PKGVERSION}/functions/_locales
 share/zsh/${PKGVERSION}/functions/_logical_volumes
 share/zsh/${PKGVERSION}/functions/_look
 share/zsh/${PKGVERSION}/functions/_losetup
@@ -215,13 +227,16 @@
 share/zsh/${PKGVERSION}/functions/_mplayer
 share/zsh/${PKGVERSION}/functions/_mt
 share/zsh/${PKGVERSION}/functions/_mtools
+share/zsh/${PKGVERSION}/functions/_mtr
 share/zsh/${PKGVERSION}/functions/_multi_parts
 share/zsh/${PKGVERSION}/functions/_mutt
 share/zsh/${PKGVERSION}/functions/_my_accounts
 share/zsh/${PKGVERSION}/functions/_mysql_utils
+share/zsh/${PKGVERSION}/functions/_mysqldiff
 share/zsh/${PKGVERSION}/functions/_ncftp
 share/zsh/${PKGVERSION}/functions/_nedit
 share/zsh/${PKGVERSION}/functions/_net_interfaces
+share/zsh/${PKGVERSION}/functions/_netcat
 share/zsh/${PKGVERSION}/functions/_netscape
 share/zsh/${PKGVERSION}/functions/_newsgroups
 share/zsh/${PKGVERSION}/functions/_next_label
@@ -244,12 +259,13 @@
 share/zsh/${PKGVERSION}/functions/_path_files
 share/zsh/${PKGVERSION}/functions/_pbm
 share/zsh/${PKGVERSION}/functions/_pdf
+share/zsh/${PKGVERSION}/functions/_perforce
 share/zsh/${PKGVERSION}/functions/_perl
 share/zsh/${PKGVERSION}/functions/_perl_basepods
-share/zsh/${PKGVERSION}/functions/_perl_builtin_funcs
 share/zsh/${PKGVERSION}/functions/_perl_modules
 share/zsh/${PKGVERSION}/functions/_perldoc
 share/zsh/${PKGVERSION}/functions/_physical_volumes
+share/zsh/${PKGVERSION}/functions/_pick_variant
 share/zsh/${PKGVERSION}/functions/_pids
 share/zsh/${PKGVERSION}/functions/_pine
 share/zsh/${PKGVERSION}/functions/_pkgtool
@@ -258,6 +274,7 @@
 share/zsh/${PKGVERSION}/functions/_precommand
 share/zsh/${PKGVERSION}/functions/_prefix
 share/zsh/${PKGVERSION}/functions/_print
+share/zsh/${PKGVERSION}/functions/_printenv
 share/zsh/${PKGVERSION}/functions/_printers
 share/zsh/${PKGVERSION}/functions/_prompt
 share/zsh/${PKGVERSION}/functions/_ps
@@ -266,6 +283,7 @@
 share/zsh/${PKGVERSION}/functions/_psutils
 share/zsh/${PKGVERSION}/functions/_putclip
 share/zsh/${PKGVERSION}/functions/_python
+share/zsh/${PKGVERSION}/functions/_raggle
 share/zsh/${PKGVERSION}/functions/_rar
 share/zsh/${PKGVERSION}/functions/_rcs
 share/zsh/${PKGVERSION}/functions/_read
@@ -284,10 +302,12 @@
 share/zsh/${PKGVERSION}/functions/_sccs
 share/zsh/${PKGVERSION}/functions/_sched
 share/zsh/${PKGVERSION}/functions/_screen
+share/zsh/${PKGVERSION}/functions/_sed
 share/zsh/${PKGVERSION}/functions/_sep_parts
 share/zsh/${PKGVERSION}/functions/_service
 share/zsh/${PKGVERSION}/functions/_services
 share/zsh/${PKGVERSION}/functions/_set
+share/zsh/${PKGVERSION}/functions/_set_command
 share/zsh/${PKGVERSION}/functions/_setopt
 share/zsh/${PKGVERSION}/functions/_setup
 share/zsh/${PKGVERSION}/functions/_sh
@@ -307,11 +327,13 @@
 share/zsh/${PKGVERSION}/functions/_subscript
 share/zsh/${PKGVERSION}/functions/_subversion
 share/zsh/${PKGVERSION}/functions/_sudo
+share/zsh/${PKGVERSION}/functions/_suffix_alias_files
 share/zsh/${PKGVERSION}/functions/_sysctl
 share/zsh/${PKGVERSION}/functions/_tags
 share/zsh/${PKGVERSION}/functions/_tar
 share/zsh/${PKGVERSION}/functions/_tar_archive
 share/zsh/${PKGVERSION}/functions/_telnet
+share/zsh/${PKGVERSION}/functions/_terminals
 share/zsh/${PKGVERSION}/functions/_tex
 share/zsh/${PKGVERSION}/functions/_texi
 share/zsh/${PKGVERSION}/functions/_texinfo
@@ -319,15 +341,19 @@
 share/zsh/${PKGVERSION}/functions/_tiff
 share/zsh/${PKGVERSION}/functions/_tilde
 share/zsh/${PKGVERSION}/functions/_tilde_files
+share/zsh/${PKGVERSION}/functions/_time_zone
 share/zsh/${PKGVERSION}/functions/_tin
+share/zsh/${PKGVERSION}/functions/_tla
 share/zsh/${PKGVERSION}/functions/_trap
 share/zsh/${PKGVERSION}/functions/_ttyctl
 share/zsh/${PKGVERSION}/functions/_typeset
 share/zsh/${PKGVERSION}/functions/_ulimit
 share/zsh/${PKGVERSION}/functions/_uml
 share/zsh/${PKGVERSION}/functions/_unhash
+share/zsh/${PKGVERSION}/functions/_uniq
 share/zsh/${PKGVERSION}/functions/_unsetopt
 share/zsh/${PKGVERSION}/functions/_update-alternatives
+share/zsh/${PKGVERSION}/functions/_update-rc.d
 share/zsh/${PKGVERSION}/functions/_urls
 share/zsh/${PKGVERSION}/functions/_urpmi
 share/zsh/${PKGVERSION}/functions/_user_admin
@@ -342,6 +368,7 @@
 share/zsh/${PKGVERSION}/functions/_vnc
 share/zsh/${PKGVERSION}/functions/_volume_groups
 share/zsh/${PKGVERSION}/functions/_vorbis
+share/zsh/${PKGVERSION}/functions/_vux
 share/zsh/${PKGVERSION}/functions/_w3m
 share/zsh/${PKGVERSION}/functions/_wait
 share/zsh/${PKGVERSION}/functions/_wanted
@@ -350,6 +377,7 @@
 share/zsh/${PKGVERSION}/functions/_whereis
 share/zsh/${PKGVERSION}/functions/_which
 share/zsh/${PKGVERSION}/functions/_whois
+share/zsh/${PKGVERSION}/functions/_wiggle
 share/zsh/${PKGVERSION}/functions/_x_arguments
 share/zsh/${PKGVERSION}/functions/_x_borderwidth
 share/zsh/${PKGVERSION}/functions/_x_color
@@ -396,22 +424,23 @@
 share/zsh/${PKGVERSION}/functions/_zpty
 share/zsh/${PKGVERSION}/functions/_zstyle
 share/zsh/${PKGVERSION}/functions/allopt
-share/zsh/${PKGVERSION}/functions/bash-backward-kill-word
-share/zsh/${PKGVERSION}/functions/bash-backward-word
-share/zsh/${PKGVERSION}/functions/bash-down-case-word
-share/zsh/${PKGVERSION}/functions/bash-forward-word
-share/zsh/${PKGVERSION}/functions/bash-kill-word
-share/zsh/${PKGVERSION}/functions/bash-transpose-words
-share/zsh/${PKGVERSION}/functions/bash-up-case-word
+share/zsh/${PKGVERSION}/functions/backward-kill-word-match
+share/zsh/${PKGVERSION}/functions/backward-word-match
 share/zsh/${PKGVERSION}/functions/bashcompinit
+share/zsh/${PKGVERSION}/functions/capitalize-word-match
 share/zsh/${PKGVERSION}/functions/checkmail
 share/zsh/${PKGVERSION}/functions/colors
 share/zsh/${PKGVERSION}/functions/compaudit
 share/zsh/${PKGVERSION}/functions/compdump
 share/zsh/${PKGVERSION}/functions/compinit
 share/zsh/${PKGVERSION}/functions/compinstall
+share/zsh/${PKGVERSION}/functions/copy-earlier-word
 share/zsh/${PKGVERSION}/functions/cycle-completion-positions
+share/zsh/${PKGVERSION}/functions/delete-whole-word-match
+share/zsh/${PKGVERSION}/functions/down-case-word-match
+share/zsh/${PKGVERSION}/functions/down-line-or-beginning-search
 share/zsh/${PKGVERSION}/functions/edit-command-line
+share/zsh/${PKGVERSION}/functions/forward-word-match
 share/zsh/${PKGVERSION}/functions/getjobs
 share/zsh/${PKGVERSION}/functions/harden
 share/zsh/${PKGVERSION}/functions/history-search-end
@@ -419,8 +448,13 @@
 share/zsh/${PKGVERSION}/functions/incremental-complete-word
 share/zsh/${PKGVERSION}/functions/insert-files
 share/zsh/${PKGVERSION}/functions/is-at-least
+share/zsh/${PKGVERSION}/functions/kill-word-match
+share/zsh/${PKGVERSION}/functions/match-words-by-style
 share/zsh/${PKGVERSION}/functions/mere
+share/zsh/${PKGVERSION}/functions/narrow-to-region
+share/zsh/${PKGVERSION}/functions/narrow-to-region-invisible
 share/zsh/${PKGVERSION}/functions/nslookup



Home | Main Index | Thread Index | Old Index