This is a maintenance release for the (stable) 4.0 branch. Most of the
changes are bug fixes, including a fix for a bug which caused the test
suite to fail. On fully supported systems, all tests should now pass.
There is one new feature: the option KSH_TYPESET provides compatibility
with other shells for assignment arguments of `typeset', `export' and
related builtins.
The changes from previous stable release (3.0.8) are almost 15,000
lines of changelog. (Not included here, see ChangeLog-3.1 in source
distribution).
Provided by Masao Uebayashi <uebayasi@soum.co.jp> in PR pkg/13113 with
some changes by me.
Zsh is a UNIX command interpreter (shell) which of the standard shells
most resembles the Korn shell (ksh), although it is not completely
compatible. It includes enhancements of many types, notably in the
command-line editor, options for customising its behaviour, filename
globbing, features to make C-shell (csh) users feel more at home and
extra features drawn from tcsh (another `custom' shell).
Package provided in private mail by Masao Uebayashi <uebayasi@soum.co.jp>
as a followup to pkg/12721.
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.
Extract of CHANGES:
Bugfixes; command completion should now take half the stat(2)s it took
before; lots of changes to the POSIX mode; SSH2_CLIENT not auto-exported
any more (like SSH_CLIENT before); realpath builtin; 'set' without
options returns valid input, and lots others.
resolving a conflict with lang/scheme48. This should not cause any
(difficult) problems. Decrease no. of lines in DESCR to satisfy
`pkglint'. Bump up version number.
And retroactively say what is new in 6.10:
- The most important security fix had to do with temporary file handling
for here-documents. You should update tcsh if you are using it as a
root shell, and you have malicious users on your system.
- The complete list of changes is here:
57. V6.10.00 - 20001119
56. Completion fixes (Tom Warzeka)
55. add missing linux kanji define (Tsuyoshi Kawabe)
54. More WINNT_NATIVE fixes (amol)
53. Fix compile error on winnt (Yoshiyuki Sakakibara)
52. nonstopux configure and makefile fixes (Tom Bates)
51. V6.09.04 - 20001111
50. Order of initialization for multibyte display was wrong
(HyunChul Kim)
49. Follow the guideline for linux for japanese locale:
http://www.linux.or.jp/JF/JFdocs/Japanese-Locale-Policy.txt
(Tomohiro KUBOTA)
48. Ukrainian nls map (Olexander Kunytsa)
47. exit immeditiately if we get an error while we are setting up
(Michael Shalayeff)
46. (unset path; unsetenv PATH; rehash) -> crash (Kent Vander Velden)
45. change winnt to winnt_native (Randolph Fritz)
44. Support home/end in the editor (Andrey A. Chernov)
43. Typo s/gycwin/cygwin/ in tc.os.h (Andreas Schott)
42. Alpha ev6 addition (Karen R. McArthur)
41. DSPMBYTE patch from (Issei Suzuki)
40. Security fix for here-doc tmp files (proton@ENERGYMECH.NET)
39. Fix resource limit rounding *again* (Johannes Gross)
38. Fix $ expansion in prompt (Takashi Sumiyoshi)
37. V6.09.03 - 20000715
36. cygwin port fixes (Arihiro Yoshida)
35. Add a new "catalog" variable that specifies which NLS catalog
to be used (Issei Suzuki)
34. cleanup and addition of page up/down (amol)
33. fix vfork compile problem.
32. use inet_addr instead of inet_aton for portability.
31. V6.09.02 - 20000704
30. lots more completions (George Cox)
29. change FILSIZ to BUFSIZE [now that BUFSIZE >> MAXPATHLEN] and
avoid a potential buffer overflow in sh.dir.c (Volker Schmidt)
28. _MINIX_VMD port (Martijn van Buul)
27. inet6 handling for remotehost and configure (Hajimu UMEMOTO)
26. aix-4 does not need gethostname (Darren Reed)
25. IBM OS/390 Unix Systems Services support (Peter Prymmer)
24. Fix prompt formatting (Andrey A. Chernov)
23. Use HostType from Imakefile correctly (Kjetil Torgrim Homme)
22. Handle long and expanded history lines better (Boleslaw Ciesielski)
21. With symlinks=expand expand valid paths only (Martin Kraemer)
20. Make one-byte charsets work with KANJI (Andrey A. Chernov)
19. NT-specific executable detection moved to NT code (amol)
18. New "complete module" (Dan Nicolaescu)
17. Correctly display scaling string in limit error messages (Nathan Ahlstrom)
16. Don't display "unset watch" message when not appropriate (kim)
15. V6.09.01 - 20000114
14. Circumvent IRIX4D ESTALE bug by exiting.
13. IRIS4D de-linting.
12. Finnish nls catalogs (Jukka A. Ukkonen)
11. Even more multibyte fixes (Taga Nayuta)
10. Patches to statically link tcsh under solaris-2.6 (John Hawkinson)
9. Manual page typos (R. Bernstein)
8. HP/UX-11 (9000/800) HP/UX-10.20 (9000/820) (Haflidi Sigtryggur Magnusson)
7. Color-ls fixes (Luis Francisco Gonzalez)
6. Don't re-use time0 to compare to stat's st_mtime, cause it could be
the value returned from times(2) which is the ticks since system
startup (Frank van der Linden)
5. Time percentage wrap fix (Simon Burge)
4. EUCKR support (HyunChul Kim)
3. Grammar and typo fixes for tcsh.man (Steve Kelem)
2. More multibyte fixes (Rodney Ruddock)
1. Change 6.08 -> 6.09 where I missed it; update for utlrix 4.5 (Simon Burge)