head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.12 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.10 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.8 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.6 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.4 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.2 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.7.0.6 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.4 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.2 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.6.0.16 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.14 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.12 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.10 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.8 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.6 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.4 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.2 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.4.0.16 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.14 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.12 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.10 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1 buildlink2-base:1.2; locks; strict; comment @# @; 1.8 date 2008.12.21.16.53.45; author uebayasi; state dead; branches; next 1.7; 1.7 date 2008.07.13.18.26.24; author tonnerre; state Exp; branches; next 1.6; 1.6 date 2006.04.07.15.28.50; author jlam; state dead; branches; next 1.5; 1.5 date 2006.03.11.13.20.15; author uebayasi; state Exp; branches; next 1.4; 1.4 date 2004.03.28.14.27.29; author uebayasi; state dead; branches; next 1.3; 1.3 date 2003.08.05.13.37.54; author seb; state Exp; branches; next 1.2; 1.2 date 2001.06.05.04.10.04; author jtb; state dead; branches; next 1.1; 1.1 date 2001.05.24.14.54.22; author jtb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.06.29.03.00.48; author uebayasi; state Exp; branches; next ; desc @@ 1.8 log @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/ discovers that /home/pws/src/zsh exists and leaves the directory component alone, while /h/p/s/z/ 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-------- @ text @$NetBSD: patch-aa,v 1.7 2008/07/13 18:26:24 tonnerre Exp $ --- Util/difflog.pl.orig 2002-04-18 16:35:17.000000000 +0200 +++ Util/difflog.pl @@@@ -2,10 +2,13 @@@@ use strict; use IO::File; +use File::Temp; my @@differ = qw(diff -bw); -my $oldtmp = "/tmp/difflog$$.old"; -my $newtmp = "/tmp/difflog$$.new"; +my $oldf = new File::Temp(TEMPLATE => 'difflogXXXXX', DIR => '/tmp/', SUFFIX => '.old'); +my $newf = new File::Temp(TEMPLATE => 'difflogXXXXX', DIR => '/tmp/', SUFFIX => '.new'); +my $oldtmp = $oldf->filename; +my $newtmp = $newf->filename; my $newfn = pop(@@ARGV); my $oldfn = pop(@@ARGV); @ 1.7 log @Fix an insecure temp file creation vulnerability in zsh-current's difflog.pl (CVE-2007-6209). @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2008/07/13 18:22:01 tonnerre Exp $ @ 1.6 log @List the info files directly in the PLIST and honor PKG{INFO,MAN}DIR. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2006/03/11 13:20:15 uebayasi Exp $ d3 3 a5 3 --- Doc/Makefile.in.orig 2005-10-29 01:40:15.000000000 +0900 +++ Doc/Makefile.in @@@@ -37,7 +37,7 @@@@ INSTALL = @@INSTALL@@ d7 3 a9 1 @@DEFS_MK@@ d11 10 a20 5 -MAKEINFO = makeinfo +MAKEINFO = makeinfo --no-split TEXI2DVI = texi2dvi DVIPS = dvips TEXI2HTML = texi2html --output . --ifinfo --split=chapter @ 1.5 log @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. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2001/11/29 09:16:28 martti Exp $ @ 1.4 log @Now that the cutting-edge 4.2.0 release goes in shells/zsh. No need to catch up with the development releases any more. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2003/08/05 13:37:54 seb Exp $ d3 1 a3 1 --- Doc/Makefile.in.orig 2003-02-13 11:06:46.000000000 +0000 d13 1 a13 1 TEXI2HTML = texi2html -expand info -split chapter @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @zsh-current has been outdated by zsh4. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2001/05/24 14:54:22 jtb Exp $ d3 1 a3 1 --- Doc/Makefile.in.orig Thu May 24 14:49:25 2001 d5 9 a13 9 @@@@ -261,7 +261,7 @@@@ if ( \ sed '/^@@setfilename/s|zsh|$(tzsh)|' \ < $(sdir)/zsh.texi > infodir/tzsh.texi && \ - (cd infodir && $(MAKEINFO) tzsh.texi) && \ + (cd infodir && $(MAKEINFO) --no-split tzsh.texi) && \ for file in infodir/$(tzsh).info*; do \ $(INSTALL_DATA) $$file $(DESTDIR)$(infodir) || exit 1; \ done \ @ 1.1 log @Pass --no-split option to makeinfo. Reported to packages@@netbsd.org by Masao Uebayashi. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of Zsh 4.1.1 into the NetBSD Packages Collection. This is a development version of Zsh having more features than 4.0.x releases. New features between zsh versions 4.0 and 4.1.1 ----------------------------------------------- Configuration: - upgraded to use autoconf post-2.50 - improved compatibility with other shells through shell options, builtin arguments and improved builtin option parsing Syntax and builtins: - new printf builtin - `+=' to append to parameters which works for scalars, arrays and (with pairs) associative arrays. - enhanced multiple parameter `for' loops: for key value in key1 value1 key2 value2 ... maintaining full compatibility with POSIX syntax Add-on modules and functions: - zsh/net/tcp module provides builtin interface to TCP through ztcp builtin. Function suite for interactive and script use with expect-style pattern matching. - zsh/net/socket module provides zsocket builtin. - zcalc calculator function with full line editing. - builtin interface to pcre library - zsh/zselect module provides zselect builtin as interface to select system call Completion system: - general improvements to command and context support, low-level functions, display code. - in verbose mode, matches with the same description are grouped - highly configurable completions for values of specific parameters, specific redirections for specific commands - support for bash completion functions (typically zsh native functions are more powerful where available) - New completions provided for (some of these may be in later 4.0 releases): valgrind, tidy, texinfo, infocmp, Java classes, larch, limit, locale parameters, netcat, mysqldiff, mt, lsof, elinks, ant, debchange (dch), email addresses, file system types, Perforce, xsltproc. Line editor: - special parameters $PREDISPLAY, $POSTDISPLAY available in function widgets to configure uneditable text (for narrowing) - recursive editing - supplied widgets read-from-minibuffer, replace-string use these features (more intuitive prompting and argument reading than 4.0) - access to killed text via $CUTBUFFER and $killring - supplied highly configurable word widgets forward-word-match etc., can set what constitutes a word interactively or in startup script (implement bash-style behaviour, replacing previous bash-* word widgets) - interface to incremental search via $LASTSEARCH - better handling of keymaps in zle and widgets - better support for output from user-defined widgets while zle is active - tetris game which runs entirely in zle Local internal improvements: - disowned jobs are automatically restarted - \u and \U print escapes for Unicode - line numbers in error messages and $PS4 output are more consistent - `=prog' expands only paths, no longer aliases for consistency - job display in prompts; `jobs' command output can be piped - prompts: new $RPROMPT2, %^, %j, %y, enhanced %{, %}, %_. - rand48() function for better randomness in arithmetic (if the corresponding math library function is present) - $SECONDS parameter can be made floating point via `typeset -F SECONDS' for better timing accuracy - improvements to command line history mechanism - many bugfixes @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2001/11/29 09:16:28 martti Exp $ d3 1 a3 1 --- Doc/Makefile.in.orig Fri Oct 26 22:18:31 2001 d5 9 a13 9 @@@@ -37,7 +37,7 @@@@ @@DEFS_MK@@ -MAKEINFO = makeinfo +MAKEINFO = makeinfo --no-split TEXI2DVI = texi2dvi DVIPS = dvips TEXI2HTML = texi2html -expand info -split chapter @