summaryrefslogtreecommitdiff
path: root/shells/zsh/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2004-08-16update to zsh-4.2.1recht1-2/+2
Changes since zsh version 4.2.0 ------------------------------- - The autoload and related builtins take options -k and -z to indicate ksh or zsh autoloading style for given functions, making it possible to mix and match. - Assignments to associative arrays can use the i and r index flags. For example, assoc[(i)alpha*]=bravo sets the value for the element whose key matches the pattern `alpha*'; assoc[(r)activ*]=passive sets the value for the element whose current value matches the pattern `activ*'. - The glob qualifier F indicates a non-empty directory. Hence *(F) indicates all subdirectories with entries, *(/^F) means all subdirectories with no entries. - fc -p and fc -P provide push/pop for the status of the shell's history (both internal and using the history file). With automatic scoping (fc -ap) it becomes easy to use a temporary history in a function. This has been added to the calculator function zcalc to make its internal history work more seamlessly. - A new `try block' and `always block' syntax has been introduced to make it easier to ensure the shell runs important tidy-up code in the event of an error. It also runs after a break, continue, or return, including a return forced by the ERR_RETURN option (but not an exit, which is immediate). The syntax is: `{' try-block-list `}' `always' `{' always-block-list `}' where no newline or semicolon may appear between `}' and `always'. This is compatible with all previous valid zsh syntax as an `always' at that point used to be a syntax error. For example, { echo Code run in current shell } always { echo Tidy-up code } - A new zle widget reset-prompt has been added to re-expand the current prompt. Changes to the variable in use as well as changes in its expanions are both taken into account. The same effect is now forced by a job change notification, making the %j prompt escape and %(j..) ternary expression more useful. - The zftp module supports ports following the hostname in the normal suffix notation, `host:port'. This requires IPv6 colon-style addresses to be specified in suitably quoted square brackets, for example: zftp open '[f000::baaa]' zftp open '[f000::baaa]:ftp' (the two are equivalent). - Special traps, those that don't correspond to signals, i.e. ZERR, DEBUG and EXIT are no longer executed inside other traps. This caused unnecessary confusion if, for example, both DEBUG and EXIT traps were set. The new behaviour is more compatible with other shells. - New option TRAPS_ASYNC which if set allows traps to run while the shell is waiting for a child process. This is the traditional zsh behaviour; POSIX requires the option to be unset. In sh/ksh compatibility mode the option is turned off by default and the option letter -T turns it on, for compatibility with FreeBSD sh.
2004-03-28Update to 4.2.0recht1-2/+2
Patch provided by Geoff C. Wing in PR 24918 ok'd by uebayasi@ New features between zsh versions 4.0 and 4.2 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. * Suffix aliases allow the shell to run a command on a file by suffix, e.g `alias -s ps=gv' makes `foo.ps' execute `gv foo.ps'. Supplied function zsh-mime-setup uses existing mailcap and mime.types files to set up suitable aliases. Supplied function pick-web-browser is suitable for finding a browser to show .html etc. files by suffix alias. * new option `no_case_glob' for case-insensitive globbing. Add-on modules and functions: * zsh/datetime modules makes date formatting and seconds since EPOCH available inside the shell. * 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. Plus many others. 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 * several other contributed widgets Local internal improvements: * disowned jobs are automatically restarted * \u and \U print escapes for Unicode * read -d allows a custom line ending. * read -t . * 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 in zsh/mathfunc 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 * job table is dynamically sized, preventing overflow (typically seen previously in complex completions). * many bugfixes
2004-02-02Update zsh to 4.0.9. From Min Sik Kim <minskim at bawi dot org> in PRuebayasi1-2/+2
pkg/24297. Changes since 4.0.7: - Many bug fixes. - Local improvements to various completion functions.
2003-12-21AFAICT from logs, uebayasi@ is the maintainer, so set ZSH_MAINTAINERjmmv1-1/+2
accordingly.
2003-08-05Convert to USE_NEW_TEXINFO.seb1-2/+1
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-06-29Share Makefile, update patch sum.uebayasi1-51/+4
2003-06-20Update to 4.0.7.uebayasi1-7/+15
Bug fix release for stable version as well as a few completion improvements. Also includes more current MASTER_SITES. PR21938 by Geoff Wing <gcw at primenet dot com dot au>.
2003-03-14(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;jlam1-2/+2
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
2003-02-06Update my email address.uebayasi1-2/+2
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-2/+2
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
2002-11-17Convert packages to PKG_REGISTER_SHELLS framework.salo1-5/+4
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam1-4/+5
have been converted to USE_BUILDLINK2.
2002-08-15Zsh 4.0.6.uebayasi1-3/+2
Bugfix release. Some added completion functions: e.g. rsync, mozilla, some bash builtin functions. From Geoff C. Wing, gcw at primenet dot com dot au in pkg/17946.
2002-07-18Do not use _mktemp(). There is no prototype for it, so it is not safe to usemycroft1-1/+2
on 64-bit systems.
2002-02-18Introduce new framework for handling info files generation and installation.seb1-1/+3
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2001-12-02Don't hardcode /usr/pkg, use ${PREFIX}. (Ouch!)wiz1-2/+2
2001-11-29Updated to 4.0.4, provided by Eric Gillespie Jr. in pkg/14376martti1-2/+3
This is a minor bug-fix release, though some new functions have been added: _bts Completion for Debian BTS _chflags Completion for chflags(1) _links Completion for links web browser _samba _sysctl _user_admin bash-backward-kill-word
2001-10-05Don't compress the manual pages of this package because "zshall.1" triestron1-1/+3
to include all the other manual pages with ".so" macros which doesn't work with compress manual pages even if the filenames are correct.
2001-09-24"PKGVERSION" is now in "PLIST_SUBST" by default.tron1-2/+1
2001-09-23Don't include "lib/zsh/libzsh-4.0.2.so" into package list under SunOS.tron1-1/+5
This fixes PR pkg/14032 by Stoned Elipot.
2001-09-23Don't hardcode package version number into package lists.tron1-3/+2
2001-09-23Remove redundant "@dirrm" commands from "PLIST.dynamic" and reordertron1-2/+2
multiple package list so that deinstallation works smoothly.
2001-09-23Make modifications of "/etc/shells" robust so that they don't fail iftron1-2/+3
"/etc/shells" doesn't exist or is empty after removing entries for cerntain shell. These problems show up e.g. under SunOS.
2001-07-23Update zsh to 4.0.2. PR 13538 by Eric Gillespie Jr.nra1-2/+2
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.
2001-06-05Install the NEWS and FAQ files. Add a short message regarding changesjtb1-1/+4
for this version. Based on suggestions by Geoff Wing <gcw@zsh.org> on tech-pkg.
2001-06-05zsh-4.0.1 is a stable release so should be in shells/zsh instead of zsh4.jtb1-11/+17
Pass --disable-dynamic to configure. Correct homepage. Remove a mirror. Addresses some issues by Geoff Wing <gcw@zsh.org> raised on netbsd-bugs.
2001-06-05Update ftp sites URLs. Noted by Geoff Wing.wiz1-7/+6
2001-04-17Remove dead mirror from master site list.tron1-3/+2
2001-04-16Update zsh to 3.0.8zuntum1-2/+2
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.
2001-04-09ZSH_STATIC can be defined in /etc/mk.conf instead of editing the Makefile.jtb1-3/+6
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz1-1/+2
2000-01-08Correct master site list as suggested by Geoff C. Wing in PR pkg/9138.tron1-6/+5
2000-01-06upgrade to 3.0.7, the latest releasewindsor1-3/+2
1999-02-26Update MASTER_SITES and HOMEPAGE like suggested in pr 7032 by Geoff C. Wing.frueauf1-7/+7
1998-08-20The Grand Homepagification:tsarna1-1/+2
- New, optional Makefile variable HOMEPAGE, specifies a URL for the home page of the software if it has one. - The value of HOMEPAGE is used to add a link from the README.html files. - pkglint updated to know about it. The "correct" location for HOMEPAGE in the Makefile is after MAINTAINER, in that same section.
1998-06-22Update package Makefiles for automatic manual page handling.agc1-3/+1
1998-05-09Mostly cosmetic changes to shut up portlint. Little bugfix for apache.frueauf1-2/+1
1998-04-22Fix INFO_FILES definitions to match the commands in bsd.pkg.mkagc1-2/+2
1998-04-20Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org.frueauf1-2/+2
1998-04-17Introduce USE_GTEXINFO and INFO_FILES definitions to bsd.pkg.mk, and use them.agc1-11/+2
1998-04-15Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.agc1-7/+2
Remove redundant (and sometimes erroneous) comments.
1998-04-14Update of "/etc/shells" on "make install" didn't work.tron1-1/+2
1998-02-24"/etc/shells" was updated only by "pkg_add" but not by "make installe".tron1-1/+3
1998-01-24portlint: fix RCS Id, move lines, use cmd macroshubertf1-8/+8
1997-10-24Add NetBSD RCS Id.agc1-0/+7
Add NetBSD dependency on gtexinfo
1997-10-24Initial import of FreeBSD's shells ports category into NetBSD packageagc1-0/+36
system.