help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-announce@sunsite.auc.dk (Zsh announcements list)
Subject: Zsh 3.0.8 and 3.1.9 released
Date: Mon, 05 Jun 2000 22:35:22 +0100	[thread overview]
Message-ID: <E12z4Wp-0004ae-00.2000-06-05-22-35-24@cmailg1.svr.pol.co.uk> (raw)

Versions 3.0.8 and 3.1.9 of zsh have been released.  Zsh is an enhanced
UNIX shell, intended to be compatible with the Korn shell, with particular
emphasis on features for interactive use.

3.0 is the current stable production version.  3.0.8 consists mainly of bug
fixes, but there are a few user-visible changes to ease awkward features and
for improved configuration.

3.1 is still officially in beta.  However, it is hoped that it will provide
the basis of version 4.0 of the shell without any major new work.
Consequently sites likely to upgrade are encouraged to install this version
at least for the purposes of evaluation.  Major changes in this version
include continued development of the new completion system, internal
improvements in memory usage, enhancements to pattern matching, support for
floating point numbers with a library of floating point functions, and a
test suite.

There follows a more detailed list of changes in these versions of the
shell.  After that, the Meta-FAQ is appended.  This gives details of FTP
sites where the latest version can be found.  If you are reading this via a
web browser, you might want to go straight to http://www.zsh.org/ where
there is a list of FTP mirrors.


New features in zsh version 3.1.8 and 3.1.9
These are primarily bug-fix versions.  There are only a few user-visible
changes.  Note that the last announced version (last August) was 3.1.6.
 - Array slices ${array[a,b]} with b < a now correctly have zero length.

New features in zsh version 3.1.7

Further enhancements to new completion system:
 - Comprehensive context-sensitive configuration via `styles', which
   can be set by the menu-driven front end in compinstall
 - General mechanism for setting patterns to be ignored in a completion;
   overriding  of patterns to be matched for functions
 - New completers: _prefix to complete word before cursor, _ignored
   to complete using words so far ignored (like $fignore but more
   powerful), _history to complete words from shell history
 - Multiple use of completers with different options, similarly splitting
   of different types of completion (`tags') so they are considered with
   different styles
 - Many more supplied completions for standard commands which work out of
   the box, and better handling of command line options/arguments which
   behave in the usual way   
 - $fpath now set up to use installed functions by default; functions
   can be loaded just by `autoload -U compinit; compinit'
 - Much improved handling of nested quoting and nested braces
 - New LIST_PACKED and LIST_ROWS_FIRST completion options and corresponding
 - compctl library separated out (frozen but still supported)
 - User-friendly introduction available at zsh website

Additions to complist listing library (coloured completion and menu
 - Listings can be shown page by page (are by default for new completion)
 - Menu selection allows full up and down scrolling of long lists

Other editing features:
 - new parameters $PENDING, $MARK, $BUFFERLINES
 - Easy display of a prompt from within an editing widget

Code parsing, storing and execution:
 - Completely new system of storing code internally, greatly optimised
 - Much less memory for shell functions etc.
 - Can compile shell functions to .zwc `wordcode' functions for fast
 - Can create `digest' files of entire directories in .zwc format

 - Floating point support added, similar to ksh93, `typeset -F' and
   `typeset -E' declare floating point variables; usual C/Fortran-like
   rules for integer/float conversion
 - Mathematical library zsh/mathfunc contains all the standard mathematical
   functions for use in arithmetical expressions
 - Improved parsing of arithmetical expressions and better error messages
 - Special parameters can be made local
 - `typeset -h' hides specialness of parameters, either as parameter
   attribute or when declaring new local variable
 - Local parameters can now be exported as in other shells; new option
   GLOBAL_EXPORTS on by default provides old behaviour that `typeset -x'
   referred to global parameters.
 - zsh/parameter module enhanced: now needed for new completion; parameters
   provided have `-h' flag set so that they are hidden by `typeset', so
   that existing functions don't need to be changed
 - Quotes can be stripped from parameter values with ${(Q)...}, providing
   reverse of ${(q...)...} facility

Globbing and pattern matching:
 - Pattern matching rewritten for efficiency
 - Supports `backreferences', i.e. extracting parenthesised chunks of
   matches, e.g.
     [[ $foo = (#b)(*/)[^/]* ]]
   stores the part of $foo up to the last / in $match[1] and the indexes of
   the match in $mbegin[1], $mend[1].  (#m) is also available to set $MATCH
   to the entire match and corresponding $MBEGIN, $MEND:  useful in
   parameter substitutions like ${.../.../...}.
 - (#s) and (#e) match start and end of pattern like ^ and $ in regular
   expression, useful in complex expressions such as ((#s)|/)dirname((#e)|/)
   and in parameter expressions.

 - Depth-first/last listing of recursive glob lists

Functions etc.:
 - `autoload -X' inside a function body instructs the shell to
   bootstrap the function at that point
 - `autoload +X fn' says load the function fn but don't execute it
 - Prompt `themes' make customization of prompts easier

 - New hierarchical naming scheme for modules; supplied modules go into
   zsh subdirectory, so zle becomes zsh/zle etc.; aliases supplied for
   compatibility for existing code, but the new format should be used in
 - zmodload is more consistent between dynamically and statically linked
 - zsh/zftp and its function suite support multiple sessions (zfsession
   command); zftransfer allows transfer of files between two ftp sessions
   with no local file; use styles for e.g. progress style; IPv6 supported;
   recursive put `zfput -r' for uploads
 - zsh/zpty module creates pseudoterminal and allows builtin `expect'-like

 - Test suite, not yet complete (`make test')
 - use of Linux task limits
 - Many fixes including output redirection with `setopt xtrace' and
   other redirection fixes; NIS+ problem.
 - Better null-command behaviour in sh and csh emulation
 - Internal memory usage optimisations

New features in zsh version 3.0.8

User-visible changes:
  - the "maxpthreads" limit is now recognized.
  - the token "%L" is recognized in prompts and expands to the current
    value of the SHLVL parameter.
  - parameter expansions using the ${(e)...} flag now obey quoting rules;
    in previous versions, such expansions always acted as if double-quoted.
  - ranges (e.g. [A-Z]) in file patterns are no longer locale-specific.

Configuration changes:
  - test for mknod() prototype.
  - more comprehensive signal name detection, copied from 3.1.6.
  - more comprehensive rlim_t type detection, copied from 3.1.7.
  - support additional hardware platforms in config.sub, from 3.1.6.
  - better detection of setlocale() support, and a switch to turn it off.
  - better detection of tgetstr() support, from 3.1.6 (as of 3.0.7).
  - use newer autoconf test for functions in libnsl (as of 3.0.7).

Otherwise, versions 3.0.7 and 3.0.8 provide bug fixes only.

META-FAQ for the Z Shell

The latest version of this META-FAQ can be found at any of the FTP sites
listed below.


Zsh was originally written by Paul Falstad <pf@zsh.org>.
Zsh is now maintained by the members of the zsh-workers mailing
list <zsh-workers@sunsite.auc.dk>.  The development is currently
coordinated by Peter Stephenson <pws@zsh.org>.  The coordinator
can be contacted at <coordinator@zsh.org>, but matters relating to
the code should generally go to the mailing list.


Zsh is available from the following anonymous FTP sites.  These mirror
sites are kept frequently up to date.  The sites marked with (H) may be
mirroring ftp.cs.elte.hu instead of the primary site.

      Primary site

            ftp://ftp.ips.gov.au/pub/packages/zsh/  (H)




            ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/  (H)




            ftp://ftp.nisiq.net/pub/shells/zsh/  (H)








Mailing Lists

Zsh has 3 mailing lists:

            Announcements about releases, major changes in the shell and the
            monthly posting of the Zsh FAQ.  (moderated)

            User discussions.

            Hacking, development, bug reports and patches.

To subscribe or unsubscribe, send mail
to the associated administrative address for the mailing list.



All submissions to zsh-announce are automatically forwarded to
zsh-users.  All submissions to zsh-users are automatically
forwarded to zsh-workers.

If you have problems subscribing/unsubscribing to any of the mailing
lists, send mail to <listmaster@zsh.org>.  The mailing lists are
maintained by Karsten Thygesen <karthy@kom.auc.dk>.

The mailing lists are archived; the archives can be accessed via the
administrative addresses listed above.  There is also a hypertext
archive, maintained by Geoff Wing <gcw@zsh.org>, available at

The Zsh FAQ

Zsh has a list of Frequently Asked Questions (FAQ), maintained by
Peter Stephenson <pws@zsh.org>.  It is regularly posted to the
newsgroup comp.unix.shell and the zsh-announce mailing list.
The latest version can be found at any of the Zsh FTP sites, or at
http://www.zsh.org/FAQ/.  The contact address for FAQ-related matters
is <faqmaster@zsh.org>.

The Zsh Web Page

Zsh has a web page which is located at http://www.zsh.org/.  This is
maintained by Karsten Thygesen <karthy@zsh.org>, of SunSITE Denmark.
The contact address for web-related matters is <webmaster@zsh.org>.

The Zsh Userguide

A userguide is currently in preparation.  It is intended to complement the
manual, with explanations and hints on issues where the manual can be
cabbalistic, hierographic, or downright mystifying (for example, the word
`hierographic' does not exist).  It can be viewed in its current state at
http://sunsite.auc.dk/zsh/Guide/.  As of this writing, chapters dealing
with startup files and their contents and the new completion system are
essentially complete.

                 reply	other threads:[~2000-06-05 21:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E12z4Wp-0004ae-00.2000-06-05-22-35-24@cmailg1.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-announce@sunsite.auc.dk \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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