zsh2.00.03 available--more documentation included

Paul Falstad pfalstad at phoenix.princeton.edu
Sun May 26 14:18:54 AEST 1991


zsh2.00.03 is now available for anonymous FTP from princeton.edu
(128.112.128.1), as "/pub/zsh/zsh2.00.03.tar.Z".  Patches are also
available as "/pub/zsh/zsh02-03.patch.tar.Z", and have been posted
to comp.sources.misc.

Included in this patchlevel is a 36-page TeX document,
"An Introduction to the Z Shell", which gives a lot of examples
and information on why anyone would want to use zsh.  The first
two parts of this patch contain this document, and may be unsharred
separately.

Part of the README follows.

---
To get this shell running, cd into the src directory and type
"buildzsh".  I tested it on the following machines, where it compiled
just by running this script:

Sun SPARCServer 4/490 running SunOS 4.1.1
Sun 3/60C running SunOS 4.1.1
Sun 3/50M running SunOS 4.0
NeXTstation running Mach 2.0
hp9000 running BSD 4.3
DECSystem-5000 running ULTRIX 4.0

02-03:
   - two stupid bugs that were introduced in the last patch were fixed:
     - multiple command substitution on a line failed
     - a file descriptor leak caused the shell to crash after a while
   - added 'An Introduction to the Z Shell'
   - behaves properly when the tty session dies suddenly
   - had a serious memory leak on some systems
   - the test and [ builtins have been added, although [[...]]
     is more efficient
   - in your prompt, %m2 now prints foo.bar, %m3 prints foo.bar.com, etc.
   - the -D and -P options to print have been added
   - the NULLCMD and ZDOTDIR parameters have been added
   - ${*:-foo} works
   - "$@" and "$arr[@]" work like ksh
   - .zprofile is sourced before .zshrc in login shells
   - the CSHJUNKIEQUOTES and PUSHDMINUS options have been added
   - REAL_TTY compilation switch added
   - aliases beginning with a space cause the history line to be junked
     if HISTIGNORESPACE is set
   - echo prints bad options instead of complaining about them
   - "set -o" no longer dumps core
   - "alias a=alias; date >a" no longer creates a file called "alias"
   - "function foo() \n { date }" is now legal (the () and the newline
     are allowed)
   - nested brace expressions work properly
   - disabled commands stay disabled after a rehash (or after the shell
     finishes sourcing your .zshrc)
   - corrected aliases work
   - executables in the currect directory are now completed
   - in "case foo", "foo" is not interpreted as a directory name with autocd
   - aliases were not always interpreted properly after a completion
   - bindkey '^?' didn't work
   - echo ${HOST:-{bar}} didn't work
   - editor update is more efficient in some cases
   - menucomplete works even better
   - assign to an array element "foo[1]=bar" didn't always work
   - doesn't print directories like "~tmp" if HOME=/
   - quotes in case statement patterns caused problems
   - pressing ^C right after typing "fc" caused the editor to share
     the tty with the shell
   - echo $(echo 2) produced no output, but echo $(echo x) worked fine (weird)
--
Paul Falstad                     | 10 PRINT "PRINCETON CS"
pfalstad at phoenix.princeton.edu   | 20 GOTO 10



More information about the Alt.sources.d mailing list