Commit graph

16 commits

Author SHA1 Message Date
uebayasi
fd2c540904 Update zsh-current to 4.3.9.
Changes from NEWS:

--------8<--------8<--------8<--------8<--------8<--------8<--------8<

Major changes between versions 4.3.6 and 4.3.9
----------------------------------------------

The option COMBINING_CHARS has been added.  When it is set, the
line editor assumes the terminal is capable of displaying zero-width
combining characters (typically accents) correctly as modifications
to the base character, and will act accordingly.  Note it is not set
by default owing to vagaries of terminals.  The system is reported
to work on MacOS, where this is particularly important as accented
characters in file names are stored in their decomposed form (i.e.
with base and combining characters).

The option HIST_FCNTL_LOCK has been added to provide locking of history
files using the system call fcntl().  On recent NFS implementations this
may provide better reliability.

The syntax ~[...] provides a dynamic form of directory naming,
supplementing the existing static ~name syntax.  A user-defined shell
function, zsh_directory_name, is used to handle both expansion of names to
directories and contraction of directories to names.

Patterns can now be used in incremental searches with the new widgets
history-incremental-pattern-search-backward and
history-incremental-pattern-search-forward.  These are not bound to
keys by default.

Highlighting and colouring of sections of the command line is now
supported, controlled by the array parameter zle_highlight and the ZLE
special parameter region_highlight.

Colouring of prompts is now supported within the shell by prompt
escapes.  The prompt theme system has been updated.

Various changes have been added to make debugging of shell code easier:
  - As noted in README, the option DEBUG_BEFORE_CMD is now set by default.
  - In DEBUG traps, $ZSH_DEBUG_CMD gives the code for which the trap is
    called as a string.
  - "setopt ERR_EXIT" in a DEBUG trap causes the code not to be executed.
  - $ZSH_SUBSHELL indicates the subshell level at which code is being
    executed.
  - The zsh/parameter module has various additional arrays similar to
    the existing $funcstack and $functrace, namely $funcsourcetrace
    and $funcfiletrace.  The consistency and informativeness of
    the output of all these arrays has been improved.
  - Prompt escapes %x and %I show the source file and line number in
    debug prompts (compare %N and %i which show names and line numbers
    in the execution environment).
  - The option NO_MULTI_FUNCDEF can turn off multiple definition of
    functions at once, a rarely used feature that can cause problems
    with misplaced "()".
  - The "fc" builtin has been enhanced to make non-interactive use possible
    and output consistent when the history is manipulated with "print -s".

The completion style accept-exact-dirs has been added.  When true, this
suppresses attempts to complete non-final directory segments of a filename
path when the directory exists.  (For example, /home/pws/src/zsh/<TAB>
discovers that /home/pws/src/zsh exists and leaves the directory component
alone, while /h/p/s/z/<TAB> completes to /home/pws/src/zsh/... as before.)
This should improve completion behaviour noticeably in special cases, such
as remote paths under Cygwin.

Major changes between versions 4.3.5 and 4.3.6
----------------------------------------------

cd, chdir, pushd and popd now take a -q option to suppress side effects
including printing the directory stack (for pushd and popd) and executing
the chpwd hook functions (for all four).

The parameter subscript (e) flag now forces the argument to be treated
as a string where it would previously have been treated as a pattern,
for example ${array[(ie)*]} substitutes the index of the element whose
value is "*".

Major changes between versions 4.3.4 and 4.3.5
----------------------------------------------

- The new extended globbing flag (#cN,M) behaves similarly to the extended
  regular expression syntax {N,M}.

- The zsh/datetime module has been enhanced and a calendar function
  system has been added along the lines of (but much enhanced from)
  the traditional Unix "calendar" utility.  This is still under
  development.  See the zshcalsys manual.  (The calendar functions
  were in 4.3.4 but were not listed in this file.  There have been
  significant enhancements since 4.3.4.)

- A new module zsh/curses provides a builtin zcurses for access to
  to the curses screen manipulation package.  See the entry for zsh/curses
  in the zshmodules manual.

- The module system has been enhanced to support the notion of "features"
  that give more control over which builtins, parameters, conditions
  and math functions are loaded from a module.  In particular,
  "zmodload -F zsh/stat b:zstat" makes the builtin previously called
  "stat" available as "zstat" (only) to avoid clashes with a system
  command named "stat".

>8-------->8-------->8-------->8-------->8-------->8-------->8--------
2008-12-21 16:53:45 +00:00
ghen
c0fd029c3f Don't needlessly depend on a perl module for a perl script we do not install.
Bump PKGREVISION for zsh and zsh-current.
2008-07-25 09:14:48 +00:00
tonnerre
5a509a438f Fix an insecure temp file creation vulnerability in zsh-current's difflog.pl
(CVE-2007-6209).
2008-07-13 18:26:24 +00:00
bjs
39b78b5308 Add support for pcre to options.mk if ZSH_STATIC is undefined. Bump rev. 2007-11-07 09:59:27 +00:00
uebayasi
445e230543 Fix embedded paths to /bin/env and /usr/local/bin/zsh. Reported by joerg. 2007-10-01 04:16:07 +00:00
uebayasi
ce7552cec0 Update zsh-current to 4.3.4.
Several fixes of multi-byte character support.

Patch from Chris Ross, thanks.
2007-09-21 05:24:43 +00:00
jlam
e56ad6ef02 Fix DESTDIR-handling for zsh-current by ensuring that the destdir-support
line is defined before bsd.prefs.mk is included.
2007-08-07 18:54:31 +00:00
uebayasi
5962c9fcd0 A missing file in PLIST; bump revision to 4.3.2p1. 2006-03-18 01:02:21 +00:00
uebayasi
7722d125ef Re-add development release of Zsh, 4.3.2, first public release of 4.3.x
branch.

Major changes between versions 4.2 and 4.3
------------------------------------------

- There is support for multibyte character sets in the line editor,
  though not the main shell.  See Multibyte Character Support in INSTALL.

- The shell can now run an installation function for a new user
  (one with no .zshrc, .zshenv, .zprofile or .zlogin file) without any
  additional setting up by the administrator.

- The manual now has a Roadmap section (manual page zshroadmap) to
  give new users an indication of the most interesting parts of the manual.

- New option PROMPT_SP, on by default, to work around the problem that the
  line editor can overwrite output with no newline at the end.

- New option HIST_SAVE_BY_COPY (on by default): history is saved by
  copying and renaming instead of directly overwriting.

- New redirection syntax e.g. {myfd}>file opens a new file descriptor
  and stores the number in $myfd, so that >&$myfd will work.  Chosen not to
  break existing code (and to be compatible with proposals for the Korn
  shell).

- Substitutions of the form ${var:-"$@"}, ${var:+"$@"} and similar where
  word-splitting is applied to the text after the :- or :+ (in particular,
  where the SH_WORD_SPLIT option is in effect for compatibility) now behave
  as in other Bourne- and POSIX-compatible shells when in the appropriate
  emulation mode.

- New Posix-style zsh-specific tests [[:IDENT:]], [[:IFS:]],
  [[:IFSSPACE:]], [[:WORD:]] test if character can appear in identifier, is
  an IFS character, is an IFS whitespace character, or is considered as part
  of a word (is alphanumeric or appears in $WORDCHARS).  Note the pattern
  code doesn't yet handle multibyte characters.

- The idiom =(<<<...) is optimised so that the shell internally turns
  the ... into the contents of a file whose name is then substituted.

- Supplied functions catch and throw provide limited support for
  exception handling using the `{ ... } always { ... }' syntax.

- Signals now accept the SIG as part of the name for compatibility with
  other shells.

- Editor function argument-base allows non-decimal arguments for
  editor widgets.

- As always, there are many enhancements to completion functions.
2006-03-11 13:20:15 +00:00
uebayasi
b161181726 Now that the cutting-edge 4.2.0 release goes in shells/zsh. No need
to catch up with the development releases any more.
2004-03-28 14:27:29 +00:00
seb
29aeeba7a6 Convert to USE_NEW_TEXINFO.
Use INSTALL_TARGET to install info files: this gives a proper
environment for USE_NEW_TEXINFO framework to work.

Fix makeinfo invocation for zsh-current via patch file so that
only _one_ info file is generated as PLIST seems to want it.
2003-08-05 13:37:51 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
uebayasi
e5c8678258 Share Makefile, update patch sum. 2003-06-29 04:24:56 +00:00
uebayasi
26824eb59d Um, re-do previous. 2003-06-29 03:05:28 +00:00
jtb
131f9801f1 zsh-current has been outdated by zsh4. 2001-06-05 04:10:04 +00:00
jtb
3960a633c3 Initial import of zsh-current.
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.
2001-05-18 20:31:19 +00:00