pkgsrc changes:
removed patch:
patch-Completion_Unix_Command__du
patch-Completion_Unix_Command__sort
patch-Src_builtin.c
patch-Test_B03print.ztst
quote from zsh-5.1/ChangeLog:
* 36120: Completion/Unix/Command/_sort: Fix syntax error
* 35467: Completion/Unix/Command/_du: complete files for non-GNU du
* 35412: Src/builtin.c, Test/B03print.ztst: fix for - flag
when formating strings with printf that was broken in 34841
separate a patch ( $ mv patches/patch-ac files/patch-ac )
zsh-5.1/NEWS:
Changes from 5.0.8 to 5.1
-------------------------
The builtins declare, export, local, readonly and typeset
now have corresponding reserved words. When used in
this form, the builtin syntax is extended so that assignments
following the reserved word are treated similarly to
assignments that appear at the start of the command line.
For example,
local scalar=`echo one word` array=(several words)
creates a local "scalar" containing the text "one word"
and an array "array" containing the words "several"
"words".
- The print builtin has new options -x and -X to expand tabs.
- Several new command completions and numerous updates to others.
- Options to "fc" to segregate internal and shared history.
- All emulations including "sh" use multibyte by default; several
repairs to multibyte handling.
- ZLE supports "bracketed paste" mode to avoid interpreting pasted
newlines as accept-line. Pastes can be highlighted for visibility
and to make it more obvious whether accept-line has occurred.
- Improved (though still not perfect) POSIX compatibility for getopts
builtin when POSIX_BUILTINS is set.
- New setopt APPEND_CREATE for POSIX-compatible NO_CLOBBER behavior.
- Completion of date values now displays in a calendar format when
the complist module is available. Controllable by zstyle.
- New parameter UNDO_LIMIT_NO for more control over ZLE undo repeat.
- Several repairs/improvements to the contributed narrow-to-region
ZLE function.
- Many changes to child-process and signal handling to eliminate race
conditions and avoid deadlocks on descriptor and memory management.
- New builtin sysopen in zsh/system module for detailed control of
file descriptor modes.
zsh-5.1/README:
Incompatibilites between 5.0.8 and 5.1
--------------------------------------
The default behaviour when text is pasted into an X Windows terminal has
changed significantly (unless you are using a very old terminal emulator
that doesn't support this mode). Now, the new "bracketed paste mode"
treats all the pasted text as literal characters. This means, in
particular, that a newline is simply inserted as a visible newline; you
need to hit Return on the keyboard to execute the pasted text in one go.
See the description of zle_bracketed_paste in the zshparams manual for
more. "unset zle_bracketed_paste" restores the previous behaviour.
As noted in NEWS, the builtins declare, export, float, integer, local,
readonly and typeset now have corresponding reserved words that provide
true assignment semantics instead of an approximation by means of normal
command line arguments. It is hoped that this additional consistency
provides a more natural interface. However, compatbility with older
versions of zsh can be obtained by turning off the reserved word
interface, exposing the builtin interface:
disable -r declare export float integer local readonly typeset
This is also necessary in the unusual eventuality that the builtins are
to be overridden by shell functions, since reserved words take
precedence over functions.
Changelog:
2000-05-15 Bart Schaefer <schaefer@zsh.org>
* Src/version.h: Version 3.0.8 released.
* Etc/MACHINES: Add note for OpenStep 4.2 from Brian Boonstra.
* Etc/FAQ: Latest version from PWS.
* Src/utils.c: Fix for ${(s::)...} when parameter value has
meta-characters; Sven, 11368.
2000-05-12 Bart Schaefer <schaefer@zsh.org>
* Etc/BUGS: Make note of the numeric range globbing bug reported
by Zefram in 10444 (requires too many other changes to fix now).
* Etc/NEWS: Note change in character ranges in globbing.
2000-05-11 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c, Src/params.c: "typeset -U" updates exported
colon-arrays; PWS, 11314.
* Src/jobs.c: In setprevjob(), skip jobs with either the
STAT_NOPRINT or STAT_SUBJOB bits set, as suggested in
zsh-workers/10005.
2000-04-30 Bart Schaefer <schaefer@zsh.org>
* Src/glob.c: Disable locale-sensitive character ranges; sorting
is still done by locale. This is the 3.1.7 behavior.
* Src/builtin.c: Since "read -q" always reads from the tty, always
write the prompt to the tty. Adapted from Sven, 10727.
2000-03-08 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c, configure, configure.in, config.h.in: Silence linker
warnings on FreeBSD by using _mktemp() when available.
2000-02-29 Bart Schaefer <schaefer@zsh.org>
* Doc/zsh.texi: Silence a couple of warnings.
2000-02-28 Bart Schaefer <schaefer@zsh.org>
* Src/init.c, Src/params.c: Silence some harmless compiler
warnings; Sven, 9905.
* Src/exec.c: Fix problem with handling of errflag that caused
push-line-or-edit to fail when used within a here-document; Sven;
9900 and 9903.
* Etc/NEWS: Note minor new features and configuration changes.
2000-02-27 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c: Fixes to `vared', particularly when run from a
subshell; adapted from PWS, 7308, and Sven, 8591.
* configure.in, configure, acconfig.h, config.h.in,
Src/prototypes.h: Add test for mknod() prototype, per bug report
from Olivier Delemar.
* Src/exec.c, Src/globals.h, Src/init.c, Src/builtin.c: Fix
improper redirection of xtrace output; unlock terminal device on
Solaris as per zsh-workers/5118; misc. insignificant typos.
2000-02-23 Bart Schaefer <schaefer@zsh.org>
* config.sub: Handle the latest Alpha hardware type; Sven, 9840.
2000-02-16 Bart Schaefer <schaefer@zsh.org>
* Src/subst.c: Better quoting behavior for ${(e)...}
substitutions; from Sven, 9763.
2000-02-15 Bart Schaefer <schaefer@zsh.org>
* Src/signames.awk: Missing newline.
* Src/jobs.c, Src/signames.awk: Wrap signal message array derefs
in a macro to avoid segfaults in the event we receive an
unrecognized signal.
2000-02-13 Bart Schaefer <schaefer@zsh.org>
* configure.in, configure: Import the 3.1.6 signal.h (or
equivalent) detection code.
* Etc/MACHINES: Mention potential resource.h problem on Linux.
2000-02-12 Bart Schaefer <schaefer@zsh.org>
* Src/init.c: Redo the way we attach to the tty in init_io() to
avoid competing with our parent on systems that don't prevent TTY
ioctl()s from background jobs.
2000-02-06 Bart Schaefer <schaefer@zsh.org>
* Src/builtin.c: Clear the PM_UNSET flag from the `pm' structure
before setting the parameter; PWS, 9582.
2000-02-03 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c: Interrupt read1char() when any of the usual shell
loop control flags becomes set (e.g. by a trap handler); Sven,
9522.
* Src/exec.c: A different reformulation of 9345; based on Sven,
9503 and 9521.
2000-01-29 Bart Schaefer <schaefer@zsh.org>
* Src/globals.h: Add a missing EXTERN.
* Src/globals.h, Src/jobs.c, Src/zsh.h, Src/builtin.c, Src/exec.c:
Fixes for suspending/restarting subshells; adapted from Sven, 9345.
2000-01-12 Bart Schaefer <schaefer@zsh.org>
* Src/loop.c: Fix behavior of "select" loops with respect to
reading stdin; adapted from PWS, 9295.
2000-01-08 Bart Schaefer <schaefer@zsh.org>
* Src/loop.c: Using a negative count with the "repeat" construct
should not loop. Adapted from Sven, 9188.
1999-12-12 Bart Schaefer <schaefer@zsh.org>
* Src/exec.c: Don't try to suspend/resume loops and other shell
constructs as separate processes when the parent shell is not
doing job control in the first place.
1999-11-25 Bart Schaefer <schaefer@zsh.org>
* Src/lex.c: Fix off-by-one line number when reporting unmatched
cshjunkiequote errors.
1999-11-24 Bart Schaefer <schaefer@zsh.org>
* Src/signals.c: Just for sanity, be sure not to SIGHUP ourself
when already exiting.
1999-10-25 Bart Schaefer <schaefer@zsh.org>
* Src/system.h, Src/hashtable.h, Src/init.c, Src/params.c,
INSTALL, acconfig.h, configure.in, configure, config.h.in:
Configure option to disable setlocale() support, and also do a
linkage test for it rather than simply test for the LC_ALL
constant; adapted from Zefram, 8372, by Tatsuo Furukawa.
1999-10-24 Bart Schaefer <schaefer@zsh.org>
* Makefile.in: Don't bother trying to enumerate all the files in
the ftp-dist tar, just pack up the whole zsh-$(VERSION) directory.
The enumeration caused files in subdirectories to be included
twice by tar.
1999-10-23 Bart Schaefer <schaefer@zsh.org>
* Src/zle_misc.c, Doc/zshparam.man: Add the %L prompt token, for
the value of SHLVL, as in 3.1.6; thanks to Phil Pennock
<phil@PsiDev.net> for pointing out this inconsistency.
1999-10-22 Bart Schaefer <schaefer@zsh.org>
* Src/mem.c: Fix a couple of typos in comments.
1999-10-19 Bart Schaefer <schaefer@zsh.org>
* Src/utils.c: Remove redundant variable decls; noted by Albert
Chin in 8327.
* Src/builtin.c: Tweak whitespace in string constant.
* Src/builtin.c: Recognize "maxpthreads" limit as noted by Albert
Chin in private mail; also arrange to print the "sockbufsize"
limit in "ulimit -a".
* Src/rlimits.awk: Recognize "maxpthreads" limit as noted by
Albert Chin in private mail.