This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[ANNOUNCEMENT] Updated: zsh-5.0.6-1
- From: "Peter A. Castro" <doctor at fruitbat dot org>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Sep 2014 21:49:37 -0700 (PDT)
- Subject: [ANNOUNCEMENT] Updated: zsh-5.0.6-1
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sourceware.org; auth=none
- Reply-to: cygwin at cygwin dot com
An updated version of zsh (zsh-5.0.6-1) has been released and should be
at a mirror near you real soon. This is an upstream release.
NOTICE:
=======
Version 5.0.6 has just been released for both 32-bit and 64-bit Cygwin.
This release contains several fixes, but is mostly to address the problem
that existed in versions 5.0.3 through 5.0.5.
NEWS:
=====
(From the release notes: http://zsh.sourceforge.net/releases.html)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Changes between versions 5.0.5 and 5.0.6
----------------------------------------
Incompatibilities
-+-+-+-+-+-+-+-+-+
The value of $? when a job becomes stopped is now the signal number plus
128, for compatibility with other shells. Note that different operating
systems use different values e.g. for SIGTSTP, so it is not possible in
portable scripts to detect stopped jobs by comparing to a fixed number.
Also, the value of $pipestatus is now updated when a job stops, not just
when it exits.
Changes
-+-+-+-
If the option EXTENDED_GLOB is in effect, it is possible to force
globbing within conditional code using the [[ ... ]] syntax by flagging
that a certain string is a glob using the (#q) glob qualifier syntax. The
resulting glob is treated as a single argument. For example, [[ -n
*.c(#qN) ]] tests whether there are any .c files in the current directory.
In prompt strings, the %N(l.true.false) conditional (line length) and
the %N<..< and %N>..> truncation operators now accept negative values of
N, which count the remaining space to the opposite margin (positive values
of N still count the space used since the start of the prompt). In PS1 and
PROMPT, this counts to the right margin, whereas in RPS1 and RPROMPT, it
counts to the left margin (not to the opposite prompt).
Another new prompt feature is the %. escape within time strings, for
example %D{%H:%M:%S.%.}. It provides zero-padded decimal fractions of
second; by default milliseconds are shown, but the number of digits may be
indicated from 1 to 6, e.g. "%6.". (Note this is part of the extensions to
strftime() formats rather than basic prompt escapes.)
The operators :^ and :^^ in parameter substitution allow for array
zipping in the form ${name:^array}. With the :^ operator, all entries in
$name and $array will be output in alternating order. With :^ the longer
array is trimmed whereas the :^^ operator repeats the shorter array enough
to match the longer array.
Changes between versions 5.0.2 and 5.0.5
----------------------------------------
Releases 5.0.3 and 5.0.4 were replaced with 5.0.5 because they contained
serious bugs.
Incompatibilities
-+-+-+-+-+-+-+-+-
The "zshaddhistory" hook mechanism documented in the zshmisc manual page
has been upgraded so that a hook returning status 2 causes a history line
to be saved on the internal history list but not written to the history
file. Previously any non-zero status return would cause the line not to be
saved on the history at all. It is recommended to use status 1 for this
(indeed most shell users would naturally do so).
Changes
-+-+-+-
The option FORCE_FLOAT has been added to force all arithmetic
constants to be treated as floating point. This is most useful locally
within functions or scripts performing floating point calculations.
Individual pattern characters can be disabled. For example, to allow
'^' to be an ordinary character even if the option EXTENDED_GLOB is set,
use "disable -p '^'".
The variable editing builtin vared can be given custom editing widgets
for initialisation and finishing.
The line editor's capability for listening on file descriptors
additional to the terminal has been enhanced so that the handler for such
file descriptors can be a line editor widget. Previously the handler
always behaved as a standard shell function.
Hooks for adding history (the function zshaddhistory and the array
zshaddhistory_functions) can return status 2 to indicate that history is
to be saved internally within the shell but not written.
The parameter HISTORY_IGNORE may be set to a pattern which matches
lines in the internal history that are to be omitted from the history file
at file write time. This differs from history changes made in the
zshaddhistory hook or by the HIST_IGNORE_* options, all of which take
effect immediately on the internal history list itself.
The parameter ZLE_RPROMPT_INDENT can be set to 0 to remove the space
between the right hand side of the screen (this causes problems with some
terminals). It is not special and is not set by default; the effect in
that case is as if it was 1, as in previous versions.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
See ChangeLogs for full details.
ChangeLogs:
http://www.fruitbat.org/Cygwin/zsh/ChangeLog-5.0.6
Homepage:
http://www.zsh.org
DESCRIPTION:
============
Zsh is a UNIX command interpreter (shell) usable as an interactive login
shell and as a shell script command processor. Of the standard shells,
zsh most closely resembles `ksh' but includes many enhancements. Zsh has
command line editing, builtin spelling correction, programmable command
completion, shell functions (with autoloading), a history mechanism, and
a host of other features.
UPDATE:
=======
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page. This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'zsh' in the
'Shell' category (you will have select it).
DOWNLOAD:
=========
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations. This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html
QUESTIONS:
==========
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.
CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=================================
To unsubscribe from the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send email
to the address specified there. It will be in the format:
cygwin-announce-unsubscribe-YOU=YOURDOMAIN.COM at cygwin.com
If you need more information on unsubscribing, start reading here:
http://sourceware.org/lists.html#unsubscribe-simple
Please read *all* of the information on unsubscribing that is available
starting at that URL.
--
--=> Peter A. Castro
Email: doctor at fruitbat dot org / Peter dot Castro at oracle dot com
"Cats are just autistic Dogs" -- Dr. Tony Attwood
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple