ChangeLog   [plain text]

2008-11-03  Peter Stephenson  <>

	* unposted: Etc/.distfiles: missing entry; 4.3.9 finally
	released, perhaps.

2008-11-02  Peter Stephenson  <>

	* 25989: Src/Zle/computil.c: Slight improvement for multibyte
	characters in matching to prevent crash.

2008-11-02  Clint Adams  <>

	* 25988: Completion/Darwin/Command/_fink,
	Completion/Redhat/Command/_rpm, Completion/Redhat/Command/_yum,
	Completion/Unix/Type/_perl_modules, Doc/Zsh/compsys.yo: declare
	temporary cache array as local, thanks to problem noticed by
	Kazuhiro NISHIYAMA.

2008-11-01  Clint Adams  <>

	* 25987: Src/Modules/tcp.c: don't ztrdup the buffer returned by

	* 25985: Src/hashtable.c: don't try to disable signal traps if
	getsignum returns -1.

2008-10-31  Oliver Kiddle  <>

	* 25983: Fix bug in hash builtin with empty hash entry name

2008-10-30  Peter Stephenson  <>

	* 25975: Src/compmatch.c: bad tests for pattern match
	when building up a line.

	* 25972: Src/Zle/complete.c, Src/Zle/compmatch.c: leaked
	and uninitialised memory found by valgrind.

	* 25971: Src/builtin.c, Src/zsh.h: fix 25937 which broke some
	builtins that handle options themselves.

2008-10-30  Peter Stephenson  <>

	* 25969: Src/subst.c, Src/utils.c, Test/D07multibyte.ztst:
	bugs in metafication with prompt expansion called from parameter
	expansion and with zsh_directory_name when called from finddir().

	* 25963: Src/utils.c: Interrupt at spell check prompt output

	* 25961: some sh's don't handle opening parentheses
	in case.

	* unposted: NEWS, README, Config/, Etc/FAQ.yo,
	Etc/relnote_4.3.7.txt, Etc/relnote_4.3.8.txt,
	Etc/relnote_4.3.9.txt: try again with 4.3.9 (N.B. not yet
	released, CVS tag not finalised).

	* 25958: INSTALL: Doc/, Doc/Zsh/filelist.yo,
	Doc/Zsh/files.yo, Doc/Zsh/options.yo: make it possible to
	get correctly named global startup files by remaking docs.

	* Oliver (unposted): 25950 should use xyes, too.

	* unposted: Completion/Zsh/Command/_tcpsys: added this since
	it's already in .distfiles.  It's very limited in what it
	does but it's better than nothing, I suppose.

	* 25950: need "x$dynamic" trick in two
	more places.

	* users/13418: Src/Modules/termcap.c: protect against

2008-10-30  Clint Adams  <>

	* 25949: Src/Zle/zle_hist.c: remove dead code in getvisrchstr.

2008-10-29  Peter Stephenson  <>

	* 25945: Completion/Unix/Type/_path_files: need some extra
	matcher options to compadd for completing abbreviated
	directory hierarchies when -U is not present (i.e. not

2008-10-29  Peter Stephenson  <>

	* Mikael: users/13412: Etc/relnote_4.3.7.txt: typo.

	* c.f. users/13411: Config/ update archived release
	number to 4.3.8-dev-0.

	* unposted: Etc/relnote_4.3.8.txt: tiny typo.

	* unposted: Completion/Zsh/Command/.distfiles, Etc/.distfiles,
	Functions/VCS_Info/Backends/.distfiles:  belatedly sort out some

	* unposted: NEWS, README, Config/, Etc/FAQ.yo,
	Etc/relnote_4.3.7.txt, Etc/relnote_4.3.8.txt: update version
	to 4.3.8.

	* unposted: Functions/Zle/replace-string: use "typeset -g"
	to avoid warnings with WARN_CREATE_GLOBAL.

2008-10-29  Clint Adams  <>

	* 25940: Src/Zle/computil.c: delay !multi memory allocation until
	after possibility to error out and return without freeing.

2008-10-28  Peter Stephenson  <>

	* 25938 (Mikael) + probably 25939, too:
	Completion/Unix/Type/_path_files: IPREFIX missing $.

	* 25937: README, Src/builtin.c: builtins that don't have
	options now ignore an initial "--" argument.

2008-10-28  Peter Stephenson  <>

	* unposted: Config/, Etc/relnote_4.3.7.txt: Release

2008-10-26  Clint Adams  <>

	* 25934: Completion/Debian/Command/_bts: handle bts subscribe,
	unsubscribe, and fix owner.  Patches from Ansgar Burchardt.

2008-10-26  Peter Stephenson  <>

	* unposted: NEWS: region_highlight is an array and so
	not capitalised.

	* unposted: README: update claimed version to 4.3.7.

	* Mikael: 25933: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo,
	Doc/Zsh/options.yo, NEWS: typos.

2008-10-24  Peter Stephenson  <>

	* users/13400: Doc/Zsh/options.yo, Etc/FAQ.yo: clarify some
	aspects of ksh-like editing.

	* 25931: Test/D01prompt.zsh: test fix in 25930.

	* 25930: Src/prompt.c, Src/utils.c: dynamic directory names
	may need recursive prompt expansion; memory leak with reverse
	expansion of dynamic directory names.

2008-10-23  Peter Stephenson  <>

	* users/13375: Src/Zle/zle_refresh.c: rewrite ternary expression
	which caused problems with the Sun Studio 11 compiler.

2008-10-22  Barton E. Schaefer  <>

	* 25927: Completion/Unix/Type/_path_files: include the ignored
	prefix/suffix in the hidden prefix/suffix only for compadd -U.

2008-10-23  Clint Adams  <>

	* 25926: Src/params.c: free val only after it may be passed to
	strlen (as in 25656).

2008-10-20  Peter Stephenson  <>

	* unposted: Config/ 4.3.6-dev-2.

2008-10-18  Peter Stephenson  <>

	* 25912: Doc/Zsh/compwid.yo, Src/Zle/computil.c: fix yet another
	Meta bug in completion with matchers in compfiles; remove 25893
	because that wasn't it at all.

	* 25911: Test/D07multibyte.ztst: see if we can work around file
	system idiosyncracies.

2008-10-18  Clint Adams  <>

	* 25910: Src/builtin.c: avoid dangling file handle in bin_print.

2008-10-17  Peter Stephenson  <>

	* Rocky: 25907: Test/ makefile needs .exe
	extension to run zsh on Cygwin.

2008-10-16  Peter Stephenson  <>

	* 25905: Src/math.c, Test/C01arith.ztst: fix and test doubled-hash
	radix output syntax.

2008-10-14  Barton E. Schaefer  <>

	* 25887: Completion/Unix/Type/_path_files: pass -U to compadd only
	when _comp_correct is true; otherwise, completing subpatterns
	inside braces tends to behave oddly.

	* Jörg Sommer: 25883: Completion/Base/Utility/_multi_parts: quote
	strings in the temporary variable tmp1 before joining them with
	"|" to create an alternatives pattern.

	* Phil Pennock: 25854: Completion/Unix/Command/_perl,
	Completion/Unix/Type/_perl_modules: fix module completion for
	"perl -d:" (Devel modules).

2008-10-14  Clint Adams  <>

	* 25898: Src/module.c: avoid dereference of p after it is freed
	in getmathfunc.

	* 25897: Src/Zle/computil.c: remove small bit of dead code in

	* 25896: Src/builtin.c: remove small bit of dead code in

	* Jörg Sommer: 25882: Completion/Unix/Command/_ssh: run ssh with

2008-10-14  Peter Stephenson  <>

	* 25893: Doc/Zsh/compwid.yo: matcher "m:{a-z}={A-Z}" still
	works better than "m:{[:lower:]}={[:upper:]}" in that the
	latter can glitch on some multibyte characters with Meta in
	(and doesn't yet work on non-ASCII characters anyway).

2008-10-12  Clint Adams  <>

	* 25860: Src/Zle/compmatch.c: avoid possible NULL dereferencing in

2008-10-12  Peter Stephenson  <>

	* unposted, c.f. 25848: Test/comptest: attempt to sanitize
	the environment.

2008-10-12  Clint Adams  <>

	* 25859: Src/Zle/zle_tricky.c: avoid possible NULL dereferencing if
	RC_QUOTES is set.

	* Mikael Magnusson: 25856: Etc/completion-style-guide: typo fixes.

	* Mikael Magnusson: 25855: Etc/zsh-development-guide: typo fixes.

2008-10-11  Peter Stephenson  <>

	* 25845: Src/pattern.c, Test/D07multibyte.ztst: combination of
	backslashed characters and metafied characters confused pattern
	test for pure string.

2008-10-10  Peter Stephenson  <>

	* 25816: Marc Chantreux: Completion/Unix/Command/_ip:
	add promiscuous link option.

2008-10-11  Wayne Davison  <>

	* unposted: Src/Modules/curses.c: fixed a signed/unsigned
	compiler warning.

2008-10-10  Peter Stephenson  <>

	* users/13323: Test/E02xtrace.ztst: new test wasn't robust
	about ignoring /etc/zshenv.

	* users/13321: allow --disable-gdbm.

	* unposted: Doc/Zsh/expn.yo: protect () from macro expansion.

	* unposted: Etc/CONTRIBUTORS: update.

	* 25837: NEWS: add descriptions of new debugging features.

	* unposted: Functions/Zftp/zffcache,
	Functions/Zftp/zftp_progress: silence some warnings when

	* unposted: Config/ 4.3.6-dev-1.

	* unposted: Test/B06fc.ztst: use -f flag to zsh to prevent
	initialization scripts running.

2008-10-10  Barton E. Schaefer  <>

	* 25814: Functions/Misc/run-help: quote arguments to "eval".

	* unposted (?): Functions/Prompts/promptinit: quote expansion of
	prompt_opts in prompt() because zsh emulation is by necessity not
	enforced there.

	* 25140: Src/exec.c: improve error handling/reporting for
	here-document temp files.

	* 25029 (plus unposted doc): Completion/Unix/Command/_sudo,
	Doc/Zsh/compsys.yo: "environ" style to allow a different search
	path when completing as a different user.

2008-10-09  Clint Adams  <>

	* 25833: Completion/Unix/Command/_git: remove zparseopts line
	obsoleted by 25824.

	* Jörg Sommer: 25824: Completion/Unix/Command/_git: make it
	possible to use abbreviated paths for tree files.

2008-10-09  Peter Stephenson  <>

	* 25831: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/params.c,
	Src/zsh.h, Test/D04parameter.ztst: ensure failed subscript matches
	of a type that are documented as strings rather than arrays
	return an empty string rather than an empty array to avoid
	strange RC_EXPAND_PARAM behaviour.

2008-10-08  Peter Stephenson  <>

	* Nikolai Weibull: 25828: Completion/Unix/Command/_rm,
	Completion/Unix/Command/.distfiles: new completion.

	* unposted: NEWS: note some new features.

2008-10-07  Clint Adams  <>

	* 25823: Functions/Misc/run-help: bring up zshcontrib man page if
	run-help is run on run-help and run-help is a function.

	* Jörg Sommer: 25819: Completion/Linux/Command/_modutils: improve
	module parameter completion.

	* Jörg Sommer: 25822: Completion/Linux/Command/_modutils: declare
	val_args as local array.

	* Jörg Sommer: 25821: Completion/Linux/Command/_modutils: return 0
	if a modules parameter was completed.

	* Jörg Sommer: 25820: Completion/Linux/Command/_modutils: add the
	option --field of modinfo.

2008-10-06  Clint Adams  <>

	* 25818: Completion/compinstall: compinstall data loss typo fix
	from Morita Sho.

2008-10-06  Peter Stephenson  <>

	* 25817: Src/builtin.c: "fc -l" is now more careful to
	list all history just added, however it got there.  Use
	of fc for executing previous commands unchanged.

2008-10-04  Clint Adams  <>

	* 25808: Completion/Debian/Command/_bts: handle bts claim and
	unclaim subcommands.

2008-10-02  Peter Stephenson  <>

	* unposted: Completion/Zsh/Context/_subscript: off-by-one
	error in testing for dynamic directory name prefix.

2008-10-01  Peter Stephenson  <>

	* 25791: Src/exec.c, Test/C05debug.ztst: force return from
	eval-style DEBUG trap lost status.

2008-09-30  Peter Stephenson  <>

	* Frank Terbeck: 25778: Functions/VCS_Info/VCS_INFO_realpath: use
	builtin cd.

	* unposted: Completion/Zsh/Context/_subscript: recognise ~[...]
	after = and :, too.

	* 25777: Src/Modules/db_gdbm.c: argument to gdbmsetfn.

2008-09-29  Peter Stephenson  <>

	* 25775: Src/exec.c, Src/prompt.c, Src/signals.c, Src/zsh.h:
	line numbering in functions inside eval-style traps on the
	function stack was screwy.  Simplest fix is to restore normal
	line numbering within the functions so that only the immediate
	eval-style trap environment is special.

	* 25774: Src/params.c: fix in 25772 was applied too widely.

2008-09-29  Peter Stephenson  <>

	* 25733: Completion/Zsh/Context/.distfiles,
	Completion/Zsh/Context/_subscript: stub function for dynamic
	directory name completion.

	* 25772: Src/params.c: searching an associative array with
	a bad pattern could cause a crash, seen in _expand following
	"echo ~[]".

	* 25771: Src/utils.c, Src/zsh.h: shell function context
	for substitution functions.

	* users/13295 (with tweak always to keep old line numbers at
	exit from parse_string()): Src/builtin.c, Src/exec.c, Src/glob.c,
	Src/parse.c, Src/Modules/parameter.c, Src/Modules/zpty.c,
	Src/Modules/zutil.c: don't reset $LINENO when parsing strings
	unless the surrounding environment provides support (funcstack
	etc.) for it.

2008-09-28  Clint Adams  <>

	* 25764: Completion/Unix/Command/.distfiles,
	Completion/Unix/Command/_django: completion for Django, from Chris

2008-09-28  Peter Stephenson  <>

	* Mikael Magnusson: Src/utils.c: newline in getquery() is
	treated as n but should also behave like a newline. duh.

2008-09-27  Peter Stephenson  <>

	* 25760: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:
	(~) tokenizes arguments to further parameter flags, but not
	the rest of the parameter expansion.

	* Jörg Sommer: 25755, with tweak from 25756:
	Completion/Linux/Command/_modutils (args): improved handling
	of module arguments.

	* 25759: Doc/Zsh/expn.yo, Src/builtin.c, Src/subst.c: fix crash
	after failed dynamic named directory expansion; clarify the
	fact that static named directories can contain only
	alphanumerics, `_', `-' or `.'.

2008-09-26  Clint Adams  <>

	* Mikael Magnusson: 25617: Completion/Unix/Command/_vim:
	complete -t <tags>.

2008-09-26  Peter Stephenson  <>

	* 25744: Doc/Zsh/expn.yo, Src/exec.c, Src/math.c, Src/signals.c,
	Src/subst.c, Src/utils.c, Src/Modules/zftp.c, Src/Zle/compcore.c,
	Src/Zle/compctl.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c,
	Test/D01prompt.ztst: Add dynamic named directories using
	~[<stuff>] which calls zsh_directory_name n <stuff> and
	reverse call to look up names.  Also further simplify doshfunc()
	interface to use flags directly from the Shfunc structure.

2008-09-25  Peter Stephenson  <>

	* 25684: Src/prompt.c: make %x and %I consistent with
	eval line numbering.

2008-09-24  Peter Stephenson  <>

	* users/13288: Src/parse.c: don't report parse errors if the
	line was aborted by spell checking etc.

2008-09-24  Peter Stephenson  <>

	* 25739: warn about GPL in binary if libgdm
	is linked.

	* Rocky Bernstein: 25734: Test/B06fc.ztst: typo.

2008-09-23  Clint Adams  <>

	* 25737: Src/Zle/computil.c: remove dead code in ca_parse_line.

	* 25736: Src/Zle/complete.c: one more zsfree missing from 

2008-09-23  Peter Stephenson  <>

	* 25733: Functions/VCS_Info/Backends/VCS_INFO_get_data_p4,
	Doc/Zsh/contrib.yo: add revision number (latest synced change)
	to Perforce backend and list abbreviations with backends.

	* 25732: Functions/VCS_Info/Backends/VCS_INFO_detect_p4,
	Doc/Zsh/contrib.yo: make vcs_info detect Perforce from server
	if style use-server is set.

	* Rocky Bernstein: 25727: Src/hist.c, Test/B06fc.ztst: remove
	restriction on interactive use of fc and test another problem.

2008-09-23  Clint Adams  <>

	* 25728: Completion/Linux/Command/_ionice: spelling fix.

	* Jörg Sommer: 25717: Completion/Linux/Command/_ionice: fixups for

2008-09-22  Peter Stephenson  <>

	* 25723: Src/Zle/zle_main.c: align combining character when
	retrieved from input stack.

2008-09-22  Clint Adams  <>

	* 25721: Src/exec.c: revert another mistake of 25701.

	* Jörg Sommer: 25718: Completion/Unix/Command/_git: add completion
	of option --reverse.

	* 25720: Doc/Zsh/contrib.yo: remove misleading vcs_info bit about

2008-09-22  Peter Stephenson  <>

	* 25715: Frank Terbeck: Doc/Zsh/contrib.yo: vcs_info
	now works straight away.

	* 25710: Functions/VCS_Info/vcs_info,
	Functions/VCS_Info/vcs_info_setsys: use native zsh emulation;
	make vcs_comm local in other functions; vcs_info_printsys
	runs vcs_info_setsys if necessary.

2008-09-22  Clint Adams  <>

	* 25713: Functions/VCS_Info/vcs_info: ensure that vcs_info
	functions immediately after autoloading.

2008-09-22  Peter Stephenson  <>

	* Rocky Bernstein: 25696: Src/hist.c: fix crash on empty history.

2008-09-21  Clint Adams  <>

	* unposted: Completion/Linux/Command/.distfiles: update .distfiles.

	* Jörg Sommer: 25702: Completion/Linux/Command/_chrt,
	Completion/Linux/Command/_ionice: completions for chrt and ionice

	* 25701 (tweaked): Src/exec.c: fix memory leak in loadautofn.

	* 25697: Functions/Prompts/prompt_clint_setup: drop git code and
	switch to vcs_info.

2008-09-19  Peter Stephenson  <>

	* 25693: Frank Terbeck: Doc/Zsh/contrib.yo: and another.

	* users/13262: Frank Terbeck: Doc/Zsh/contrib.yo: another
	formatting fix.

	* users/13252 and others: Frank Terbeck (plus doc tweaks):
	Functions/VCS_Info/**/*, Doc/Zsh/contrib.yo, Src/zsh.mdd:
	add VCS_Info function system.

	* Unposted, but see users/13251: Doc/Zsh/mod_mapfile.yo: update

2008-09-18  Peter Stephenson  <>

	* 25690: Src/Zle/zle_hist.c: fix insertlastword not to
	screw up characters in the history that needed metafication.

2008-09-18  Peter Stephenson  <>

	* 25684: Src/prompt.c: respect trap line number rules in
	%x, %I prompt escapes.

	* users/13239: Doc/Zsh/mod_mapfile.yo: more useful comments.

	* 25682: Src/hist.c: terminate history line string before passing
	down to zshaddhistory hook.

2008-09-16  Peter Stephenson  <>

	* 25677: Doc/Zsh/prompt.yo, Src/exec.c, Src/init.c, Src/math.c,
	Src/prompt.c, Src/signals.c, Src/utils.c, Src/Modules/zftp.c,
	Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle_main.c,
	Src/Zle/zle_misc.c, Test/E02xtrace.ztst: add %x and %I prompt
	escapes for source file debuging; improve interface to

2008-09-15  Peter Stephenson  <>

	* 25672: prompt.c: Resolve string containing only a Nularg
	to empty string to avoid interpretation as glitch space.

	* 25671: Src/builtin.c, Test/B02typeset.ztst: non-existent
	variable in typeset -p should cause status 1.

2008-09-14  Clint Adams  <>

	* 25667: Src/Zle/complete.c: free mstr before returning from

	* 25666: Src/Zle/computil.c: free memory allocated for an
	xor if the argument number is invalid.

2008-09-13  Peter Stephenson  <>

	* 25662: Src/builtin.c, Test/B02typeset.ztst: declare -p
	should never create variables.

2008-09-13  Clint Adams  <>

	* 25656: Src/params.c: free val only after it may be passed to

	* 25655: Completion/Unix/Command/_rsync: remove completion for
	--remove-sent-files option.

2008-09-12  Clint Adams  <>

	* 25654: Completion/Debian/Command/_lintian: fix return bug and add

2008-09-11  Peter Stephenson  <>

	* 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong.

2008-09-11  Peter Stephenson  <>

	* 25651: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c,
	Src/text.c, Src/Modules/parameter.c: make indentation for code
	output by getpermtext() more logical.

	* 25643: Doc/Zsh/builtins.yo, Src/exec.c: keep DEBUG and ZERR
	traps in subshells.

	* 25641: add option (NO_)MULTI_FUNC_DEF to turn off "foo1
	foo2...()" function definitions.

2008-09-10  Clint Adams  <>

	* Frank Terbeck: 25640: Completion/Unix/Command/_git: another alias
	handling fix.

	* 25639: Src/hist.c: free ptr2 if hsubl is NULL.

	* 25638: Src/Zle/compmatch.c: remove unnecessary ternary expression
	in match_str.

	* 25637: Src/exec.c: dereference prog after the NULL check.

2008-09-08  Clint Adams  <>

	* 25636: Src/Zle/zle_tricky.c: free s before returning with an
	error condition.

	* 25634: Src/Zle/zle_main.c: free t before returning if both t and
	errflag are set.

2008-09-07  Clint Adams  <>

	* Frank Terbeck: 25624: Completion/Unix/Command/_git: clean up git
	alias parsing.

2008-09-05  Peter Stephenson  <>

	* 25627: Doc/Zsh/params.yo, Src/exec.c, Src/params.c,
	Test/D04parameter.ztst: add $ZSH_SUBSHELL.

2008-09-05  Peter Stephenson  <>

	* 25615: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo, Src/exec.c,
	Src/text.c, Test/C05debug.ztst: add $ZSH_DEBUG_CMD for
	DEBUG traps.

2008-09-04  Peter Stephenson  <>

	* 25608: Completion/compinit: unset CSH_JUNKIE_QUOTES during

2008-09-04  Clint Adams  <>

	* 25611, 25613: Src/Modules/curses.c: protect against two possible
	NULL dereferences.

	* 25612: Src/Zle/compmatch.c: remove dead code.

	* 25610: Src/hist.c: remove dead code.

	* 25609: Src/Modules/zftp.c: initialize sz variable.

2008-09-03  Peter Stephenson  <>

	* Jun T: 25603: Doc/Zsh/compsys.yo: format error.

	* Jörg Sommer <>: 25598/25599: should
	auto-remove automatically added "=" suffix on alias completion,
	else you can end up assigning an empty alias.

	* 25595: Doc/Zsh/mod_parameter.yo, Src/builtin.c, Src/exec.c,
	Src/init.c, Src/zsh.h, Src/Modules/parameter.c,
	Test/V06parameter.ztst: fix line numbers with EVAL_LINENO;
	try to fix up oddities with funcstack for source files;
	simplify use of caller element of funcstack.

2008-09-02  Barton E. Schaefer  <>

	* 25600: Functions/Prompts/prompt_bart_setup: fix pattern
	introduced in 25059 that broke PS1 parsing.

2008-09-02  Clint Adams  <>

	* Mikael Magnusson: 25594: Completion/Unix/Command/_git:
	"git clean" cleanup.

2008-09-01  Clint Adams  <>

	* Mikael Magnusson: 25591: Completion/Unix/Command/_git:
	"git remote rm" completion.

	* Mikael Magnusson: 25590: Completion/Unix/Command/_git:
	update "git add" completion.

	* Frank Terbeck: 25588: Completion/Unix/Command/_git: add
	--no-pager option to git completion.

2008-09-01  Peter Stephenson  <>

	* 25587: Src/exec.c, Src/parse.c, Src/subst.c: foo==(stuff)
	was mishandled owing to parse errors; mishandling it caused
	a crash because of lack of care on failure of process
	substitution; assignments that went through execcmd() failed
	to set the status.

2008-09-01  Clint Adams  <>

	* 25585: Completion/Unix/Command/_git: fix git command completion
	when there are arguments after the cursor position.

	* Frank Terbeck: 25583: Completion/Unix/Command/_git: more git
	alias fixes.

2008-09-01  Peter Stephenson  <>

	* 25582: Completion/Unix/Type/_path_files: use suggestion
	by Bart to get automatically appearing file system entries
	added by completion to respect patterns.

	* Jörg Sommer: 25572: Completion/Linux/Command/_modutils:
	complete module parameters.

2008-08-31  Peter Stephenson  <>

	* 25571: Src/lex.c, Src/parse.c, Test/.distfiles,
	Test/C03traps.ztst, Test/C05debug.ztst: make line numbers when
	parsing reflect the start of a parsed token rather than the end;
	add a test and move debug trap tests to a separate file.

2008-08-31  Clint Adams  <>

	* Frank Terbeck: 25561: Completion/Unix/Command/_git: fix quoting
	with aliases.

	* Mikael Magnusson: 25564: Completion/Unix/Command/_git:
	suppress error output in __git_is_treeish.

2008-08-31  Peter Stephenson  <>

	* 25570: Src/exec.c, Src/zsh.h, Test/C03traps.ztst: line numbers
	of complex sublists were wrong, plus test; another place to make
	lineno more consistent.

2008-08-31  Andrey Borzenkov <>

	* users/13169: Src/exec.c: really restore emulation mode when
	exiting shell function if 'emulate -L' has been used (actually
	if LOCAL_OPTIONS has been set). Fixed problem noticed in RedHat

2008-08-31  Peter Stephenson  <>

	* 25569: David Le Bourgeois & pws: _ant completion was broken
	by sed pattern change.

	* 25568: Frank Terbeck & pws: Src/builtin.c, Test/.distfiles,
	Test/A07control.ztst: break and continue arguments less than
	1 are invalid (and hard errors); add some tests for control

	* users/13162: Completion/Unix/Command/_module: strip
	"~" suffix from modules.

2008-08-30  Clint Adams  <>

	* 25553: Completion/Zsh/Command/_precommand:
	add aoss to compdef line.

	* Frank Terbeck: 25551: Completion/Unix/Command/_git: remove
	a stray period from a description.

2008-08-29  Clint Adams  <>

	* Mikael Magnusson: 25539: Completion/Unix/Command/_git: more
	'git clone' fixes.

	* Frank Terbeck: 25538: Completion/Unix/Command/_git: add missing

	* Frank Terbeck: 25537: Completion/Unix/Command/_git: add --abort
	to options for 'git am'.

2008-08-25  Peter Stephenson  <>

	* 25532, Src/exec.c, Test/C03traps.ztst: skipping next command
	didn't work if it was an assignment or other form tagged as

2008-08-24  Clint Adams  <>

	* 25521: Completion/Unix/Command/_git: get merge strategies from
	git merge in case the administrator has added custom strategies.

2008-08-22  Peter Stephenson  <>

	* 25508: Src/exec.c: set file name if function came from
	dump file.

2008-08-21  Peter Stephenson  <>

	* Doc/Zsh/compsys.yo: doc for foregoing.

	* Alexey I. Froloff: 25459: Completion/Unix/Type/_files: add
	list-dirs-first style.

2008-08-21  Clint Adams  <>

	* Mikael Magnusson: 25499: Completion/Unix/Command/_git: add
	function to validate tree-ishs.

	* 25495: Completion/Unix/Command/_git: always complete cached files
	after git checkout --.

	* 25493: Completion/Unix/Command/_git: allow -q to be used in all
	git checkout contexts.

	* 25491: Completion/Unix/Command/_git: patch to improve
	"git checkout" completion, from Mikael Magnusson.

2008-08-19  Clint Adams  <>

	* 25490: Src/zsh.h, Src/Modules/db_gdbm.c: make zties dynamic so
	there can be more than one gdbm handle in use at a time.

	* 25489: Completion/Unix/Command/_git: remove cruft for "git

	* 25488: Completion/Unix/Command/_git: patch to complete things
	after "git bisect start", Mikael Magnusson.

	* 25487: Completion/Unix/Command/_git: whitespace changes from
	Mikael Magnusson.

	* 25486: Completion/Unix/Command/_git: patch to allow --shared to
	be completed without --local with git clone.

	* 25485: Completion/Unix/Command/_git: patch to allow --abbrev to
	be completed before -v with git branch, from Mikael Magnusson.

2008-08-18  Clint Adams  <>

	* 25480: Completion/Unix/Command/_git: add more quotes to the
	three _call_program invocations with git for-each-ref.

	* Mikael Magnusson: 25473: Completion/Unix/Command/_git: add
	missing parenthesis.

	* unposted: Completion/Unix/Command/_git: additional git branch

	* 25475: Completion/Unix/Command/_git: determine heads, tags,
	and branches through git for-each-ref instead of git tag and
	git branch.

2008-08-17  Clint Adams  <>

	* 25469: Completion/Unix/Command/_git: assorted changes
	cherry-picked from Mikael Magnusson.

2008-08-16  Clint Adams  <>

	* 25465: Completion/Unix/Command/_git: patch from Mikael Magnusson
	to add more git-add and git-checkout options.

	* unposted: Completion/Unix/Command/_git: another typo fix.

	* 25464: Completion/Unix/Command/_git: patch from Mikael Magnusson
	to add --graph.

	* 25463: Completion/Unix/Command/_git: patch to add git
	completion for --base/-1, --ours/-2 and --theirs/-3, from
	Mikael Magnusson.

	* 25462: Completion/Unix/Command/_git: patch to add some -s -w
	to _arguments and new options for revert, from Mikael Magnusson.

	* 25461: Completion/Unix/Command/_git: patch to add HEAD as
	a completion for heads, from Mikael Magnusson.

	* 25460: Completion/Unix/Command/_git: patch to add the
	--branches/tags/remotes for rev-list to _git from Mikael

	* 25457: Completion/Unix/Command/_git: improvements for git diff
	and git log from Mikael Magnusson.

	* Mikael Magnusson: 25456: Completion/Unix/Command/_git: fix typo
	of "before".

	* Frank Terbeck: 25455: Completion/Unix/Command/_git: handle git

2008-08-14  Clint Adams  <>

	* 25452: Completion/Unix/Command/_look: redirect stderr from look
	to /dev/null.

2008-08-13  Peter Stephenson  <>

	* unposted: Test/V01zmodload.ztst: change consequent on having
	a new parameter in zsh/parameter.

	* 25448: Doc/Zsh/mod_parameter.yo, Src/exec.c, Src/init.c,
	Src/Modules/parameter.c, Src/zsh.h, Src/Modules/parameter.c
	Src/Modules/parameter.mdd: add $funcfiletrace to show
	absolute line number for caller.

2008-08-12  Peter Stephenson  <>

	* 25443 (tweaked): Doc/Zsh/mod_parameter.yo,
	Src/Modules/parameter.c, Test/V06parameter.ztst: allow
	$functrace to show sourced files.

2008-08-12  Peter Stephenson  <>

	* unposted: Completion/Solaris/Command/.distfiles,
	Completion/Solaris/Type/.distfiles: missed .distfiles entry.

	* 25435: Baptiste Daroussin <>:
	_csup,_portlint,_powerd}: new and improved FreeBSD completions.

2008-08-11  Peter Stephenson  <>

	* unposted: Test/V06parameter.ztst: fix load directory for
	module from script.

	* 25247 with further modifications: Doc/Zsh/mod_parameter.yo,
	Src/exec.c, Src/hashtable.c, Src/init.c, Src/parse.c,
	Src/signals.c, Src/utils.c, Src/zsh.h, Src/Modules/parameter.c,
	Src/Modules/parameter.mdd, Test/.distfiles,
	Test/V01zmodload.ztst, Test/V06parameter.ztst: add
	$funcsourcetrace parameter to zsh/parameter.

2008-08-11  Peter Stephenson  <>

	* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo: prevent various
	entries looking like Yodl macros.

	* 25429: Rocky Bernstein: Test/E01options.ztst,
	Test/E02xtrace.ztst: don't assume PS4 is set to the default.

2008-08-08  Clint Adams  <>

	* 25424: Chris Lamb: Completion/Debian/Command/_lintian:
	completion for lintian-info.

2008-08-07  Clint Adams  <>

	* 25423: Chris Lamb: Completion/Debian/Command/.distfiles,
	Completion/Debian/Command/_grep-excuses: completion for

	* 25422: Chris Lamb: Completion/Debian/Command/_apt-show-versions:
	apt-show-versions completion fix.

2008-08-07  Peter Stephenson  <>

	* 25418: Doc/Zsh/options.yo, Src/options.c: set PROMPT_SUBST
	for all Bourne-style shells.

	* 25415: README, Doc/Zsh/builtins.yo, Doc/Zsh/func.yo,
	Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/init.c,
	Src/options.c, Src/signals.c, Src/zsh.h, Test/A05execution.ztst,
	Test/C03traps.ztst:  Make DEBUG_BEFORE_CMD the default;
	make ERR_EXIT ineffective in DEBUG traps but allow it to
	be set to skip the next command (actually sublist); tidy
	up code associated with trapreturn.

2008-08-06  Peter Stephenson  <>

	* 25409: Doc/Zsh/builtins.yo, Src/builtin.c, Test/.distfiles,
	Test/B05eval.ztst: eval shouldn't reset the status at the
	start but should if the command was empty.

2008-08-06  Peter Stephenson  <>

	* 25405: Src/exec.c: return value was not set from anonymous

	* 25400: Test/C03traps.ztst: Rocky's test for 25385

2008-08-05  Peter Stephenson  <>

	* 25392: Test/C03traps.ztst: test for 25367

2008-08-05  Barton E. Schaefer  <>

	* 25389: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: once again
	rearrange precedence of ZLS_COLORS alternatives to make complex
	coloring of file names possible.

2008-08-04  Peter Stephenson  <>

	* Src/init.c: 25385: extend 25367 to fix another bug
	with trapreturn trampling on status.

2008-08-04  Peter Stephenson  <>

	* users/13095: we don't want that
	_XOPEN_SOURCE_EXTENDED stuff on AIX, apparently.

	* 25384: Src/init.c: fix problem with autoload of zsh/zle
	for warning message at boot.

	* users/13093: Src/module.c: HashNode changes didn't
	get propagated to AIX-specific code.

2008-08-02  Barton E. Schaefer  <>

	* 25373: Src/Builtins/sched.c: fix missed ZLE entry point (see

2008-08-01  Peter Stephenson  <>

	* 25367: Src/exec.c, Src/init.c, Src/signals.c: bug with
	trapreturn in a sourced file caused early return of parent;
	add protection for nested traps; document trapreturn.

	* unposted: Functions/Misc/add-zsh-hook: testing for existence
	of hook function when hook was already defined was broken.

	* unposted: Functions/TCP/tcp_open, Functions/TCP/tcp_sess:
	improve some variable handling and standardise some indentation.

2008-07-31  Peter Stephenson  <>

	* 25364: Doc/Zsh/params.yo, Src/params.c, Test/D06subscript.ztst:
	(k) hash subscript didn't work due to sense of test.

	* 25345, 25347: Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c,
	Src/input.c, Src/jobs.c, Src/loop.c, Src/options.c, Src/signals.c,
	Src/utils.c, Src/zsh.h, Src/Zle/zle_main.c: Neaten interface
	from main shell to zle to zleentry() in main shell using
	single zle_entry_pointer.

2008-07-30  Peter Stephenson  <>

	* unposted: Doc/Zsh/func.yo: refer to DEBUG_BEFORE_CMD option.

2008-07-30  Peter Stephenson  <>

	* Max Mikhanosha: users/13077: Completion/Unix/Type/_path_files:
	fix toggling with `follow' option.

2008-07-29  Peter Stephenson  <>

	* 25346: Completion/compdump: fix some variables.

	* Max Mikhanosha: users/13072: Completion/Unix/Type/_path_files:
	add `follow' option to file-sort style.

2008-07-27  Peter Stephenson  <>

	* following discussion: Src/builtin.c: change error message in

2008-07-25  Peter Stephenson  <>

	* 25338: Src/builtin.c: disallow fc editing of the current
	history line which has bad effects on stack usage and temporary

2008-07-23  Clint Adams  <>

	* 25330: Doc/Zsh/mod_curses.yo: fix description of
	zcurses "position" (was documented as "location").

	* 25329: Src/Modules/curses.mdd: build the curses module if
	we've got any usable curses header, not just curses.h.

	* 25328: Completion/Unix/Command/_gpg: fix --recv-keys and
	--send-keys to complete key IDs instead of uid email addresses.

2008-07-22  Peter Stephenson  <>

	* 25326: Src/Zle/zle_refresh.c: don't recalculate prompt
	if not redisplaying.

2008-07-21  Peter Stephenson  <>

	* unposted: Src/Modules/.distfiles: add missing files.

	* Danek Duvall: 25324: Completion/Solaris/Command/_coreadm,
	Completion/Unix/Command/_pkgrm, Completion/Unix/Command/_zfs,
	Completion/Unix/Type/_zfs_pool: new completions.

2008-07-21  Clint Adams  <>

	* 25322: Src/Modules/db_gdbm.c: fix printing of keys.

	* 25321: Src/Modules/db_gdbm.c: delete gdbm node when
	corresponding hash entry is unset.

	* 25320: Src/Modules/db_gdbm.c: fix read and write of elements
	by key.

	* 25319: Src/Modules/db_gdbm.c: fix zuntie, add -f option
	to ztie.

2008-07-20  Clint Adams  <>

	* 25318: Src/Modules/db_gdbm.c, Src/Modules/db_gdbm.mdd, allow parameter to be tied to a gdbm database.

2008-07-18  Peter Stephenson  <>

	* 25304: Richard Hartmann: Functions/Newuser/zsh-newuser-install:
	don't go beyond 80 columns.

2008-07-17  Peter Stephenson  <>

	* 25279: Doc/Zsh/func.yo, Functions/Misc/add-zsh-hook,
	Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, Src/utils.c,
	Src/Zle/zle_main.c: add zshaddhistory hook to allow manipulations
	when history line is saved.

2008-07-15  Peter Stephenson  <>

	* users/13036: Src/utils.c: "." is a valid character in
	a user name.

2008-07-14  Peter Stephenson  <>

	* 25278: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo,
	Doc/Zsh/compwid.yo, Doc/Zsh/manual.yo: rename sections in the
	completion widget manual to avoid confusion with sections

2008-07-11  Peter Stephenson  <>

	* Phil Pennock: 25275: Completion/Base/Utility/_store_cache,
	StartupFiles/zshrc: restrict permissions on cache directories
	and use zstat in example zshrc.

	* Phil Pennock: 25276:
	Completion/Unix/Command/_baz, Completion/Unix/Command/_darcs,
	Completion/Unix/Command/_tar, Completion/Unix/Command/_tla,
	Completion/Zsh/Command/_zftp, Functions/Misc/sticky-note,
	Functions/Misc/tetris, Functions/Misc/xtermctl,
	Functions/Misc/zed, Functions/Prompts/prompt_bigfade_setup,
	Functions/Prompts/promptinit, Functions/Zle/edit-command-line,
	Functions/Zle/incarg, Functions/Zle/modify-current-argument,
	Functions/Zle/predict-on, Functions/Zle/quote-and-complete-word,
	Functions/Zle/url-quote-magic, StartupFiles/zshrc:
	use autoload -z to load zsh functions.

2008-07-07  Peter Stephenson  <>

	* unposted: Functions/Zle/copy-earlier-word: avoid
	warnings from WARN_CREATE_GLOBAL.

	* 25269: Frank Terbeck: Src/Zle/compcore.c

2008-07-06  Peter Stephenson  <>

	* 25267: Src/Zle/compcore.c: Fix problem that menu completion
	wasn't automatically started on a pattern match if matching
	was done by the calling function.

2008-07-05  Peter Stephenson  <>

	* 25266: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: always use
	EXTENDED_GLOB for patterns in ZLS_COLORS.

2008-07-01  Peter Stephenson  <>

	* 25262: Src/parse.c: suspicious attempt to test errors
	when parsing command within braceless function.

2008-07-01  Peter Stephenson  <>

	* 25259: Src/utils.c: make getquery() handle unhandled characters

2008-06-30  Peter Stephenson  <>

	* 25258: Completion/Unix/Type/_path_files: don't
	use -M option with -U.

2008-06-30  Peter Stephenson  <>

	* unposted: Functions/Calendar/calendar_scandate: unlocalised
	variable spotted with warncreateglobal.

	* 25255: Doc/Zsh/func.yo, Src/exec.c, Test/C04funcdef.ztst:
	anonymous functions using "() { ... }" and "function { ... }".

2008-06-24  Clint Adams  <>

	* 25243: Completion/X/Command/_xrandr: patch from Chris Lamb to add
	--same-as for xrandr.

2008-06-24  Peter Stephenson  <>

	* 25244: Doc/Zsh/contrib.yo, Functions/Zle/match-words-by-style,
	Functions/Zle/split-shell-arguments: enhance users/12987 with
	style for subword start and fix a few bits of documentation.

	* users/12985, users/12986, users/12988: Tomasz Pala:
	Completion/Linux/Command/_ipset, Completion/Unix/Command/_arp:
	new and updated completions.

	* users/12987: Doc/Zsh/contrib.yo,
	Functions/Zle/select-word-style: add subword matching to
	word-style capabilities.

	* 25242: Mikael: Doc/Zsh/prompt.yo, Src/prompt.c: add V prompt
	test for contents of psvar.

2008-06-23  Peter Stephenson  <>

	* 25237: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_open: make
	tcp_on_open return status significant.

	* 25236: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-setup:
	zsh-mime-setup -l can take suffix arguments.

2008-06-21  Peter Stephenson  <>

	* 25231: Completion/Unix/Type/_path_files: fix approximation
	of absolute paths in root directory (/uzr -> /usr, etc.).

2008-06-19  Peter Stephenson  <>

	* 25214, tweaked: add warning about exponentitation precedence.

2008-06-16  Clint Adams  <>

	* 25167: Src/system.h: patch from Petr Salinger to define
	_GNU_SOURCE (for /dev/ptmx) when glibc is being used on
	non-linux platforms.

2008-06-16  Peter Stephenson  <>

	* Bart: 25164: Doc/Zsh/expn.yo: typo.

	* 25159: Doc/Zsh/compwid.yo: expand documentation for
	correspondence classes with [:...:].

2008-06-13  Peter Stephenson  <>

	* unposted: Completion/Zsh/Context/_zcalc_line,
	Functions/Misc/zcalc: handle completion idiosyncracies when
	completing in the same word as ":!".

	* 25152: Completion/Zsh/Context/{.distfiles,_zcalc_line}
	(moved from Type because this is where it should be),
	Doc/Zsh/contrib.yo, Functions/Misc/zcalc: improved zcalc
	escape commands with ":" including ":!" and ":raw"; more complete
	zcalc completion with special context.

	* unposted: Completion/{Unix,Linux}/Command/{strace,.distfiles}: move

	* users/12911: Tomasz Pala <>:
	Completion/Unix/Command/.distfiles: new completion

2008-06-12  Peter Stephenson  <>

	* 25149: Doc/Zsh/arith.yo, Doc/Zsh/options.yo, Src/math.c,
	Src/options.c, Src/zsh.h, Test/C01arith.ztst:  add
	C_PRECEDENCES option to make arithmetic operators have
	C (or, where necessary, Perl) precedences.

2008-06-11  Peter Stephenson  <>

	* 25145: Src/exec.c, Test/E02xtrace.ztst: make sure XTRACE output
	follows stderr redirections.

	* 25143: Mikael: Doc/Zsh/mod_zprof.yo: missing descendants.

2008-06-10  Peter Stephenson  <>

	* Mikael: 25146: Src/Zle/compmatch.c:
	pattern_match_equivalence() needs to be exported.

2008-06-10  Peter Stephenson  <>

	* 25144: Src/builtin.c, Src/math.c, Src/utils.c plus unposted
	C01arith.ztst: report the supported bases on a base error.

	* 25143: Mikael: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo,
	Doc/Zsh/compsys.yo, Doc/Zsh/func.yo, Doc/Zsh/grammar.yo,
	Doc/Zsh/mod_pref.yo, Doc/Zsh/options.yo, Doc/Zsh/zle.yo:
	spelling corrections.

2008-06-09  Peter Stephenson  <>

	* unposted: Src/Zle/compmatch.c: silence compiler (has no
	other effect).

2008-06-08  Peter Stephenson  <>

	* 25139: Completion/compinstall, Doc/Zsh/compwid.yo,
	Src/pattern.c, Src/zsh.h, Src/Zle/comp.h, Src/Zle/complete.c,
	Src/Zle/compmatch.c, Src/Zle/computil.c: enhance completion
	matching to make it possible to use wide characters (not yet
	done); also allows named character ranges, so that
	{[:lower:]}={[:upper:]} works (for now, just for single-byte
	character sets).

2008-06-05  Doug Kearns  <>

	* unposted: Completion/Redhat/Command/_rpm: fix typo

2008-06-04  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/.distfiles: missing files.

	* unposted: Completion/Unix/Type/_path_files: another typo.

	* 25130 slightly tweaked for typos:
	Completion/Unix/Type/_path_files: changes to use -U flag
	to compadd so that spelling corrections in non-final
	path segments are accepted.

2008-06-03  Peter Stephenson  <>

	* 25132: Completion/Zsh/Command/_zstyle: numerous still
	highly incomplete updates.

	* 25131: Completion/Unix/Command/_chmod,
	Completion/Unix/Command/_chown, Completion/Unix/Command/_cvs,
	Completion/Zsh/Type/_file_descriptors: need b:zstat to
	get zstat with zmodload -F zsh/stat.

2008-06-02  Peter Stephenson  <>

	* users/12858: Doc/Zsh/compsys.yo: this bit didn't
	get committed.

2008-06-01  Peter Stephenson  <>

	* 25127: README: note the changes in 25122, 25124 and 25126 as
	an incompatibility.

2008-06-01  Clint Adams  <>

	* 25124, 25126: INSTALL, MACHINES,, Src/zsh.h: work
	with --(disable|enable)-largefile instead of --(disable|enable)-lfs,
	since the latter is no longer functional.

2008-05-31  Clint Adams  <>

	* 25122: aczsh.m4, use AC_SYS_LARGEFILE for better
	LFS detection.

2008-05-29  Peter Stephenson  <>

	* unposted: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_fd_handler:
	add tcp_on_awol.

	* Tomasz Pala <>: users/12884:
	Completion/Unix/Command/{iftop,tcpdump}: new completions

2008-05-27  Peter Stephenson  <>

	* users/12870: Doc/Zsh/expn.yo: modifiers in glob qualifiers
	activate global globbing behaviour.

	* unposted: NEWS: note prompt colour, accept-exact-dirs.

2008-05-26  Peter Stephenson  <>

	* 25104; 25111 (Jun T): Completion/Unix/Command/_locate: better
	handling of multiple versions of locate.

2008-05-20  Clint Adams  <>

	* 25077: Completion/Unix/Command/_gnupod: consolidation of GNUpod
	script completion from Omari Norman in 25075.

2008-05-20  Peter Stephenson  <>

	* unposted: Functions/Prompts/.distfiles: add prompt_pws_setup.

2008-05-19  Peter Stephenson  <>

	* unposted: Completion/compinit: typo in 25068.

2008-05-18  Peter Stephenson  <>

	* users/12858: Doc/Zsh/compsys.yo,
	Completion/Unix/Type/_path_files: add accept-exact-dirs style.

	* unposted: Completion/compinit: fix unwanted output from

	* 25068: Completion/compinit: fix some warnings with

	* 25063: Functions/Prompts/prompt_bart_setup: minor

	* Mikael: 25054: Doc/Zsh/prompt.yo: typo.

2008-05-17  Peter Stephenson  <>

	* unposted: Src/utils.c: unused variable in 25057.

	* 25059: Functions/Misc/add-zsh-hook and virtually every
	function under Functions/Prompts, also new
	Functions/Prompts/pws, also unposted addition to
	Doc/Zsh/contrib.yo: thorough modernization of the prompt
	theme system to use current shell facilities better.

	* 25057: Src/mem.c, Src/utils.c: better debug info for memory

	* 25055: Src/pattern.c: remove unnecessary debug test.

2008-05-16  Peter Stephenson  <>

	* 25052: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo,
	Doc/Zsh/mod_complist.yo, Doc/Zsh/prompt.yo: update some
	documentation for use of colour highlighting.

	* unposted: Etc/CONTRIBUTORS: update main shell list; still
	need to update list for functions.

	* 25051: Src/prompt.c, Src/complist.c, Src/zle_tricky.c:
	add %F, %K, %f, %k handling to formatting strings for completion.

2008-05-15  Peter Stephenson  <>

	* 25040: Src/builtin.c, Src/utils.c, Src/Modules/zpty.c:
	zpty should display context information more like eval.

2008-05-14  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: also p4 sizes,
	p4 license.

	* unposted: Completion/Unix/Command/_perforce: handle
	p4 protects.

	* 25025: Doc/Zsh/builtins.yo, Src/builtin.c, Src/math.c,
	Src/utils.c: more checks to ensure radix for arithmetic
	constants is between 2 and 36 inclusive.

2008-05-13  Peter Stephenson  <>

	* 25018: Omari Norman: Completion/Unix/Command/{_awk,_cut,_join}:
	new completions.

	* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: comment
	on aliases.

2008-05-12  Peter Stephenson  <>

	* 25006, 25009: Src/Zle/complist.c: do "or" symlink orphan
	highlighting; make stat-ed file types take precedence over
	extensions and patterns.

	* 25002: Src/builtin.c, Src/init.c, Src/input.c, Src/loop.c,
	Src/prompt.c, Src/subst.c, Src/utils.c, Src/zsh.h,
	Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: only update
	display attributes from prompts within zle.

2008-05-11  Peter Stephenson  <>

	* 24996: Src/cond.c, Src/exec.c, Src/glob.c, Src/loop.c,
	Src/zsh.h: improve xtrace output for patterns.

	* users/12848: Test/A01grammar.ztst, Src/loops.c: return, break
	and continue are allowed in "always" block and will override
	try block if set.

	* 24994: Src/Zle/zle_hist.c: Fix problem with
	up/down-line-or-search comparison, perhaps.

	* 24990: Stephane Chazelas: Functions/Misc/zmv: fix
	various little quirks in zmv.

2008-05-09  Peter Stephenson  <>

	* 24986: Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo, Src/init.c,
	Src/prompt.c, Src/watch.c, Src/zsh.h, Src/Zle/zle_refresh.c:
	prompt escapes for colouring.

	* users/12846: Etc/FAQ.yo: not so many Windows ports, these days.

2008-05-08  Peter Stephenson  <>

	* unposted: Src/modules.c: bad arguments to error message.

	* 24980: Doc/Zsh/builtins.yo, Src/builtin.c, Src/module.c,
	Src/zsh.h: add zmodload -mF to manipulate features by pattern.

	* 24972: Phil Pennock: Doc/Zsh/mod_files.yo, Src/Modules/files.c,
	Src/Modules/files.mdd:  Add zf_* commands for zsh/files modules
	plus a few extra options.

2008-05-07  Peter Stephenson  <>

	* 24962: Oliver: Functions/Prompts/prompt_oliver_setup:
	update to use zle_highlight default highlighting.

2008-05-07  Peter Stephenson  <>

	* 24959: Src/Zle/compresult.c: ^D's in compctl could cause a

2008-05-06  Peter Stephenson  <>

	* 24957: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c: better sanity
	checking of colour ranges, always use termcap for numeric
	colours where available.

	* 24911 (tweaked): Doc/Zsh/zle.yo: missed this bit, somehow.

2008-05-06  Peter Stephenson  <>

	* 24953: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c:
	"default" zle_highlight context, also fix allocation bug with

2008-05-06  Clint Adams  <>

	* 24947: Completion/X/Command/_mozilla: complete -safe-mode for

2008-05-06  Peter Stephenson  <>

	* 24951: Doc/Zsh/mod_complist, Src/Zle/comp.h, Src/Zle/compcore.c,
	Src/Zle/complist.c: implement ZLS_COLORS ln=target.

	* 24937, 24938: Dag-Erling Smørgrav <>:
	improved version of 24927.

	* 24932: Src/zsh.h, Src/Zle/zle_refresh.c: try to regularize
	code that fixes up after right prompt.

	* 24927: Phil Pennock: Free BSD only doesn't need

2008-05-04  Wayne Davison  <>

	* 24831 plus changes: Src/hist.c: simplified fcntl() locking.

	* unposted: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: fixed
	signed/unsigned warnings, including an always true "if".

2008-05-04  Peter Stephenson  <>

	* Mikael Magnusson: 24911 (tweaked): Doc/Zsh/zle.yo,
	Src/Zle/zle_params.c: REGION_ACTIVE zle parameter.

	* Phil Pennock: 24904 + 24916:, Src/system.h: don't
	define _XOPEN_SOURCE_EXTENDED on freebsd, either, not even
	if the standard says we need it for wcwidth().

	* 24915: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c,
	Src/Zle/zle_move.c, Src/Zle/zle_vi.c: some more fix-ups for
	combining characters.

2008-05-02  Peter Stephenson  <>

	* users/12815: Src/jobs.c, Src/signals.c, Src/zsh.h:
	fix bug that a previously defunct process could be taken as a
	recently terminated process that needed marking as done, hence
	causing the shell to wait for ever for the newly exited process.

2008-05-01  Peter Stephenson  <>

	* 24900: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c: add
	backward-kill-word to delete previous character immediately
	in isearch and document the isearch commands better.

	* 24899: Doc/Zsh/zle.yo, Src/Zle/zle_main.c,
	Src/Zle/zle_refresh.c: make colour escape sequences configurable
	and allow ANSI colour names.

2008-04-29  Peter Stephenson  <>

	* 24895: Matt Wozniski: Doc/Zsh/zle.yo: typo.

	* unposted: Src/glob.c: oops.

2008-04-29  Peter Stephenson  <>

	* 24894: Doc/Zsh/zle.yo, Src/init.c, Src/zsh.h,
	Src/Zle/zle_refresh.c: enable colouring of highlighted text
	in editor.

	* 24893: Src/Zle/zle_refresh.c: duplicate statusline to avoid
	crashes when it's passed from a constant string.

2008-04-28  Peter Stephenson  <>

	* unposted: Src/Zle/zle_hist.c: when anchoring a pattern
	isearch to the start of the line the search line wasn't
	reset on new input so when the first match of the new pattern
	was earlier than that of the old pattern we skipped it.

	* unposted: Src/Zle/zle_hist.c: more tweaks for failures with
	isearch pattern matching.

	* 24890: Matt Wozniski: Src/Zle/zle_hist.c: skip_pos was
	staying set causing random failures on backtracking in isearch.

	* 24887: Geoff: Src/glob.c: typo.

2008-04-27  Peter Stephenson  <>

	* 24886: Src/Zle/zle_hist.c: using unupdated pos to set end_pos
	in string isearch could cause endless loop.

2008-04-26  Peter Stephenson  <>

	* unposted: NEWS: note that COMBINING_CHARS is not on by

	* 24882: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c:
	highlighting of incremental search match.

	* unposted because everyone's seen enough of my mistakes:
	Src/pattern.c, Src/Zle/zle_hist.c: with pattern matching the
	end position of the match wasn't calculated; we used the
	length of the uncompiled pattern which often had nothing
	to do with it.  This made the position on forward pattern
	searching wrong.

	* 24881: Src/Zle/zle_hist.c: we kept feeping on an invalid
	pattern; once is quite enough.

	* 24880: Src/Zle/zle_hist.c: feeping on a failed match could
	be mistimed.

	* 24879: Src/Zle/zle_hist.c: nastiness with pattern search
	and duplicate line detection.

	* 24878: NEWS, Doc/Zsh/zle.yo, Src/glob.c, Src/pattern.c,
	Src/zsh.h, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c:
	add history-incremental-pattern-search-backward and
        history-incremental-pattern-search-forward, also optimize
	history searches a bit more.

	* 24876: don't install manual pages if empty.

	* 24872: Jun T.: Fix capitalization with combining characters.

	* 24869: Marc Chantreux:, Src/init.c: make default
	readnullcmd configurable.

2008-04-24  Peter Stephenson  <>

	* unposted: Jun T.: Src/Zle/zle_utils.c: backkill() in raw
	mode didn't correctly calculate the number of characters to

2008-04-23  Peter Stephenson  <>

	* unposted: Src/Zle/zle_misc.c: overwrite mode without
	MULTIBYTE_SUPPORT should be as before.

2008-04-23  Peter Stephenson  <>

	* 24867: Src/system.h: looks like we need _XOPEN_SOURCE_EXTENDED
	instead of just _XOPEN_SOURCE.

	* 24865: Src/zle_vi.c: bad character adjustment in

	* 24864: Jun T.:, Src/zsh.h: typos in 24861.

2008-04-22  Peter Stephenson  <>

	* 24862: Src/system.h: #define _XOPEN_SOURCE if needed to
	get wcwidth().

	* 24861:, Src/builtin.c, Src/compat.c, Src/prompt.c,
	Src/utils.c, Src/zsh.h, Src/zle/complist.c, Src/Zle/zle_misc.c
	(slightly rewritten), Src/zle/zle_refresh.c, Src/Zle/zle_tricky.c:
	use alternative wcwidth() if configure suggests the library
	version is returning non-zero when it shouldn't; also improve the
	overwriting test for combining characters.

2008-04-21  Peter Stephenson  <>

	* 24860: Src/Zle/zle_misc.c, Src/Zle/zle_utils.c: better
	overwrite mode.

	* 24859: Src/Zle/zle_misc.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c:
	overwriting combining characters and replacing them and appending
	after them in vi mode.

	* 24856: Src/utils.c, Src/zsh.h, Src/Zle/zle_move.c,
	Src/Zle/zle_refresh.c: use IS_COMBINING() and IS_BASECHAR()
	tests for combining characters.  Widen definitions of characters
	to least restrictive we think are likely to work.

	* 24855: Src/Zle/zle_utils.c: tests for combining char aligments
	should only be on metafied command line.

	* unposted: Src/Zle/zle_move.c: missing assignment in new

2008-04-20  Peter Stephenson  <>

	* 24853: Src/utils.c, Src/zsh.h, Src/Zle/complist.c,
	Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c,
	Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_refresh.c,
	Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c,
	Src/Zle/zle_word.c:  use metafied strings for inner loops
	involving history, with consequent changes for similar code
	such as execute-name-command, plus some utility functions.

	* 24852: Src/zle_main.c (Jun T.), Src/Zle/zle_vi.c: more
	combining chars fallout.

	* users/12798: Etc/zsh-development-guide: passing NULL flags
	to builtin definition.

	* users/12793: William Scott: Completion/BSD/Command/_chflags:
	hidden/nohidden flags.

2008-04-20  Andrey Borzenkov <>

	* 24851: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: support
	colour codes for from current GNU ls

2008-04-18  Wayne Davison  <>

	* unposted: Src/Zle/zle_refresh.c: fixed compiler warnings
	about signed/unsigned issues.

2008-04-18  Peter Stephenson  <>

	* 24839: Src/Zle/zle_word.c: misuse of variable in 24825.

2008-04-17  Peter Stephenson  <>

	* 24829: Jun T.: Src/Zle/zle_vi.c: vi-replace-chars got broken
	in the crossfire.

	* 24825: Src/utils.c, Src/Zle/zle_word.c: fix internal
	word-boundary widgets and make zero-width punctuation
	characters always part of a word.

	* unposted: NEWS: list new features so far since 4.3.6.

	* Vincent Lefevre: 24818: Doc/Zsh/options.yo (modified),
	Src/hist.c (with #ifdef HAVE_FTRUNCATE), Src/options.c, Src/zsh.h:
	history file locking using fcntl().

2008-04-16  Clint Adams  <>

	* 24823: Completion/Unix/Command/_git: some fixes and updates for
	git 1.5.5.

2008-04-16  Peter Stephenson  <>

	* 24821: Etc/FAQ.yo, Src/Zle/zle_main.c: updated notes plus
	fix cursor position with combining characters after exit
	from a user-defined widget.

2008-04-15  Peter Stephenson  <>

	* 24819: Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_move.c,
	Src/Zle/zle_utils.c: need to fix up combining character aligment
	in case of sneaky combination generation; fix transposing

2008-04-14  Peter Stephenson  <>

	* 24816: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c,
	Src/Zle/zle_tricky.c: a few places where we need to alight
	with combining characters.

	* 24814: Src/hist.c: suspicious handling of temporary history

	* 24811: Doc/Zsh/roadmap.yo, Etc/FAQ.yo: update introductory
	documentation on multibyte support.

	* 24810 (slightly edited to move added text later):
	Src/Zle/zle_tricky.c: after unmetafying the command line ensure
	we're not on a combining character.

2008-04-13  Peter Stephenson  <>

	* 24808: Doc/Zsh/options.yo, Src/options.c, Src/utils.c, Src/zsh.h,
	Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/compresult.c,
	Src/Zle/deltochar.c, Src/Zle/zle.h, Src/Zle/zle_hist.c,
	Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_refresh.c,
	Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c,
	Src/Zle/zle_word.c: add COMBINING_CHARS option and basic
	zle support.

	* Miek Gieben: users/12781: Functions/Misc/zmv: too many
	backslashes in Usage message.

2008-04-12  Peter Stephenson  <>

	* Frank Terbeck: 24807: Completion/compint: Completion system
	needs no_ignore_braces option.

2008-04-11  Peter Stephenson  <>

	* unposted: Src/zle_hist.c, Src/zle_utils.c: move zlecmp() and
	zlefind() unaltered into zle_hist.c as statics in preparation
	for surgery on the zle_text interface.  (You should see the
	waiting list for surgery, though.)

2008-04-09  Peter Stephenson  <>

	* 24806: Doc/Zsh/params.yo, Completion/Zsh/Context/_subscript: fix
	typos, completing of * and @.

	* 24804: Completion/Zsh/Context/_subscript: quoting of
	associative array keys for subscripts was wrong.

2008-04-07  Clint Adams  <>

	* Markus Waldeck: 24799: Completion/Unix/Command/_vorbis:
	complete .spx files for ogg123.

2008-04-07  Peter Stephenson  <>

	* 24797: Doc/Zsh/zle.yo, Functions/Zle/read-from-minibuffer:
	document POSTDISPLAY highlighting; restore read-from-minibuffer
	save/restore mechanism using variables to avoid problems with
	not restoring special ZLE variables when they go out of scope.

2008-04-05  Peter Stephenson  <>

	* İsmail Dönmez <>: 24793: Doc/Zsh/zle.yo:

2008-04-04  Peter Stephenson  <>

	* 24792: Src/Zle/zle_refresh.c: try to be safer about turning
	off attributes when outputting at a new position.

	* c.f Mikael, 24790: Doc/Zsh/zle.yo: item()s need closing
	parentheses on next line.

2008-04-04  Clint Adams  <>

	* 24789: Completion/Unix/Command/_stgit: completion for
	stg subcommands.

2008-04-03  Peter Stephenson  <>

	* 24788: Doc/Zsh/expn.yo, Src/subst.c: ${(m)#...} returns
	string print width.

2008-04-03  Peter Stephenson  <>

	* 24787: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: reset
	region_highlight when finished editing command line.

	* 24786: Src/builtin.c, Src/init.c, Src/zle/zle_keymap.c,
	Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_vi.c:
	handle read -t properly in zle by passing down timeout
	to getbyte().

	* 24782, plus a couple of fixes: Doc/Zsh/zle.yo,
	Functions/Zle/replace-string-again, Src/zsh.h, Src/Zle/zle.h,
	Src/Zle/zle_main.c, Src/Zle/zle_move.c, Src/Zle/zle_params.c,
	Src/Zle/zle_refresh.c: initial go at highlighting of command
	lines in zle using $zle_highlight and $region_highlight.

	* unposted, see users/12758: actually, [(w)...] does work with
	(r) and (R).

2008-04-02  Peter Stephenson  <>

	* users/12754: Doc/Zsh/params.yo: [(w)...] doesn't work with (i),
	(I), (r), (R).

	* unposted: update version to 4.3.6-dev-0 to avoid clash with
	released version.

	* 24781: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context:
	make word-context style more useful by using previous or next word
	depending on widget name.

	* unposted: README: minor tweaks.

	* unposted: NEWS, Config/ Release 4.3.6.

2008-04-01  Peter Stephenson  <>

	* unposted: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: need tt(--) ->
	tt(-)tt(-).   Plus other minor typos.

	* unposted: (spotted by Ismail): Doc/Zsh/compsys.yo: typo.

2008-03-31  Peter Stephenson  <>

	* unposted: README, Config/, Etc/.distfiles, Etc/FAQ.yo,
	Etc/relnote{,s}_4.3.6.txt:  4.3.5-dev-4 and renumber for

	* unposted: Functions/Calendar/calendar_show: if in KDE,
	use kdialog rather than xmessage.

2008-03-30  Peter Stephenson  <>

	* 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst:
	(#c) extended globbing flag didn't backtrack properly on
	failure of the remaining pattern after the repeated pattern.

2008-03-28  Peter Stephenson  <>

	* 24777: Src/Zle/complist.c: bug clearing a list when
	exiting from menu selection in some circumstances (see
	24756 for test case).

2008-03-28  Peter Stephenson  <>

	* 24776: Completion/compinit: clarify the message printed
	when compaudit finds problems.

	* 24775: Completion/Zsh/Command/_cd, Doc/Zsh/compsys.yo: improve
	option handling.

	* users/12739: multiple arguments to --with-term-lib
	weren't handled properly.

	* 24768: Completion/Unix/Type/_canonical_paths,
	Doc/Zsh/builtins.yo, Etc/relnotes_4.3.6.txt, Src/builtin.c:
	add -q option to cd, chdir, pushd, popd; use in _canonical_paths;
	document in release note.

2008-03-27  Peter Stephenson  <>

	* 24759: Completion/Unix/Type/_canonical_paths: unfunction
	is noisy if function wasn't set.  Also sanitize use of
	helper functions.

	* 24757: Completion/Unix/Type/_canonical_paths: use
	CHASE_LINKS and pwd to canonicalize the directory path.

	* unposted: fix alias test in 24736 properly by replacing
	"foo" everywhere.

2008-03-26  Peter Stephenson  <>

	* unposted: Config/ 4.3.5-dev-3.

	* 25753 (after various previous attempts):
	Completion/Unix/Type/_canonical_paths: use zstat to find
	canonical name for symbolic links.

	* c.f. 24741: Doc/Zsh/mod_stat.yo: loading zstat builtin was

	* 24736: Test/A02alias.ztst, Test/D07multibyte.ztst:
	tests failing with "foo" in the path and with inscrutable
	numeric sorting with NUMERIC_GLOB_SORT unset.

	* unposted: Config/ 4.3.5-dev-2.

2008-03-25  Peter Stephenson  <>

	* 24733: Src/jobs.c: wait shouldn't return immediately on
	a signal unless it's trapped (bug in 22281).

	* 24732: Src/Builtins/sched.c: not enough space for ztrftime
	string with multibyte characters.

	* 24731: Doc/Zsh/params.yo, Src/params.c, Src/pattern.c,
	Test/D04parameter.ztst: use [(e)...] parameter flag to quote
	pattern characters, also fix bug that optimization of matches
	with no pattern characters didnʼt work for multibyte matching.

2008-03-23  Clint Adams  <>

	* 24730: Completion/Unix/Command/_git: use --no-color when
	calling git commands that might output color codes.

2008-03-22  Clint Adams  <>

	* 24728: Completion/Debian/Command/_aptitude: complete for
	aptitude why and why-not.

2008-03-22  Barton E. Schaefer  <>

	* unposted: Doc/Zsh/params.yo: further documentation tweak for the
	(R) and	(I) subscript flags.

2008-03-18  Barton E. Schaefer  <>

	* unposted: Doc/Zsh/params.yo: tweak documentation for the (i) and
	(I) subscript flags.

	* 24717, 24718, 24719: Completion/compinstall, Src/params.c,
	Test/D06subscript.ztst: a 0 subscript is neither valid nor
	equivalent to 1 any longer, so the (i) subscript flag on an empty
	array needs to yield 1 as it probably always should have.

2008-03-15  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/.distfiles,
	Completion/Zsh/Type/.distfiles, Etc/.distfiles, Src/.cvsignore:
	fix distribution files.

	* unposted: Config/ zsh-4.3.5-dev-1.

2008-03-14  Barton E. Schaefer  <>

	* unposted (see 24709): Functions/Misc/zkbd: add -h to local
	declaration in is-this-a-function test.  Use $DISPLAY when we
	have one instead of only $VENDOR-$OSTYPE as file name suffix.
	Add some knowledge of the MULTIBYTE option and its effects.

2008-03-14  Peter Stephenson  <>

	* 24712: Src/utils.c: handling of backticks when being requoted
	for use inside double quotes had off-by-one error.

	* 24711: Src/parse.c, Src/text.c, Src/zsh.h,
	Test/A04redirect.ztst:  fix re-presentation of here-documents
	munged internally to here-strings.

2008-03-13  Peter Stephenson  <>

	* 24705:, Config/, Src/zsh.mdd,
	Src/Modules/curses.c, Src/Modules/termcap.c,
	Src/Modules/terminfo.c: rationalise curses and term headers
	some more and add intermediate generated <build>/Src/zshcurses.h
	and <build>/Src/zshterm.h to include the right ones.

2008-03-12  Clint Adams  <>

	* 24704: Completion/Unix/Command/_calendar: completion for BSD

2008-03-11  Barton E. Schaefer  <>

	* 24703: Src/Zle/zle_main.c: clear trashedzle when first starting
	the editor in zleread(), so that reexpandprompt() from the first
	zrefresh() won't expand the prompt an extra time.

2008-03-11  Peter Stephenson  <>

	* unposted: Src/hist.c: make test in 24699 for the extra
	space safer.

2008-03-09  Clint Adams  <>

	* 24701, 24702: Completion/Unix/Command/_git: use $service instead of
	$words[1] so completion will work if git is an alias to a wrapper.

2008-03-08  Peter Stephenson  <>

	* 24699: Src/hist.c, Src/input.c, Src/lex.c,
	Test/D04parameter.ztst: fix two bugs in the hacked up parsing
	of strings for parameter substitution: ${(Q)...} lost an initial
	">" and ${(z)...} on a string with an opening parenthesis but
	no closing parenthesis appended an extra space.

2008-03-07  Peter Stephenson  <>

	* users/12699: Src/Zle/computil.c: don't complete normal
	arguments where we're completing the required argument
	to an option in the word following the option.

2008-03-07  Peter Stephenson  <>

	* Richard Hartmann: 24631: Completion/Unix/Command/_gpg: update.

	* 24696: Doc/Zsh/options.yo, Src/options.c: turn off MULTIBYTE
	by default in sh emulation.

2008-03-06  Wayne Davison  <>

	* 24693: Src/utils.c: provide better errors when skipping
	history-file saving due to ownership.  Allow root to do the
	save anyway if zsh can chown a file descriptor.  Fixed the
	propagation of the errno from a failed open() of the history
	file (zsh used to complain about an invalid file descriptor).

	* unposted: Src/Zle/zle_utils.c:  fixed 2 compiler warnings
	about comparing signed and unsigned.

2008-03-04  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: ignore range
	limiters >, >=, =, <, <= after @ in labels and dates, too.

2008-03-03  Peter Stephenson  <>

	* 24673: Test/D07multibyte.ztst: another attempt to sort
	characters the same way on multiple UTF-8 implementations.

	* 24662: River Tarnell <>:,
	Src/compat.c: strtoul() when not in system library.

2008-03-02  Barton E. Schaefer  <>

	* 24653, 24659: Completion/Unix/Type/_path_commands: use a
	helper function to call "whatis" portably, and use compadd -O
	to pre-filter matches before reading $_command_descriptions.

2008-03-02  Peter Stephenson  <>

	* 24656: Src/builtin.c: fix cd overeagerness to find integers
	after "-" and "+".

2008-03-01  Clint Adams  <>

	* 24650: Completion/Unix/Type/_path_commands: use zstyle -t instead
	of -T since extra-verbose isn't meant to default to yes.

2008-02-29  Clint Adams  <>

	* 24632: Completion/Unix/Command/_rsync: fix remote ssh filename

2008-02-28  Peter Stephenson  <>

	* 24627: Src/Zsh/complist.c: fix(?) crash when resizing window
	during menu-select.

2008-02-28  Clint Adams  <>

	* 24626: Completion/Unix/Type/_path_commands, Doc/Zsh/compsys.yo:
	only process command descriptions if extra-verbose style is set.

	* 24622: Completion/Unix/Command/_git: add completion for
	'git bisect skip' and 'git bisect run'.

2008-02-27  Peter Stephenson  <>

	* 24618: Test/D07multibyte.ztst: use "sort" to avoid making
	assumptions about sorting of UTF-8 files.

2008-02-27  Clint Adams  <>

	* 24617: Doc/ add '.' to the yodl include path
	for when files are passed as ../../Doc/*.yo.

2008-02-27  Peter Stephenson  <>

	* 24611: Src/subst.c, Test/D04parameter.ztst: 23562
	broke the case of ${+array[...]} for an empty range match.

2008-02-26  Peter Stephenson  <>

	* 24602: Test/C02cond.ztst: failing to run a test didn't
	set prerequisites for later test.

	* 24600: astonishingly, there was a fourth bug in few
	lines of 24596.

2008-02-26  Geoff Wing  <>

	* unposted: Src/utils.c: fix typos in 24596

2008-02-26  Peter Stephenson  <>

	* 24596: Src/utils.c: if nl_langinfo(CODESET) returns ""
	or "646" use "US-ASCII".

	* 24592: Src/utils.c: make errors about charset conversion
	more explicit.

2008-02-23  Peter Stephenson  <>

	* 24590: Src/exec.c, Src/lex.c: tame overzealous error
	report when unquoting.

	* 24588: Completion/Zsh/Type/_globquals,
	Completion/Zsh/Type/_history_modifiers: tweaks

	* 24585: Completion/Base/Utility/_alternative,
	Completion/Zsh/Type/_history_modifiers, Doc/Zsh/compsys.yo:
	completion for glob qualifiers plus bug fix for message-only
	completion in _alternative.

2008-02-22  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: new option
	p4 change -u.

2008-02-22  Clint Adams  <>

	* 24578: Completion/Debian/Command/_dpkg: stop completing
	--print-gnu-build-architecture, which was dropped in 2005.

	* 24576: Functions/Calendar/calendar_add,
	Functions/Misc/sticky-note: replace shebang lines.

2008-02-21  Peter Stephenson  <>

	* users/12632: Src/exec.c: bug unexporting special parameter
	after "SPECIAL=stuff funccall".

2008-02-19  Peter Stephenson  <>

	* 24572: Doc/Zsh/calsys.yo, Functions/Calendar/calendar_add:
	add style reformat-date.

2008-02-19  Barton E. Schaefer  <>

	* 24570: Completion/Unix/Type/_path_commands: don't attempt to
	pre-filter $commands on $PREFIX, just let compadd deal with it.
	Fixes a bad interaction with the _approximate completer.

2008-02-17  Barton E. Schaefer  <>

	* users/12600: Src/builtin.c: reorder handling of -s/-d/-t options
	so that terminal input modes are set before attempting a
	read-poll.  Also display any prompt before read-polling.

	* unposted: Functions/Misc/xtermctl: update uses of "read" to
	take advantage of users/12600.

2008-02-17  Peter Stephenson  <>

	* 24566: Doc/Zsh/prompt.yo, Src/prompt.c: fallout:
	fix truncation with glitch spaces; more careful
	documentation; allow %N{...}; make unsupported
	characters default to width 1.

2008-02-15  Peter Stephenson  <>

	* 24556: Doc/Zsh/prompt.yo, Src/prompt.c: %G inside %{...%}
	can be used to count width of "glitch" characters.

	* 24554: Src/Zle/complist.c: push an extra heap for
	complistmatches() to stop accumulating it; always treat
	mcolors as a global instead of just sometimes.

2008-02-14  Peter Stephenson  <>

	* 24551: Src/Zle/compresult.c, Src/Zle/zle_main.c: free heap
	memory after each full Zle command executed (plus cosmetics).
	Still need to try and stop menu selection accumulating heap

2008-02-11  Peter Stephenson  <>

	* users/12547: Completion/Darwin/Type/_mac_files_for_application,
	Completion/Unix/Command/_locate: fix array indices [0] -> [1] in

	* Haakon Riiser: 24545: Completion/X/Command/_acroread: new
	options for version 8.

2008-02-09  Peter Stephenson  <>

	* 24542: Src/Zle/zle_tricky.c: RC_QUOTES wasn't handled
	if the opening quote wasn't at the start of the word, causing
	endless looping.

2008-02-07  Clint Adams  <>

	* unposted: Functions/Misc/run-help-git,
	Functions/Calendar/calendar_add, Functions/Misc/sticky-note: remove
	shebang line.

2008-02-06  Clint Adams  <>

	* 24536: Completion/Unix/Command/_cut: tweaks to 24529, spelling

	* Mikael Magnusson: 24529: Completion/Unix/Command/_cut:
	remaining fixes from 24526.

2008-02-05  Peter Stephenson  <>

	* 24533 (tweaked): Completion/compinstall: use _completer _ignored
	as default to offer user if no completers are defined

2008-02-03  Clint Adams  <>

	* 24528:, Etc/zsh-development-guide:
	revert 24429.

	* 24527: Completion/Unix/Command/_cut: a subset of the
	fixes from Mikael Magnusson in 24526.

2008-02-02  Peter Stephenson  <>

	* 24524: Config/ increment version to 4.3.5-dev-0.

2008-02-01  Clint Adams  <>

	* 24513, 24514, 24515, 24516, 24517, 24518, 24519, 24520, 24521:
	Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, Doc/Zsh/contrib.yo,
	Doc/Zsh/expn.yo, Doc/Zsh/grammar.yo, Doc/Zsh/mod_curses.yo,
	Doc/Zsh/mod_newuser.yo, Doc/Zsh/mod_sched.yo, Doc/Zsh/options.yo,
	Doc/Zsh/roadmap.yo, Doc/Zsh/tcpsys.yo: typo fixes from A. Costa.

2008-02-01  Peter Stephenson  <>

	* users/12527: Etc/relnote_4.3.5.txt: Add release note for 4.3.5.

	* unposted: Release 4.3.5.

	* Back off 24506 pending 4.3.5 release.

2008-02-01  Clint Adams  <>

	* 24506:,, Doc/,
	Etc/, Src/, Src/,
	Test/ make ZSH_VERSIONSUFFIX propagate to somewhere

2008-01-31  Peter Stephenson  <>

	* Christopher Key <>: users/12521:
	Completion/Unix/Command/_subversion: svn and svnadmin help

2008-01-30  Peter Stephenson  <>

	* 24498: Src/ check config.h instead of config.status
	for dynamic configuration since the syntax is less variable.
	Could be done by generating from Src/ instead.

	* 24496: Doc/Zsh/contrib.yo: more Yodl parenthesis protection.

2008-01-29  Peter Stephenson  <>

	* 24485: INSTALL: note that term.h may need CPPFLAGS=-I...
	if it's to be included from the curses library directory.

	* 24483: Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo: some minor
	sectioning problems.

	* users/12498: Doc/Zsh/contrib.yo: missing section spotted
	by Vincent.

	* unposted: Config/, Functions/Misc/.distfiles:

2008-01-25  Peter Stephenson  <>

	* 24460: Doc/Zsh/mod_zpty.yo, Src/utils.c, Src/Modules/zpty.c:
	make "zpty -rt" more consistent by polling before every byte,
	not just the first.

2008-01-25  Clint Adams  <>

	* 24464: Completion/Unix/Command/_git: remove trailing whitespace.

2008-01-22  Clint Adams  <>

	* 24437, 24441, 24442: Completion/Unix/Command/_git: compensate
	for some breakage introduced by 24396.

2008-01-22  Peter Stephenson  <>

	* 24434: Src/Zle/zle_refresh.c: handle unprintable and zero-width
	wide characters on the command line by displaying as hex.

2008-01-22  Clint Adams  <>

	* 24429:, Etc/zsh-development-guide:

	* Frank Terbeck: 24413: Completion/Unix/Command/_git: handle
	completion when git aliases are used.

	* Mikael Magnusson: 24396: Completion/Unix/Command/_git:
	don't pass -r to git ls-files for performance reasons,
	compensate for lack of recursion.

2008-01-21  Wayne Davison  <>

	* unposted: Src/builtin.c: got rid of compiler warning about
	a signed/unsigned comparison.

2008-01-19  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_mount: make MATCH etc.

	* users/12461: Completion/Unix/Command/_mount: mount points
	weren't completed properly for umount.

2008-01-18  Barton E. Schaefer  <>

	* users/12453: Functions/Misc/xtermctl: X11 window control for
	xterm-compatible emulators

2008-01-18  Clint Adams  <>

	* 24408:, Etc/zsh-development-guide:
	use contents of ZSH_EXTRAVERSION environment variable for
	version suffix.

2008-01-18  Peter Stephenson  <>

	* 24406: Src/Zle/compmatch.c: use deep copy of Cline structure
	to avoid it containing itself.

2008-01-17  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: a few minor
	news options.

2008-01-14  Peter Stephenson  <>

	* 24388: Completion/Unix/Command/_mh: abort neatly if MH
	commands not found.

2008-01-13  Clint Adams  <>

	* 24387: Completion/Debian/Command/_dpkg: update --force-*
	options for dpkg completion.

2008-01-13  Barton E. Schaefer  <>

	* users/12426: Functions/Misc/sticky-note: post-its for zsh.

	* 24364: Functions/Misc/run-help: change the comment from 24349
	to a local assignment to HELPDIR with a default location.

2008-01-11  Peter Stephenson  <>

	* "N.J. Mann" <>: users/12420:
	Completion/Unix/Command/_cvs: completion for cvs commit -f.

2008-01-10  Peter Stephenson  <>

	* users/12412: Src/builtin.c, Src/parse.c, Test/C02cond.ztst:
	check for extra arguments in test and [.

	* 24384: Src/params.c: eliminate invalid pointer and also
	(unposted) add debug check for use.

2008-01-08  Peter Stephenson  <>

	* unposted: 4.3.4-dev-7.

	* 24371: Src/Zle/zle_refresh.c: potential crash when refreshing
	scrolling chunk of large history entry.

2008-01-06  Clint Adams  <>

	* Chris Lamb: 24365: Completion/Debian/Command/.distfiles,
	Completion/Debian/Command/_vim-addons: completion for vim-addons.

2008-01-05  Peter Stephenson  <>

	* 24362: Src/Zle/zle_refresh.c: redrawing line with multibyte
	character first caused later characters not to be redrawn.

2008-01-04  Clint Adams  <>

	* 24360: Completion/Unix/Command/_du: fix misspelling of

2008-01-04  Peter Stephenson  <>

	* 25356: Src/text.c, Test/C02cond.ztst: "=~" wasn't handled by
	the code that retrieves a printed representation.
	Non-interactively this caused a crash.

2008-01-04  Clint Adams  <>

	* 24349: Functions/Misc/run-help: add comment about HELPDIR to
	assist replacement in Debian build.

2008-01-03  Clint Adams  <>

	* 24345: Completion/Unix/Command/_metaflac: add --no-utf8-comment
	and --list.

2007-12-31  Barton E. Schaefer  <>

	* unposted (based on J.Sommer: 24334): Doc/Zsh/contrib.yo:
	Document expanded behavior of run-help.

	* J.Sommer: 24333: Functions/Misc/.distfiles,
	Functions/Misc/run-help-git, Functions/Misc/run-help-svk,
	Functions/Misc/run-help-svn: run-help helpers.

	* 24332: Functions/Misc/run-help: use only the path tail of $1
	when calling "man" et al.  Look for a helper function named
	run-help-$1 to provide specific help for the command, before
	falling back on "man".

	* 24324: Src/hist.c: do not set ftim when re-entering the history
	mechanism for string substitution.

2007-12-31  Clint Adams  <>

	* 24330: Completion/X/_xpdf: add some missing options from xpdf

2007-12-27  Clint Adams  <>

	* 24323: Completion/Debian/Command/_apt: for performance reasons,
	procure release names via apt-cache policy instead of apt-cache

2007-12-27  Wayne Davison  <>

	* unposted: Src/params.c: silenced a compiler warning by making
	an int unsigned.

2007-12-24  Clint Adams  <>

	* 24316: Test/runtests.zsh, Test/ztst.zsh: count skipped tests
	differently from successes and failures.

2007-12-20  Peter Stephenson  <>

	* unposted: 4.3.4-dev-6.

	* 24305: NEWS, README, Etc/FAQ.yo: update files in preparation
	for 4.3.5.

2007-12-19  Peter Stephenson  <>

	* 24301: missed a case for the lower-casing fix in 23219.

	* 24298: Tonguc Yumruk: Functions/Misc/is-at-least: use
	emulate -L for consistency.

2007-12-18  Peter Stephenson  <>

	* 24289 plus change suggested by Ismail in 24290:
	Test/, Test/runtests.zsh, Test/ztst.zsh,
	Test/.distfiles: count successful and unsuccessful scripts
	and report with status.

2007-12-18  Peter Stephenson  <>

	* 24279: Src/jobs.c, Src/zle_main.c, Src/zle_thingy.c: allow
	terminal changes in zle -I to be remembered in normal shell

2007-12-17  Peter Stephenson  <>

	* unposted: Src/utils.c: suppress harmless warning.

	* 24275: Src/builtin.c, Src/Zle/zle_utils.c,
	Test/D07multibyte.ztst: Solaris returns the full character
	length from mbrlen() etc. even if the call started in the
	middle; bad characters are silently converted to a question mark.

	* unposted: Config/ 4.3.4-dev-5.

	* unposted: Src/lex.c: minor typo

	* Wayne: 24273: Src/Modules/curses.c: various macros
	aren't supposed to return a value.

2007-12-16  Peter Stephenson  <>

	* 24271: Src/lex.c, Test/C01arith.ztst: handle parse failures
	in math substitution better.

	* 24268: Completion/Unix/Type/_mailboxes: handle backslashed =.

	* 24264: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Src/params.c,
	Src/subst.c, Src/zsh.h, Test/B02typeset.ztst: restrict the
	effect of 24234 to expansion in the parameter substitution code
	and attempt to document the effect.

2007-12-15  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: Improved the help
	text of the --whole-file option.

2007-12-14  Peter Stephenson  <>

	* 24252:, Src/system.h, Src/Modules/curses.c:
	_XOPEN_SOURCE_EXTENDED was causing problems on OpenBSD.

	* 24251: Doc/ztexi.yo: fix sitem() macro.

2007-12-13  Clint Adams  <>

	* 24242: Functions/Calendar/calendar_add, Functions/Example/cat,
	Functions/Example/zless, Functions/Misc/checkmail,
	Functions/Misc/run-help, Functions/Misc/zcalc, Functions/Misc/zkbd:
	unify top lines as #!/bin/zsh (followed by options).

	* Peter: 24235: Completion/Base/Utility/_arguments: handle

2007-12-13  Peter Stephenson  <>

	* 24241: Doc/Zsh/expn.yo: explain the effect of time glob
	qualifiers better.

	* 24240: Src/Zle/zle_main.c: vared didnʼt check for trailing
	garbage on parameter names until too late.

	* 24239: Completion/Zsh/Context/_subscript: if the [ of
	a subscript was backslashed, a trailing space was added
	backslashed along with the "\[".

	* 24236: Test/C02cond.ztst: another case where the wretched
	cond -N test can fail.

	* 24234: Doc/Zsh/expn.yo, Src/params.c, Src/subst.c,
	Test/B02typeset.ztst: apply parameter flags defined with
	typeset etc. consistently so that substitution code layered
	above always sees the effects.

2007-12-12  Peter Stephenson  <>

	* users/12325: Doc/Zsh/builtins.yo, Src/builtin.c:
	implement OSI rules for three- and four-argument test and [ ... ]
	commands and warn users about the problems.

	* users/12305: Doc/Zsh/builtins.yo, Src/init.c,
	Test/A01grammar.ztst: option output wasn't well described;
	"-c" is documented not to set SHIN_STDIN, so don't.

2007-12-11  Clint Adams  <>

	* unposted: Completion/Debian/Command/.distfiles: update.

2007-12-11  Peter Stephenson  <>

	* users/12307: Test/C02cond.ztst: the wretched -N test is
	still problematic; expand the delay to 2 seconds.

	* 24210: Src/builtin.c: "set -o" should abort on failure.

	* unposted: Config/, Completion/Unix/Command/.distfiles:
	Functions/Zle/.distfiles: 4.3.4-dev-4.

2007-12-10  Peter Stephenson  <>

	* Vincent Lefevre: 24192: Completion/Unix/Command/_make:
	make GNU make support -include.

2007-12-09  Barton E. Schaefer  <>

	* 24150 plus unposted: Src/exec.c, Test/D08cmdsubst.ztst:
	Retain exit status of last non-assignment command substitution
	across variable assignment processing so that, in the event of
	no command word to execute, the exit status of the statement is
	that of the last command substitution (per POSIX).

2007-12-09  Peter Stephenson  <>

	* 24197: Src/utils.c, Src/Modules/datetime.c: interface to
	ztrftime() for insufficient memory was broken.

2007-12-08  Clint Adams  <>

	* 24188: Completion/Unix/Command/_id: completion for GNU id.

	* 24187: Completion/Debian/Command/_members: completion for members.

2007-12-07  Clint Adams  <>

	* 24174: Completion/Unix/Command/_cut: Oliver's deuglification
	of 24169.

2007-12-07  Peter Stephenson  <>

	* Unposted: Src/exec.c: add explanatory comment for 24170/24179.

	* 24180:, Src/utils.c: back off (most of) 24148.

	* 24179: Src/exec.c: alter 241770 to use queue_signals().

	* Guillaume Chazarain: 24170: Src/exec.c: block interrupts
	around fork since it may mess with locks.

2007-12-07  Clint Adams  <>

	* 24172 (tweaked): check ncurses.h, ncurses/ncurses.h, and
	ncursesw/ncurses.h for curses keys.

	* 24171, 24173: Src/Modules/terminfo.c: define USE_TERMINFO_MODULE when
	ncurses.h, ncurses/ncurses.h, or ncursesw/ncurses.h is present.

2007-12-06  Clint Adams  <>

	* 24169: Completion/Unix/Command/_cut: use print in command
	substitution to avoid a literal non-ASCII character in the German
	translation of args for cut completion.

2007-12-05  Clint Adams  <>

	* 24160: Src/Modules/terminfo.c, Src/Modules/terminfo.mdd:
	build terminfo module if ncursesw is present but curses.h is not.

2007-12-05  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_ip: typo in "addr replace"

2007-12-03  Peter Stephenson  <>

	* 24148:, Src/utils.c: attempt to use strerror_r()
	to make error messages in signal handle safer.

2007-12-03  Wayne Davison  <>

	* 24147: Util/ improved the temporary-file handling.

2007-12-03  Peter Stephenson  <>

	* 24143: Etc/zsh-development-guide, Util/.distfiles:  Remove from the distribution owing to security worries
	in usage (but leave it in the archive); also document the
	distfiles business.

2007-12-03  Clint Adams  <>

	* 24140: Completion/Unix/Command/_git: spelling fix and
	removal of redundant "config" subcommand as proposed by Wayne.

2007-12-01  Clint Adams  <>

	* 24135: Completion/Debian/Command/_make-kpkg: consistently
	complete subcommands with minus signs instead of underscores.

2007-11-30  Peter Stephenson  <>

	* arno: 24134: Completion/Unix/Command/_find: additional options.

2007-11-29  Peter Stephenson  <>

	* 24130 (belatedly): Doc/Zsh/calsys.yo,
	Functions/Calendar/.distfiles, Functions/Calendar/calendar,
	Functions/Calendar/calendar_parse: abstract calendar_parse from
	calendar and use in calendar_add to be slightly cleverer about

	* Kohsuke Kawaguchi: 24129: Completion/Unix/Command/_ant:
	skip targets that can't be invoked from the command line.

2007-11-28  Peter Stephenson  <>

	* 24128: Test/Y02compmatch.ztst: test for 24127.

	* 24127: Src/Zle/compcore.c, Src/Zle/compmatch.c: fix
	bug with matcher 'r:|[-./_]=* r:|=* l:|=*' completing
	where word on command line starts after a "-".

2007-11-28  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: Added one more
	option for the upcoming 3.0.0 version of rsync: --contimeout.

2007-11-28  Peter Stephenson  <>

	* Mustafa Oezkan: 24126: Completion/Unix/Command/_mount:
	additional options.

2007-11-26  Peter Stephenson  <>

	* Ryan F: users/12154: Completion/Unix/Type/_groups: MacOS X
	group completion.

2007-11-26  Peter Stephenson  <>

	* unposted: Config/, Completion/Unix/Command/.distfiles:
	changes for 4.3.4-dev-3.

	* 24120: Src/init.c: memory allocation for termcap strings
	was screwy, in particular when terminal couldn't move left.

	* c.f. users/12248: Doc/Zsh/.distfiles: zshcalsys.1 was missing
	from distribution.

2007-11-24  Clint Adams  <>

	* 24118: only link against libnsl if we have NIS and
	need it for yp_all, or if we need it for getpwnam.

2007-11-23  Clint Adams  <>

	* Markus Waldeck: 24117: Completion/Unix/Command/_uname:
	completion for uname.

2007-11-23  Geoff Wing  <>

	* 24098: Src/Zle/zle_refresh.c: Fix my botch with 23924, rework
	out new prompts and their lengths before use in resetvideo().

2007-11-22  Clint Adams  <>

	* unposted: Functions/Prompts/prompt_clint_setup: fix typo in git
	psvar assignment.

	* Sean Finney: 24115: Completion/Unix/Command/_git: offer tags as
	well as heads where refspecs are valid.

	* 24114: Completion/Unix/Command/_git: make colon suffix removable
	after the first part of refspecs.

2007-11-22  Barton E. Schaefer  <>

	* 24113: Src/params.c: createparamtable() was still messing with
	the internals of the environment even when USE_SET_UNSET_ENV.

2007-11-21  Clint Adams  <>

	* arno.: 24111: Completion/Debian/Command/_dlocate: complete -lsbin
	and -lsman options to dlocate.

2007-11-21  Peter Stephenson  <>

	* 24110: Src/Modules/curses.c: change those includes yet again.

2007-11-20  Peter Stephenson  <>

	* 24108 plus yet another tweak: the test
	for whether we using ncurses as a library was both wrong
	and in the wrong place.

	* 24107:, Src/Modules/curses.c: yet more
	library fun: search for ncurses headers in other places,
	don't use ncursesw/ncurses.h if no multibyte support,
	don't use any ncurses headers if the terminal library
	isn't ncurses.

	* 24104: INSTALL, don't search for ncurses if
	we can't find ncurses.h.

	* 24103: Doc/ ensure zsh.texi is updated if
	the version changes.

	* ????? & 24104: attempt to prevent Tru64 Unix
	from reporting missing symbols when linking dynamically (not

	* unposted: run Util/check_exports and add some mod_export tags.

	* unposted: fix .distfiles and for 4.3.4-dev-2.

2007-11-19  Peter Stephenson  <>

	* users/12230: Src/Zle/zle_params.c: if killring was set
	to empty array, kringsize was zero but kring was unset,
	causing unhealthy effects in cut().

	* unposted: from Eric Mangold: Completion/Unix/Command/_twisted:

2007-11-18  Clint Adams  <>

	* Nikolai Weibull: 24075: Completion/Unix/Command/_cp: fix
	completion of values for --preserve and --no-preserve.

2007-11-12  Peter Stephenson  <>

	* 24093: Doc/Zsh/arith.yo: be more accurate about supported
	floating point.

	* 24089: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
	compilation on non-curses system; also (unposted) avoid crash
	decoding color when not supported.

	* Vin Shelton: 24088: Src/Modules/curses.c: 24083 error with
	no multibyte.

2007-11-11  Clint Adams  <>

	* Nikolai Weibull: 24046: Completion/Unix/Command/_strip: improve
	completion for Solaris and GNU strips.

2007-11-10  Peter Stephenson  <>

	* 24083: Doc/Zsh/mod_curses, Src/Modules/curses.c: add
	'zcurses querychar'.

	* 24082: Functionz/Zle/delete-whole-word-match: failed if
	cursor was on whitespace.

	* Mikael Magnusson, 24076; 24081: Doc/Zsh/zle.yo,
	Functions/Zle/kill-word-match:  need to cancel option
	processing with -- after widget calls with arguments.

2007-11-09  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: Added missing
	single-letter options for --acls and --xattrs.

2007-11-08  Peter Stephenson  <>

	* users/12198: Doc/Zsh/mod_complist.yo: make the definition of
	the menu-select widget clearer.

	* unposted: Src/curses.c: typo in parameter setting in

2007-11-07  Peter Stephenson  <>

	* 24073 (plus tweak to allow "zcurses mouse" with no additional
	arguments): Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
	add zcurses mouse handling.

2007-11-06  Peter Stephenson  <>

	* 24070: Src/utils.c, Test/A03quoting.ztst,
	Test/D07multibyte.ztst: Some fixes for \u handling in

2007-11-06  Peter Stephenson  <>

	* 24069: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: add

	* 24068: Src/builtin.c: attempt to make `printf "%g\n" -0'
	output "-0", although this depends on the vagaries of the
	library's strtod() (works on Solaris, doesn't on Fedora 7).

2007-11-04  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  Added new options
	for the upcoming 3.0.0 release of rsync.

2007-11-04  Peter Stephenson  <>

	* c.f. 24050: NEWS: note high resolution timestamps.

	* c.f. 24050: Src/Modules/.cvsignore: add curses_keys.h:

2007-11-01  Oliver Kiddle  <>

	* 24050:, Src/cond.c, Src/glob.c, Src/system.h:
	handle nanosecond timestamps on systems that support them

	* 24048: Src/hashtable.c: fix home directory expansion with
	NIS on Solaris

	* Frank Benkstein: 24047: Completion/compinit: fix compdef
	with more than three commands using the same service

2007-10-31  Oliver Kiddle  <>

	* 24045: Src/params.c: fix memory leak where old value of an
	environment variable isn't freed

2007-10-31  Barton E. Schaefer  <>

	* 24043: Functions/Prompts/promptinit: emulate -L resets prompt
	options that we don't want reset, so remove it

2007-10-31  Wayne Davison  <>

	* unposted: Src/utils.c: Fixed the use of an uninitialized 'x'
	in spckword() if shout is NULL.

2007-10-31  Clint Adams  <>

	* 24039: Completion/Unix/Command/_cut: cope with FreeBSD
	cut in addition to GNU cut.

2007-10-30  Peter Stephenson  <>

	* 24038: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: add
	"zcurses bg".

2007-10-30  Peter Stephenson  <>

	* users/12149: Doc/Zsh/expn.yo, Src/subst.c,
	Test/D04parameter.ztst:  "${(@s.:.)...}" retains empty
	fields, although "${(s.:.)...}" remains backward compatible.

2007-10-30  Peter Stephenson  <>

	* 24030, adapted: Src/Modules/curses.c: turning off a key timeout
	on Solaris 8 seemed to need leaving and re-entering cbreak mode.
	This can't be done per-window, so make this specific to Solaris
	not using ncurses.

2007-10-29  Clint Adams  <>

	* Markus Waldeck: 24032 (tweaked): Completion/Unix/Command/_cut:
	completion for cut.

2007-10-29  Peter Stephenson  <>

	* 24029: Src/Modules/curses.c: crashed on attempt to use
	color if it wasn't available.

	* unposted: remove some broken debugging.

2007-10-28  Peter Stephenson  <>

	* 24028: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
	add "zcurses timeout".

	* 24027: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
	add "touch", subwindows, optimized "refresh".

	* 24026: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
	handle default/default colorpair and handle color
	default separately if use_default_colors() is available.

	* unposted: Doc/Zsh/mod_curses.yo: Oops, misdescribed the
	effect of getmaxyx().

	* 24025: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c,
	Src/Modules/curses_keys.awk: new zcurses subcommands
	"clear" and "position"; "stdscr" window; numerous other tweaks.

2007-10-26  Peter Stephenson  <>

	* unposted: Src/curses.c: zcurses input oops.

	* 24024:, Doc/Zsh/mod_curses.yo,
	Src/Modules/curses.c, Src/Modules/curses_keys.awk:  add "zcurses
	input" for single character raw input without echoing.  Test for
	wget_wch for wide character input.  Add handling for keypad()
	mode by scanning header.

2007-10-26  Clint Adams  <>

	* 24022: Completion/Debian/Command/_dpkg-repack: completion for
	dpkg-repack by Dr. Markus Waldeck, tweaked a bit.

2007-10-25  Peter Stephenson  <>

	* c.f. users/12110: Doc/Zsh/params.yo: desperately try to
	get the $SECONDS documentation correct.

	* c.f. users/12109: Doc/Zsh/params.yo: tweak to SECONDS
	documentation for clarity.

	* users/12100: Completion/Unix/Type/_path_files,
	Doc/Zsh/compsys.yo: with NO_CASE_GLOB, use a case-insensitive
	matcher if none is in effect.

2007-10-24  Peter Stephenson  <>

	* 24018: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
	add "zcurses scroll".

	* 24017: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c:
	fold color support into attr subcommand and improve error
	handling; add various readonly parameters; replace strtok();
	tidy some zwarnnam().

2007-10-24  Peter Stephenson  <>

	* 24016:, Src/Modules/curses.c: compilation with
	curses and not ncurses.

2007-10-23  Clint Adams  <>

	* 24012: Src/Modules/curses.c: rename "endwin", "c", and "s" to
	"endwin", "char", and "string" respectively.

2007-10-23  Peter Stephenson  <>

	* 24011 (tweaked to include 24010 and to remove unneeded
	#define's): Src/Modules/curses.c: fix attr/endwin argument
	counts; verbose errors for wrong arguments; one cchar_t
	should be a wchar_t; dispatch straight to subcommands;
	attr passes back status from setting attributes.

2007-10-23  Clint Adams  <>

	* 24010: Src/Modules/curses.c: fix max arguments for 'zcurses
	border' to 1.

2007-10-23  Peter Stephenson  <>

	* users/12087: Src/glob.c: fix a case where we doing globbing
	unnecessarily to find files case-insensitively in Cygwin.

2007-10-22  Peter Stephenson  <>

	* 24007: Src/prompt.c, Src/utils.c: mildly suspicious things
	found when looking at crash: prompt allocation length and use
	of "shout".

	* 24006: Src/glob.c: (F) glob qualifier needs to unmetafy.

2007-10-21  Clint Adams  <>

	* 24005: Src/Modules/curses.c: enforce min/max arguments on zcurses

	* 24004: Doc/Zsh/mod_curses.yo: align documentation with UI changes
	in 24002.

2007-10-20  Clint Adams  <>

	* 24002: Src/Modules/curses.c: change all the subcommands from
	option letters to words.

2007-10-20  Peter Stephenson  <>

	* 24001: Src/Modules/curses.c: fix up zcurses -C.

2007-10-20  Clint Adams  <>

	* Mikael Magnusson: 23999: Completion/Unix/Command/_git:
	improvements for git show, git rev-parse, et al.

2007-10-19  Clint Adams  <>

	* 23997: Src/Modules/curses.c: don't delete color pair hash
	on module unload unless it's been previously initialized.

	* 23994: Completion/Unix/Command/_git: tweaks for 23993.

	* Mikael Magnusson: 23993: Completion/Unix/Command/_git: improved
	completion for git show.

2007-10-19  Geoff Wing  <>

	* 23924: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: Improve
	synchronising of character attributes with other output routines

2007-10-18  Clint Adams  <>

	* Mikael Magnusson: 23991: Completion/Unix/Command/_git: fix
	typo in __git_blobs().

	* Mikael Magnusson: 23988: Completion/Unix/Command/_git: fix
	git-svn commands completion.

	* 23989: Src/Modules/curses.c: add broken zcurses -C to set window

2007-10-18  Peter Stephenson  <>

	* 23986: Doc/Zsh/contrib.yo: zmv example for turning spaces
	into underscores.

	* 23978:, Src/Modules/curses.c: use waddwstr() to
	get zcurses -s to work with wide characters.

2007-10-17  Clint Adams  <>

	* 23982: Doc/Zsh/mod_curses.yo: documentation for zcurses -A.

	* 23981: Src/Modules/curses.c: add zcurses -A to set window

2007-10-17  Peter Stephenson  <>

	* 23970 (slightly modified): Doc/Zsh/mod_curses.yo,
	Src/Modules/curses.c: fix up deletion of curses windows and add
	zcurses -i/-e for initialisation and end to retain terminal
	sanity; make "zcurses -r" do a global refresh.

	* Vin Shelton: 23968: Doc/Zsh/mod_curses.yo: overabundance of

2007-10-15  Clint Adams  <>

	* 23965: Completion/Unix/Command/_git: add missing bracket in
	completion for git svnimport.

	* 23964: Src/Modules/curses.c: call endwin() in curses module cleanup.

	* 23962: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: store windows
	in a linked list instead of a static array, and use strings as
	window identifiers instead of integers.

	* 23958: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: change target
	window to be the first argument of zcurses -a.

	* 23957: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: minor fixes.

2007-10-14  Clint Adams  <>

	* unposted: Doc/Zsh/.distfiles, Src/Modules/.distfiles: update for
	zsh/curses module and documentation.

	* 23954: Doc/, Doc/Zsh/mod_curses.yo: documentation for
	zsh/curses module.

2007-10-14  Barton E. Schaefer  <>

	* unposted: Functions/Prompts/prompt_bart_setup: make sure
	localtraps is unset before assigning to functions[TRAPWINCH].

	* users/12008: Functions/Prompts/promptinit: emulate zsh to
	avoid setopts conflicts.  Run precmd and preexec only if they
	are defined as functions.

2007-10-14  Clint Adams  <>

	* 23952: Src/Modules/curses.c, Src/Modules/curses.mdd: work with
	non-wide curses as well.

2007-10-13  Clint Adams  <>

	* 23947: Functions/Prompts/prompt_clint_setup: remove apm battery
	status and add git branch detection.

	* unposted: Config/aczshoot.m4: quote name of aclocal function.

2007-10-12  Clint Adams  <>

	* 23945: Config/aczshoot.m4: autoconf include file for
	budding out-of-tree module support.

2007-10-12  Peter Stephenson  <>

	* 23943 (slightly modified): INSTALL, search
	ncursesw and document this.

2007-10-11  Clint Adams  <>

	* 23927: Src/system.h: don't define struct timezone if
	ZSH_OOT_MODULE is defined.

2007-10-11  Peter Stephenson  <>

	* 23934: Completion/Base/Completer/_expand_alias:
	if "foo" expands as regular alias to "foo blah", turn this
	into "\foo blah" to avoid the alias kicking in again.

2007-10-08  Clint Adams  <>

	* 23923: Src/Modules/curses.c: fold all other curses windowing
	builtins into zcurses.

	* 23919: Src/Modules/curses.c, Src/Modules/curses.mdd:
	have new zcurses builtin replace 4 separate builtins.

2007-10-08  Peter Stephenson  <>

	* arno: 23910: Completion/Unix/Command/_init_d: handle
	spaces in cases in init scripts.

2007-10-08  Clint Adams  <>

	* 23911:, Src/Modules/curses.c,
	Src/Modules/curses.mdd: curses windowing module.

2007-10-06  Clint Adams  <>

	* Mikael Magnusson: 23907: Completion/Unix/Command/_git: add
	--cached option to git-diff completion.

	* 23908: Completion/Unix/Command/_git: add missing backslash in

	* Mikael Magnusson: 23906: Completion/Unix/Command/_git: add
	missing backslash in _git-svn.

2007-10-05  Peter Stephenson  <

	* unposted, c.f. users/11935: Doc/Zsh/builtins.yo: quoting
	of arguments to unalias.

2007-10-04  Clint Adams  <>

	* 23905: Completion/Unix/Command/_git: remove useless gitdir
	assignment and scope array locally in new __git_changed_files

	* Mikael Magnusson: 23903: Completion/Unix/Command/_git:
	complete both modified and added files for git commit.

2007-10-03  Peter Stephenson  <>

	* 23900: Src/Zle/compctl.c, Src/Zle/zle_tricky.c: Better handling
	of NO_EQUALS option on old-style completion.

2007-10-02  Peter Stephenson  <>

	* 23896:, INSTALL, README: replace
	--with-curses-terminfo by --with-term-lib, which takes an
	argument; fail if termcap/curses library not found; improve
	installation documentation.

	* 23883: Doc/Zsh/func.yo: try to improve precmd documentation.

	* Daniel Qarras: users/11915: Completion/Unix/Command/_module:
	.version incorrectly quoted as regexp.

2007-10-01  Clint Adams  <>

	* Nikolai Weibull: 23889: Completion/Unix/Command/_git: fix -o
	completion in git cvsimport.

	* Nikolai Weibull: 23888: Completion/Unix/Command/_git: complete
	branch names and cached files after git log.

	* Nikolai Weibull: 23879: Completion/Unix/Command/_git: complete
	only cached files after git log.

	* Jesse Weinstein: 23878: Completion/Unix/Command/_ranlib:
	completion for ranlib.

2007-09-30  Clint Adams  <>

	* 23875: Completion/Unix/Command/_git: complete heads, tags, and
	files after git log.

	* 23874: Completion/Unix/Command/_git: only declare
	revision_arguments parameter once.

	* Nikolai Weibull: 23871: Completion/Unix/Command/_cdrdao:
	fix __cdrdao-drivers typo.

	* 23872: Completion/Unix/Command/_git: complete git
	config in subcommand position.

	* 23870: Completion/Unix/Command/_git: completion for git

	* 23868: Completion/Debian/Command/_svn-buildpackage: completion
	for svn-buildpackage.

	* 23867: Completion/Debian/Command/_dpkg-buildpackage: completion
	for dpkg-buildpackage.

	* 23863: Completion/Linux/Command/_lsusb: completion
	for lsusb.

	* 23863: Completion/Unix/Command/_git: remove all
	global variables.

	* 23862: Completion/Unix/Command/_git: declare
	author_conversion_file_arg_spec local.

2007-09-29  Clint Adams  <>

	* 23860: Completion/Debian/Command/_dpatch-edit-patch: complete
	patch names, omitting the .dpatch extension.

	* 23854: Completion/Debian/Command/_dpatch-edit-patch: complete
	colon-separated path after -P, other minor tweaks.

	* Julien BLACHE: 23852:
	Completion/Debian/Command/_dpatch-edit-patch: completion for

	* Pierre Habouzit: 23851: Completion/Unix/Command/_git:
	use ad-hoc functions to list git branches and tags.

2007-09-28  Clint Adams  <>

	* 23850: Completion/Unix/Command/_md5sum: complete for GNU md5sum

	* Jesse Weinstein: 23848: Completion/Unix/Command/_md5sum:
	completion for md5sum.

2007-09-27  Clint Adams  <>

	* Mikael Magnusson: 23838: Completion/Unix/Command/_git:
	have git verify-tag complete tags instead of hash IDs.

	* 23846: Completion/Unix/Command/_git: merge in additional changes
	from Nikolai Weibull's repo.

	* Jun Takimoto: 23814: Completion/Unix/Command/_ls, Command/_ls,
	Completion/Unix/Type/_file_systems, Completion/Unix/Command/_comm:
	fixes for Darwin.

	* 23841: Completion/Unix/Command/_git: complete tag hashes for git

2007-09-26  Peter Stephenson  <>

	* users/11883: Src/init.c: "return" at top level caused
	following precommand functions to return immediately.

2007-09-26  Clint Adams  <>

	* 23834: Completion/Unix/Type/_tex: complete tex files for xetex
	and xelatex.

2007-09-25  Clint Adams  <>

	* Mikael Magnusson: 23832: Completion/Unix/Command/_git:
	fix git merge -m completion.

	* 23831: Completion/Unix/Command/_git: fix handling of merge
	strategy option.

	* 23829: Completion/Unix/Command/_git: merge in the remaining
	git completion changes from Nikolai Weibull's repository.

	* 23828: Completion/Unix/Command/_git: merge in lots of
	git completion changes from Nikolai Weibull's repository.

	* Mikael Magnusson: 23827: Completion/Unix/Command/_vorbis:
	allow all arguments to options to either immediately follow
	the option letter or be the next word.

2007-09-23  Clint Adams  <>

	* 23824: Completion/Unix/Command/_git: merge in git rerere
	completion from Nikolai Weibull's repository.

	* 23823: Completion/Unix/Command/_git: merge in git rev-parse
	completion from Nikolai Weibull's repository.

2007-09-21  Clint Adams  <>

	* 23822: Completion/Unix/Command/_git: merge in git rm
	completion fixes from Nikolai Weibull's repository.

2007-09-18  Peter Stephenson  <>

	* users/11852: Completion/Base/Completer/_expand_alias:
	quotes were incorrectly removed from aliases.

2007-09-13  Clint Adams  <>

	* 23813: Src/Zle/zle_hist.c: set vipenultsrchstr to NULL
	after freeing it to avoid vi-mode history search segfaults.

2007-09-05  Peter Stephenson  <>

	* users/11818: Doc/Zsh/mod_parameter.yo, Src/jobs.c, Src/utils.c,
	Src/Modules/parameter.c:  Allow non-numeric lookup of job
	status parameters.

	* unposted: Functions/Calendar/calendar: make sure there's a
	space between a date of a recurring event and the rest of
	the line.

2007-09-04  Peter Stephenson  <>

	* users/11807: Src/exec.c, Src/jobs.c: display of jobs in
	subshells and occasionally in the main shell was screwy.

2007-08-31  Peter Stephenson  <>

	* 23812: Src/exec.c: ( command & ) caused core dump after 23460.

2007-08-30  Clint Adams  <>

	* Chris Lamb: 23810: Completion/Debian/Command/_lighttpd:
	 completion for lighty-{enable,disable}-mod .

2007-08-30  Peter Stephenson  <>

	* 23809: Src/Zle/zle_tricky.c: attempt to expand finished
	$'...' expressions before or after the cursor in the
	word being completed.

2007-08-30  Peter Stephenson  <>

	* 23808: Src/utils.c: debugging to try to isolate intermittent
	problem in wcs_nicechar().

	* 23807: Src/Zle/complist.c, Src/Zle/zle_misc.c: interactive mode
	in completion was fairly seriously broken.

2007-08-23  Peter Stephenson  <>

	* unposted: Config/,
	Completion/Unix/Type/.distfiles: updates for dev version
	I haven't got around to making yet, but one day soon.

	* 23795: Src/lex.c: make ${(Q)...} handle $'...' correctly,
	up to the problem of long flies in short ointments.

2007-08-23  Peter Stephenson  <>

	* unposted: Functions/Calendar/calendar_show: used subscript
	0 instead of 1, hence broken since 23562.

2007-08-22  Peter Stephenson  <>

	* 23794: Src/Zle/compresult.c: completing on 'echo "foo$"<TAB>'
	was broken.  The code is as opaque as usual but preventing the
	crash seems straightforward.

	* 23792: Doc/Zsh/expn.yo, Test/D07multibyte.ztst:  test
	and documentation for 23784.

	* 23791: Src/Zle/zle_refresh.c: use VARARR for arrays with

	* users/11791: Functions/Zle/incremental-complete-word:
	missing "emulate -L zsh": was commented out, not sure why.

2007-08-21  Clint Adams  <>

	* 23788: Doc/Zsh/mod_files.yo, Src/Modules/files.c: add -h option
	to chown symlinks rather than targets, and change default behavior
	to do the opposite.

	* Matthieu Moy: 23785: Completion/Unix/Command/_git: add missing
	backslash in _arguments list in git-send-email.

2007-08-21  Peter Stephenson  <>

	* unposted: Functions/Calendar/calendar_scandate: ensure we
	match the first time on the line so as to hook up with date.
	Could usefully be done with the date too, but not as crucial.

	* users/11790: Functions/Zle/{up,down}-line-or-beginning-search:
	emulate -L zsh to avoid nounset problem.

2007-08-20  Peter Stephenson  <>

	* 23784: Src/utils.c: Use $'\...' quoting for unparseable and
	unprintable characters when doing backslash quoting.

2007-08-19  Clint Adams  <>

	* R.Ramkumar: 23783: Completion/Zsh/Command/_command,
	Completion/Zsh/Command/_hash, Completion/Zsh/Command/_which,
	Completion/Zsh/Context/_equal, Completion/Zsh/Type/_command_names:
	use _path_commands.

	* R.Ramkumar, tweaked: 23782: Completion/Unix/Type/_path_commands:
	commands with descriptions.

	* 23781: Completion/Debian/Command/_dput: base host completion
	on output of `dput -H`.

	* 23780: Completion/Debian/Command/_dput: add -e, -H, and
	optional host argument.

2007-08-18  Peter Stephenson  <>

	* 23778: Doc/Zsh/builtins.yo: document KSH_TYPESET behaviour
	in the typeset manual entry.

2007-08-18  Clint Adams  <>

	* 23775: Completion/Unix/Command/_growisofs:
	restore completion of devicename=filename pairs after -Z and -M.

2007-08-16  Peter Stephenson  <>

	* 23764: Doc/Zsh/calsys.yo, Functions/Calendar/calendar,
	Functions/Calendar/calendar_add: allow hidden continuation
	lines in calendar entry and use UID to help with updates.

	* Roy Marples: 23762: need to suppress [...] quoting
	for use of [...] in case.

	* 23761: Doc/Zsh/calsys.yo, Functions/Calendar/calendar:
	calendar -b shows brief output.

2007-08-14  Peter Stephenson  <>

	* 23759: Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser:
	a few improvements to pick-web-browser.

	* 23757: Src/lex.c: suppression correction of command
	words immediately followed by () or something that looks
	like it's going to be one.

2007-08-12  Andrey Borzenkov <>

	* 23751: Completion/Linux/Command/_modutils: support for
	completing module files directly

2007-08-09  Clint Adams  <>

	* Nikolai Weibull: 23749: Completion/Unix/Command/_cdrdao:
	completion for cdrdao.

	* Nikolai Weibull: 23748: Completion/Unix/Command/_growisofs:
	better completion for growisofs and mkisofs.

2007-08-07  Clint Adams  <>

	* 23746: Completion/Unix/Command/_growisofs: partial completion
	for growisofs.

	* 23745: Completion/Unix/Command/_genisoimage: partial completion
	for genisoimage.

2007-08-04  Clint Adams  <>

	* Matthieu Moy: 23738: Completion/Unix/Command/_git: additional
	git diff args.

	* 23739: Completion/Unix/Command/_git: merge in git diff
	completion fixes from Nikolai Weibull's repository.

2007-08-01  Peter Stephenson  <>

	* 23736: Src/hist.c: status for file save wasnʼt

	* unposted: **/.distfiles: update files for distribution.

2007-07-31  Peter Stephenson  <>

	* 23733: Src/module.c, Test/V01zmodload.ztst: zmodload -LaF
	didn't include unloaded modules, making it a bit pointless.

	* 23732: Src/exec.c, Test/B02tyepset.ztst: unknown builtin
	error message was broken; test warning output was broken;
	exec of zsh in new env test was broken.

	* 23730: Src/exec.c, Src/params.c, Src/system.h, B02typeset.ztst:
	improve preprocessor and regression tests for 23725.

2007-07-30  Peter Stephenson  <>

	* 23726: Test/B02typeset.ztst: test for adding and removing
	of environment variables.

	* 23725:, Src/exec.c, Src/params.c, Src/system.h:
	use setenv() and unsetenv() for memory management of the
	environment where possible.

2007-07-29  Clint Adams  <>

	* 23720: Completion/Unix/Command/_dvi: handle arguments to dvips -P
	as part of the same word.

	* 23718: Completion/Unix/Command/_dvi: don't use _arguments -s.

2007-07-28  Clint Adams  <>

	* 23714: Completion/Unix/Command/_dvi: handle dvips -G, -R, -u, -U,
	-v, -V, -y, and -z.

2007-07-27  Peter Stephenson  <>

	* 23713: Doc/Zsh/expn.yo, Misc/globtests, Src/pattern.c,
	Test/D02glob.ztst: add (#cN,M) globbing flag to work like
	{N,M} in regular expressions.

2007-07-27  Clint Adams  <>

	* 23712: Completion/Unix/Command/_dvi: handle dvips -j.

2007-07-26  Peter Stephenson  <>

	* 23703: Src/init.c: getenv() should be zgetenv().

	* 23702: Config/ use chmod to change permissions
	since installing as a programme may try to strip the script.

2007-07-25  Clint Adams  <>

	* 23697: use -rdynamic where it seems to be
	available, not based on the value of $host.

2007-07-25  Peter Stephenson  <>

	* 23696: Src/params.c, Test/D04parameter.ztst: assignment
	to negative subscripts in scalars before the start was broken.
	Now adds at start.

2007-07-24  Peter Stephenson  <>

	* 23694: Src/cond.c: change of infix condition features to C:
	broke =~.

2007-07-23  Peter Stephenson  <>

	* 23693: Src/Zle/compmatch.c: _match tried to match the quoted
	form of file names and any completion that did it's own quoting.

2007-07-22  Clint Adams  <>

	* 23691: Completion/BSD/Command/_portsnap: declare local parameter
	scope for _arguments state.

2007-07-20  Peter Stephenson  <>

	* Renato Botelho <>: 23685:
	new FreeBSD completions.

2007-07-19  Clint Adams  <>

	* Magnus Therning + tweaks: 23686: Completion/Unix/Command/_tin:
	respect TIN_HOMEDIR environment variable.

2007-07-17  Peter Stephenson  <>

	* 23682: Src/module.c: missed cases where m->name should
	be m->node.nam from 23665.

2007-07-13  Peter Stephenson  <>

	* 23680: Test/C04funcdef.ztst: tests for 23671.

2007-07-13  Peter Stephenson  <>

	* 23671: Doc/Zsh/exec.yo, Src/exec.c: Function
	command_not_found_handler can be defined to handle command
	not found.

2007-07-12  Clint Adams  <>

	* 23674: Completion/Unix/Command/_git: merge in git clone
	completion fixes from Nikolai Weibull's repository.

2007-07-06  Clint Adams  <>

	* 23666: Completion/Debian/Type/_deb_packages:
	redirect stderr from apt-cache --generate pkgnames to

2007-07-06  Peter Stephenson  <>

	* 23665: Doc/Zsh/builtins.yo,
	Etc/zsh-development-guide,Src/builtin.c, Src/cond.c, Src/exec.c,
	Src/hashtable.c, Src/init.c, Src/jobs.c, Src/,
	Src/module.c, Src/params.c, Src/string.c, Src/zsh.h,
	Src/Builtins/rlimits.c, Src/Builtins/sched.c, Src/Modules/cap.c,
	Src/Modules/clone.c, Src/Modules/datetime.c,
	Src/Modules/example.c, Src/Modules/files.c,
	Src/Modules/langinfo.c, Src/Modules/mapfile.c,
	Src/Modules/mathfunc.c, Src/Modules/parameter.c,
	Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c,
	Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c,
	Src/Modules/termcap.c, Src/Modules/terminfo.c,
	Src/Modules/zftp.c, Src/Modules/zprof.c, Src/Modules/zpty.c,
	Src/Modules/zselect.c, Src/Modules/zutil.c, Src/Zle/compctl.c,
	Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/computil.c,
	Src/Zle/deltochar.c, Src/Zle/zle_main.c, Src/Zle/zleparameter.c,
	Test/V01zmodload.ztst:  Finish autoloading of modules;
	make autoloads persistent.  Put modules in hash table.
	Rationalise error handling and error messages.  Improve
	module listing.  Abort at top level of list execution when
	errflag is set 	instead of relying on called functions returning

2007-07-06  Clint Adams  <>

	* 23664: Completion/Debian/Command/_bts: handle bts cache
	and cleancache subcommands.

2007-07-06  Peter Stephenson  <>

	* 23660: Doc/Zsh/expn.yo, Src/sort.c, Test/D04parameter.ztst:
	numerical sorting didn't work in reverse, wasn't tested and wasn't
	correctly documented.

	* unposted: Functions/Calendar/calendar_lockfiles: configuration
	appears to reduce collisions between lock attempts in multiple

2007-07-05  Peter Stephenson  <>

	* 23658: Completion/Base/Utility/_combination: bad use
	of index variable exposed by 23553.

2007-07-05  Clint Adams  <>

	* 23655: Completion/Unix/Command/_git: merge in git instaweb
	completion from Nikolai Weibull's repository.

	* 23654: Completion/Debian/Command/_reprepro: add completion for

2007-07-03  Clint Adams  <>

	* 23653: Completion/Debian/Command/_apt: add completion for apt-get

2007-07-03  Peter Stephenson  <>

	* unposted: Completion/README, Doc/Zsh/mod_cap.yo,
	Doc/Zsh/mod_complete.yo, Doc/Zsh/mod_example.yo,
	Doc/Zsh/mod_files.yo, Doc/Zsh/mod_mapfile.yo,
	Doc/Zsh/mod_zleparameter.yo, Doc/, Doc/zshzftpsys.yo,
	Etc/, Functions/Prompts/prompt_adam1_setup,
	Functions/Prompts/prompt_suse_setup, Functions/Zftp/zfrglob,
	Functions/Zftp/zftp_chpwd, Misc/.distfiles, Misc/bash2zshprompt,
	Misc/c2z, Misc/compctl-examples, Misc/globtests.ksh,
	Misc/job-control-tests, Misc/lete2ctl, Src/Zle/.distfiles,
	Util/preconfig, aclocal.m4: jiggery pokery to force files onto
	main branch (1.X) from vendor branch (1.1.1.X).

2007-07-03  Clint Adams  <>

	* 23645: Functions/Zftp/zfautocheck: use == instead of =.

	* 23644: Completion/Unix/Command/_git: merge in git remote
	completion from Nikolai Weibull's repository.

2007-07-02  Clint Adams  <>

	* 23640: Completion/Unix/Command/_git: merge in git quiltimport
	completion from Nikolai Weibull's repository.

	* 23639: Completion/Unix/Command/_git: merge in git merge-tree
	completion from Nikolai Weibull's repository.

	* 23629: Etc/FTP-README: change references to "beta" to "dev" or

2007-07-01  Peter Stephenson  <>

	* Tomasz Pala: users/11599: Completion/Unix/Command/_ip:
	improvements for VLAN interfaces, deleting addresses,

2007-07-01  Clint Adams  <>

	* 23628: Completion/Unix/Command/_git: merge in from Nikolai
	Weibull's repository completion for git mktree.

	* 23627: Completion/Unix/Command/_git: merge in from Nikolai
	Weibull's repository fixes for git hash-object, index-pack,

2007-06-28  Oliver Kiddle  <>

	* 23611: Completion/Unix/Command/_ldd, Completion/Unix/Type/_ld_debug:
	new completions for ldd and LD_DEBUG on Solaris and Linux

2007-06-28  Clint Adams  <>

	* 23610: Completion/Unix/Command/_git: merge in from Nikolai
	Weibull's repository git describe as well as fixes for
	diff-index, diff-files, and diff-stages.

	* 23609: Completion/Unix/Command/_git: merge in git clean
	completion from Nikolai Weibull's repository.

2007-06-27  Peter Stephenson  <>

	* 23607: Src/linklist.c, Src/loop.c, Src/module.c, Src/parse.c,
	Src/subst.c, Src/Modules/parameter.c, Src/Zle/compcore.c,
	Src/Zle/computil.c: Rationalise some linked list functions.

2007-06-26  Peter Stephenson  <>

	* 23606: Src/, Src/module.c, Test/V01zmodload.ztst:
	make all module feature autoloads pass through one function.

2007-06-24  Clint Adams  <>

	* 23595: Completion/Unix/Command/_git: merge in git archive
	completion from Nikolai Weibull's repository.

	* 23594: Completion/Unix/Command/_git: merge in git grep
	completion from Nikolai Weibull's repository.

	* 23593: Completion/Unix/Command/_git: merge in git annotate
	completion from Nikolai Weibull's repository.

2007-06-23  Clint Adams  <>

	* 23587: Completion/X/Command/_xrandr: completion for

	* 23586: Completion/Unix/Command/_dmidecode: completion for

2007-06-23  Peter Stephenson  <>

	* 23585: Src/hist.c: handle errno when handling errors.

2007-06-22  Peter Stephenson  <>

	* 23581: Src/hist.c: handle errors in writing history file

2007-06-22  Clint Adams  <>

	* 23580: Completion/Unix/Command/_guilt: rudimentary completion
	for guilt.

2007-06-20  Peter Stephenson  <>

	* 23578: Doc/Zsh/builtins.yo, Src/, Src/module.c,
	Src/Builtins/rlimits.mdd, Src/Builtins/sched.mdd,
	Src/Modules/cap.mdd, Src/Modules/clone.mdd,
	Src/Modules/datetime.mdd, Src/Modules/example.mdd,
	Src/Modules/files.mdd, Src/Modules/langinfo.mdd,
	Src/Modules/mapfile.mdd, Src/Modules/mathfunc.mdd,
	Src/Modules/parameter.mdd, Src/Modules/pcre.mdd,
	Src/Modules/regex.mdd, Src/Modules/socket.mdd,
	Src/Modules/stat.mdd, Src/Modules/system.mdd, Src/Modules/tcp.mdd,
	Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd,
	Src/Modules/zftp.mdd, Src/Modules/zprof.mdd, Src/Modules/zpty.mdd,
	Src/Modules/zselect.mdd, Src/Modules/zutil.mdd,
	Src/Zle/compctl.mdd, Src/Zle/complete.mdd, Src/Zle/computil.mdd,
	Src/Zle/zle.mdd, Src/Zle/zleparameter.mdd:  make standard
	features autoloadable and use feature notation for predefined

2007-06-19  Peter Stephenson  <>

	* 23575: Src/Modules/newuser.c: yet another problem on AIX:
	need features_ and enables_ functions.

	* unposted, c.f. 23572: Src/modentry.c: bad prototype.

	* 23571: Src/module.c: AIX definitions weren't right.

2007-06-19  Peter Stephenson  <>

	* 23567: Completion/Base/Utility/_complete_help_generic,
	Completion/Base/Widget/_generic, Doc/Zsh/compsys.yo:
	make help and debugging available for generic widgets
	via _complete_help_generic.

2007-06-19  Clint Adams  <>

	* 23569: Completion/Debian/Command/_bts: make 'bts show'
	behave the same as 'bts bugs'.

	* 23568: Completion/Linux/Command/_iwconfig: complete iwconfig

2007-06-18  Peter Stephenson  <>

	* unposted (should be in 23562): Test/C01arith.ztst: stupidity
	strikes again.

	* 23562: README, Doc/Zsh/options.yo, Doc/Zsh/params.yo,
	Src/exec.c, Src/glob.c, Src/options.c, Src/params.c, Src/subst.c,
	Src/zsh.h, Src/Modules/mapfile.c, Src/Modules/parameter.c,
	Src/Zle/complete.c, Test/C01arith.ztst, Test/D05array.ztst,
	Test/D06subscript.ztst, Test/D07multibyte.ztst,
	Test/E01options.ztst: add KSH_ZERO_SUBSCRIPT option to handle
	the currently default behaviour that $array[0] or $string[0]
	is mapped to $array[1] or $string[1] if KSH_ARRAYS is not
	in effect.  Now off by default; returns empty element or
	causes error if used for setting.  Valid ranges that happen
	to include zero are not affected.

2007-06-16  Peter Stephenson  <>

	* unposted: Test/D07multibyte.ztst: stop test files from
	cluttering up directory.

	* users/11575: Doc/Zsh/compsys.yo: document use of
	additional completers and insert style with _all_matches

2007-06-15  Peter Stephenson  <>

	* 23553: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Src/exec.c,
	Src/math.c: should have been committed but weren't.

2007-06-14  Peter Stephenson  <>

	* users/11568: Functions/Prompts/.distfiles,
	Functions/Prompts/prompt_special_chars: allow UTF-8 versions
	of certain visually striking but uninformative characters.

2007-06-14  Clint Adams  <>

	* 23561: Completion/Unix/Command/_git: merge in relevant changes
	from Nikolai Weibull's repo to more appropriately complete after
	'git add'.

2007-06-14  Peter Stephenson  <>

	* 23560: Doc/Zsh/mod_sched.yo, Src/Builtins/sched.c: improved
	version of 23554 making $zsh_scheduled_events more useful
	for programming.

2007-06-12  Clint Adams  <>

	* 23556: Completion/Unix/Command/_rrdtool: completion
	for rrdtool.

	* 23557: Completion/Unix/Command/_git: complete
	filenames after 'git reset <revision>'.

2007-06-12  Peter Stephenson  <>

	* 23554: Doc/Zsh/mod_sched.yo, Doc/Zsh/params.yo,
	Src/Builtins/sched.c, Src/Builtins/sched.mdd:
	add $zsh_scheduled_events.

2007-06-12  Clint Adams  <>

	* unposted: Completion/Unix/Command/_pkg-config,
	Completion/Unix/Command/_unexpand: remove RCS Id

2007-06-12  Peter Stephenson  <>

	* 23553: Src/params.c: use of unsubscripted array inside
	math evaluation now does something reasonable instead of
	returning 0.

	* 23552: Src/Builtins/sched.c: remove unnecessary debugging

2007-06-11  Peter Stephenson  <>

	* 23543: Completion/Unix/Command/_perforce: work around
	problem adding "..." with hidden prefix.

2007-06-08  Peter Stephenson  <>

	* 23537: Doc/Zsh/mod_zutil.yo, Src/Module/zutil.c,
	Test/V05styles.ztst:  use hash table for styles and add
	tests.  Apart from ordering of styles by name (patterns
	are still ordered by weight) there should be no effect on
	shell syntax and output.

2007-06-07  Peter Stephenson  <>

	* 23535: Src/Module/parameter.mdd: autoload saliases and

2007-06-06  Peter Stephenson  <>

	* Phil Pennock: 23529: Completion/compdump: quote completion dump
	to prevent global alias expansion.

2007-06-05  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_units: message and tag were
	reversed; always attempt completion with removed prefix
	(a bit problematic if prefix is e.g. "m").

	* From Mikael Magnusson and Phil Pennock: 23521, 23522:
	Completion/Unix/Command/_units: extra locations for
	units data.

2007-06-04  Peter Stephenson  <>

	* 23519: Completion/Unix/Command/_units: completion for "units".

	* 23518: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler:
	add find-file-in-path and file-path styles to MIME system.

2007-06-03  Peter Stephenson  <>

	* 23511: Src/exec.c, Src/lex.c: error if here document
	too large.

2007-06-02  Peter Stephenson  <>

	* unposted: Functions/Calendar/age, Functions/Example/zls:
	some more uses of zsh/stat that should only enable b:zstat.

2007-05-30  Peter Stephenson  <>

	* 23495: Completion/Base/Completer/_ignored,
	Completion/Base/Completer/_prefix: 23440 broken obscure
	use of subscripting.

2007-05-29  Peter Stephenson  <>

	* unposted: Src/module.c: failure adding autoload builtin
	didn't clean up properly.

2007-05-29  Peter Stephenson  <>

	* 23488: README, Etc/zsh-development-guide, Src/builtin.c,
	Src/init.c, Src/module.c, Src/module/zftp.c, Src/Zle/complete.c,
	Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c:
	tidy up module interface and documentation.

	* 23486: Test/A01grammar.ztst, Test/C03traps.ztst,
	Test/D07multibyte.ztst, Test/E01options.ztst, Test/ztst.zsh:
	Use {fd} syntax to open fd's for tests that won't clash
	with standard fd's.

	* 23485: Completion/Zsh/Command/_zmodload, Src/cond.c,
	Src/exec.c, Src/module.c, Src/params.c: completion for
	zmodload -F; autoloading now requests a specific feature
	from a module.

	* 23482: Src/Modules/tcp.c, Src/Zle/complete.c: more typos.

	* unposted: Doc/Zsh/mod_stat.yo: typo.

	* Phil Pennock: 23480: Src/parse.c: typo in =~ handling.

2007-05-28  Peter Stephenson  <>

	* Not posted but see 23479:Completion/Unix/Command/_chmod,
	Completion/Unix/Command/_chown, Completion/Unix/Command/_cvs,
	Completion/Unix/Type/_list_files, Completion/Zsh/Command/_stat,
	Doc/Zsh/compsys.yo, Doc/Zsh/mod_stat.yo,
	Etc/zsh-development-guide, Src/builtin.c, Src/cond.c, Src/exec.c
	Src/init.c, Src/, Src/, Src/modentry.c,
	Src/module.c, Src/params.c, Src/zsh.h, Src/Builtins/rlimits.c,
	Src/Builtins/sched.c, Src/Modules/cap.c, Src/Modules/clone.c,
	Src/Modules/datetime.c, Src/Modules/example.c,
	Src/Modules/files.c, Src/Modules/langinfo.c,
	Src/Modules/langinfo.mdd, Src/Modules/mapfile.c,
	Src/Modules/mathfunc.c, Src/Modules/parameter.c,
	Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c,
	Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c,
	Src/Modules/termcap.c, Src/Modules/terminfo.c, Src/Modules/zftp.c,
	Src/Modules/zprof.c, Src/Modules/zpty.c, Src/Modules/zselect.c,
	Src/Modules/zutil.c, Src/Zle/compctl.c, Src/Zle/complete.c,
	Src/Zle/complist.c, Src/Zle/computil.c, Src/Zle/deltochar.c,
	Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c,
	Src/Zle/zleparameter.c, Test/B02typeset.ztst,
	Test/V01zmodload.ztst, Test/V04features.ztst: add "zmodload -F"
	and internal features support for modules.

	* 23478: Src/Zle/compresult.c: don't run reverse-menu-complete
	if no completion yet.

2007-05-27  Clint Adams  <>

	* 23475: Completion/Unix/Command/_cdrecord: call $service
	instead of 'cdrecord', in case we are using wodim.

2007-05-26  Peter Stephenson  <>

	* 23471: error names not found properly
	on Linux owing to restrictive test when searching files.

2007-05-23  Peter Stephenson  <>

	* John Buddery: 23461 plus comment and test: fix race
	setting up multios by blocking SIGCHLD.

	* 23460: Src/exec.c, Src/jobs.c, Test/E01options.ztst:
	fix longstanding problem with multios attached to a
	subshell process.

2007-05-22  Peter Stephenson  <>

	* Phil Pennock: 23450: Src/Zle/zleparameter.yo: undefined
	widget caused crash in in $widgets special parameter.

2007-05-21  Peter Stephenson  <>

	* 23447: INSTALL, README, Doc/Zsh/contrib.yo,
	Doc/Zsh/mod_newuser.yo, Doc/Zsh/roadmap.yo: improve documentation
	for the zsh/newuser module and zsh-newuser-install function.

	* 23446: Src/Modules/parameter.c: a typo meant scanning
	alias parameters returned a value the same as the key.

	* Unposted, see discussion around 23431: MACHINES: mention
	multibyte oddity on MacOS.

	* 23440: README, Doc/Zsh/params.yo, Src/params.c,
	Test/D06subscript.ztst: Reverse parameter subscripting
	with (R) now returns the empty string on failure.  Other
	operators are not changed.

2007-05-20  Peter Stephenson  <>

	* 23444: Src/builtin.c: print -c/-C didn't take into
	account multibyte characters.

2007-05-17  Clint Adams  <>

	* Nikolai Weibull: 23443: Completion/Unix/Command/_vim:
	mark --nofork and -f as redundant.

2007-05-16  Clint Adams  <>

	* Ag. D. Hatzimanikas: 23442: Completion/Unix/Command/_vim:
	update for vim 7.1.

2007-05-14  Clint Adams  <>

	* Alexander Myodov: 23439: Completion/Unix/Command/_screen:
	complete sessions for -dr, -dR, -Dr, -DR, -dx, and -Dx.

2007-05-14  Peter Stephenson  <>

	* users/11484: Functions/Misc/zmv: allow renaming $f to $g
	to work if the files are really the same.

	* 23438 (slightly improved to use _call_program):
	Completion/Unix/Type/_printers: improve finding of network

	* Noted by Wayne: 23437; Src/params.c: typo in 23436.

2007-05-13  Peter Stephenson  <>

	* 23435: Nikolai Weibull: Src/sort.c: bug testing for end
	of sort string when ignoring backslashes.

	* Phil Pennock: unposted: Doc/Zsh/cond.yo: should document
	POSIX regular expressions as extended, not basic.

	* 23436: Src/params.c: handle empty strings for locale
	variables more consistently.

	* 23434: Completion/Unix/Command/_configure: use also
	for config.status.

	* 23433: Src/Zle/zle_main.c: cast for ZMAXTIMEOUT was wrong
	where sizeof(long) > sizeof(int).

2007-05-10  Andrey Borzenkov <>

	* 23409 with extra comment: Src/init.c, Src/utils.c: after ZLE
	displayed "use 'exit' to exit" message, PROMPT_SP will overwrite
	prompt without ZLE knowing about it. Disable PROMPT_SP output if
	message was printed.

2007-05-10  Peter Stephenson  <>

	* Peter A. Castro: 23408: zftp account handling was broken.

2007-05-08  Peter Stephenson  <>

	* Phil Pennock + tweaks: 23398 + more tweaks: README,
	Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo, Src/exec.c, Src/zsh.h,
	Test/A01grammar.ztst: add compatibility options for exec.

2007-05-02  Peter Stephenson  <>

	* unposted: Doc/Zsh/mod_pcre.yo, Src/pcre.c: missing
	documentation file (tweaked) plus pointer fixes.

2007-05-01  Peter Stephenson  <>

	* Phil Pennock + tweaks: 23375:, Doc/,
	Doc/Zsh/cond.yo, Doc/Zsh/mod_pcre.yo, Doc/Zsh/options.yo,
	Src/cond.c, Src/options.c, Src/parse.c, Src/text.c, Src/zsh.h,
	Src/Modules/pcre.c, Src/Modules/regex.c,  Src/Modules/regex.mdd:
	Add zsh/regex option, =~ syntax and related options

2007-05-01  Peter Stephenson  <>

	* unposted: Doc/Zsh/contrib.yo: typo in widget name.

	* Guillaume Chazarain: 23364: Src/signals.c, Src/signals.h: fix
	race in POSIX signal blocking - use local variables as other forms
	already do.

	* 23363: README (not posted), Doc/Zsh/compsys.yo,
	Src/Zle/computil.c: fake-files style now takes pattern.

2007-04-30  Peter Stephenson  <>

	* 23339: Src/mem.c: make malloc(0) allocate a single byte
	instead of returning invalid (and unfreeable) memory.

2007-04-27  Peter Stephenson  <>

	* 23337: Src/Zle/compctl.c: argument to stat() wasn't
	unmetafied so some filenames with non-ASCII characters
	weren't recognised when the type of the file needed testing
	in old-fashioned completion.

2007-04-26  Peter Stephenson  <>

	* Phil Pennock: 23326: Src/utils.c: with no __STDC_ISO_10646__
	code wouldn't compile.

2007-04-23  Peter Stephenson  <>

	* unposted: Src/parse.c: make sure we get "invalid zwc file"
	for a short file (not "wrong version").

	* 23313: Src/parse.c: the shell didn't actually check the version
	of ZWC files anyway.

	* 23312: Src/parse.c, Src/zsh.mdd: ensure parse.c is updated
	when version.h changes in order to pick up changes to ZWC
	files; memset() header of wordcode file to normalise unused words.

	* 23308: Src/text.c: stop tindent becoming negative, which
	causes infinite use of memory; add debug test to see where
	it would become negative.

	* Christoph Bauer: 23310ish: define _INCLUDE__STDC_A1_SOURCE
	for HP/UX.

2007-04-21  Clint Adams  <>

	* 23303: Completion/Unix/Command/_date: use _guard.

2007-04-19  Clint Adams  <>

	* 23301: Paul Ackersviller: Functions/Misc/add-zsh-hook:
	fix semicolon mistyped as a colon.

	* 23302: Completion/Unix/Command/_subversion: complete properties
	after svn propget and propedit.

2007-04-19  Peter Stephenson  <>

	* unposted: Config/ set release string to 4.3.4-dev-0.

	* users/11419: Doc/Zsh/zle.yo,
	Functions/Zle/kill-word-match, Src/Zle/zle_misc.c,
	Src/Zle/zle_utils.c: allow zle copy-region-as-kill with an
	argument to add text to the kill ring from a widget function.

	* unposted: Functions/Misc/add-zsh-hook: should have been
	added ages ago but wasn't.

	* README, Config/, Etc/FAQ.yo: release 4.3.4.

2007-04-17  Wayne Davison  <>

	* users/11424: Functions/Zle/smart-insert-last-word: fixed
	parse error caused by a comment in a math expression.

2007-04-17  Peter Stephenson  <>

	* users/11421: Src/Zle/complist.c: use of %{...%} in
	completion list formatting was broken.

	* Christoph Bauer: users/11416: Src/utils.c: bad use
	of VARARR confused some compilers.

2007-04-17  Geoff Wing  <>

	* unposted: LICENCE: update year to 2007

2007-04-16  Peter Stephenson  <>

	* unposted: ChangeLog, README, Completion/Base/Utility/.distfiles,
	Config/, Functions/Calendar/.distfiles,
	Functions/Misc/.distfiles, Src/.distfiles, Src/sort.c,
	Src/utils.c: prepare for release of 4.3.3.

2007-04-15  Peter Stephenson  <>

	* 23278: Src/sort.c, Test/D07multibyte.ztst: Fix
	NUMERICGLOBSORT, broken by 23118.

	* users/11398: Src/zle_move.c: vi-goto-mark was broken
	by multibyte characters.

2007-04-14  Clint Adams  <>

	* 23275: Completion/Unix/Command/_date: change order of
	arguments to _arguments so that options will actually be

2007-04-13  Peter Stephenson  <>

	* 23273: Src/params.c, Test/D04parameter.ztst: bad patterns
	in ${var[(r)...]} returned the first element of an array instead
	of the empty string.

	* 23271: Pete Hollobon: Completion/Unix/Command/_sqsh,
	Completion/Unix/Command/.distfiles: new completion.

2007-04-12  Peter Stephenson  <>

	* 23270: Src/system.h: #define _STRPTIME_DONTZERO to get Solaris
	strptime() to work properly.

2007-04-05  Clint Adams  <>

	* 23264: Src/Modules/pcre.c: don't add the -pcre-match
	operator unless the pcre functions are available.

2007-04-02  Peter Stephenson  <>

	* 23258: Src/Zle/complist.c: debugging added in 23248
	was overaggressive.

	* 23257: Src/subst.c: buffer too short for multibyte
	${(#)...} evaluation.

2007-03-31  Clint Adams  <>

	* 23255: Completion/Unix/Command/_module: fix 23253 better.

	* 23253: Erik Johansson: Completion/Unix/Command/_module:
	remove double quotes causing zcompile to choke.

2007-03-30  Clint Adams  <>

	* 23252: Completion/Debian/Command/_aptitude: complete for
	"aptitude unhold".

2007-03-30  Peter Stephenson  <>

	* unposted: Src/Zle/complist.c: better fix for 23248.

2007-03-29  Peter Stephenson  <>

	* 23248: INSTALL, Src/utils.c, Src/zsh.h, Src/Zle/complist.c:
	bug with completion lists on last line of group just shorter than
	the line length; if compiled with debugging, ZSH_DEBUG_LOG is used
	for dputs() output.

2007-03-29  Clint Adams  <>

	* unposted: Completion/Unix/Command/.distfiles: update

2007-03-28  Peter Stephenson  <>

	* 23246: Src/Zle/zle_tricky.c: fix completion of redirections that
	occur before the command word.

2007-03-28  Clint Adams  <>

	* 23241: Daniel Qarras: Completion/Unix/Command/_module:
	fix for _module.

2007-03-27  Peter Stephenson  <>

	* unposted: Src/jobs.c: fix uninitialized variable in 23238.

	* 23238: Src/jobs.c: job didn't get deleted from table
	if it wasn't printed, leading to obscure problems with current

2007-03-26  Peter Stephenson  <>

	* unposted (follow-on from 23228): Doc/Zsh/calsys.yo,
	New calendar_edit (looks up file to edit and locks it);
	calendar -a option; calendar_showdate -f fmt option;
	make calendar_lockfiles use zsh/select to get higher resolution
	timer to jitter delay; apply the summer time fix to
	"<month>, <nth> <frob>day" as well; allow "2nd" as an
	ordinal (also 1nd and 3nd, 4nd, ... since we aren't interested
	in checking good English).

2007-03-25  Peter Stephenson  <>

	* usres/11333: Completion/Unix/Command/_ssh: users-hosts
	didn't limit the hosts properly when the user was matched
	for ssh.

2007-03-24  Clint Adams  <>

	* 23236: Daniel Qarras: Completion/Unix/Command/_module:
	enhancements for _module.

2007-03-23  Peter Stephenson  <>

	* unposted, see followups to 23232: Doc/Zsh/builtins.yo:
	superduper nitpicked version.

	* 23232: Src/module.c, Doc/Zsh/builtins.yo: improve
	warning interface; record that zmodload doesn't flag an error
	on failed loading.

2007-03-22  Peter Stephenson  <>

	* 23228: Functions/Calendar/calendar_{scan,show}date: fix
	summer time adjustments for relative times, plus some minor

2007-03-22  Peter Stephenson  <>

	* 23226: Completion/Unix/Command/_nice: "nice -n<->" wasn't

2007-03-19  Peter Stephenson  <>

	* 23224: Src/Zle/zle_refresh.c: fix output of prompt in
	single line ZLE.

2007-03-19  Peter Stephenson  <>

	* 23221: Martin Koeppe: don't used XTABS if not available.

2007-03-15  Peter Stephenson  <>

	* 23219: Src/options.c: Ismail Dönmez reported that lower
	casing of I to dotless i in tr_TR.UTF-8 broke option handling.

2007-03-14  Clint Adams  <>

	* 23215: Completion/Unix/Command/_module: completion for

2007-03-13  Clint Adams  <>

	* 23214: Completion/Unix/Command/_subversion: complete files
	after svn commit --file.

2007-02-10  Felix Rosencrantz <>

	* unposted: Completion/Unix/Command/_comm: added -s flag to
	_arguments so completion could deal with combined flags.

2007-03-08  Clint Adams  <>

	* 23206: Completion/Unix/Command/_mercurial: completion for hg.

2007-03-05  Clint Adams  <>

	* 23205: Doc/Zsh/options.yo: fix misspelling of "effect".

2007-03-01  Peter Stephenson  <>

	* 23203: Completion/X/Command/_acroread: use -version
	to get version (spotted by Zvi) and fix the other methods
	as fallback.

2007-02-27  Peter Stephenson  <>

	* unposted: Doc/Zsh/compsys.yo: document now useful -t
	option to _regex_words.

	* 23198: Completion/Base/Utility/_values,
	Completion/Base/Utility/_regex_words: make _values -s more
	useful and use for regex completions with non-standard suffixes.

2007-02-27  Clint Adams  <>

	* 23196: Completion/Debian/Command/_apt: tweak apt-cache madison
	and --installed.

2007-02-27  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_ip: another typo

2007-02-26  Peter Stephenson  <>

	* 23190: Completion/Unix/Type/_net_interfaces: use ifconfig
	on Linux and fall back to old method in order to pick up
	additional interface types.

	* unposted: Completion/Unix/Command/_ip: tweak ip route
	show abbreviations.

2007-02-25  Barton E. Schaefer  <>

	* 22894 (belated): Completion/Unix/Type/_email_addresses: fix
	muttrc path expansion in search for aliases.

	* unposted (based on users/10881,10884): Doc/Zsh/contrib.yo,
	Functions/Zle/smart-insert-last-word: add auto-previous zstyle,
	make use of auto-suffix-retain, add an always block for cleanup,
	and search unedited text via parameter module $history.

	* unposted: Functions/Misc/zkbd: account for the possibility that
	meta- or alt- key combos could generate a multibyte character.

2007-02-25  Peter Stephenson  <>

	* 23186: Completion/Base/Utility/_regex_words,
	Completion/Unix/Command/_ip (tweaked), Doc/Zsh/compsys.yo: add to
	regex completion handling and add new ip completion.

2007-02-25  Barton E. Schaefer  <>

	* 23176 (tweaked): Doc/Zsh/expn.yo, Src/subst.c: make the (X)
	parameter expansion flag apply to the (#) flag as well, so that
	"character not in range" is not normally a fatal error.  Also
	fix a minor typo in a comment.

2007-02-25  Clint Adams  <>

	* 23185: Tobias Gruetzmacher: Completion/Unix/Command/_qemu: qemu
	completion improvements.

2007-02-24  Clint Adams  <>

	* 23184: Completion/Unix/Command/_qemu: completion for qemu.

2007-02-22  Clint Adams  <>

	* 23183: Completion/Debian/Command/_make-kpkg:
	complete comma-separated list of directories/modules
	for --added-modules.

2007-02-18  Peter Stephenson  <>

	* unposted: Src/utils.c: document some limitations of

2007-02-16  Peter Stephenson  <>

	* 23182: Completion/Base/Utility/_arguments: handle
	./configure --help output "--with-foo[=BAR]" by
	using "=-" specifier.

2007-02-14  Clint Adams  <>

	* 23178: David Riebenbauer: Completion/Debian/Command/_make-kpkg:
	update for modern versions of make-kpkg.

2007-02-14  Peter Stephenson  <>

	* 23177: Src/utils.c: print unprintable characters under
	256 in \M- format even in multibyte mode.

2007-02-14  Barton E. Schaefer  <>

	* 23169 (tweaked): Src/exec.c: upon failure to duplicate file
	descriptors when setting up multios, report error and unwind as
	gracefully as possible.

2007-02-13  Peter Stephenson  <>

	* 23172: Src/Zle/zle_tricky.c: typo fixing line wrapping
	in completion displays caused too many lines in multiline
	explanation strings.

2007-02-13  Peter Stephenson  <>

	* 23168: Src/Modules/tcp.c: error when failing to bind
	to a port didn't use native byte order.

2007-02-10  Peter Stephenson  <>

	23165: Src/math.c, Src/utils.c, Doc/Zsh/options.yo: don't
	try to parse base indicators in octal and raise error for
	bases above 36.

2007-02-10  Felix Rosencrantz <>
	* 23164: Src/builtin.c when PUSHD_SILENT is set, don't print anything
	from popd/pushd.

2007-02-10  Peter Stephenson  <>

	* 23162: Src/subst.c, D07multibyte.ztst: ${(#)x} didn't
	metafy the result, giving nonsense if x was somewhere between
	128 and 160.

2007-02-08  Peter Stephenson  <>

	* unposted: README: add note on 23159 to incompatibilities

	* 23159 plus minor doc tweaks: Doc/Zsh/params.yo, Src/params.c,
	Src/utils.c, Src/Zle/zle_main.c: leave BAUD parameter unset
	by default.

2007-02-07  Peter Stephenson  <>

	* 23153: Src/utils.c: put back old ztrcmp(), with a comment:
	as we're not doing strcoll() using full wide character conversion
	is overkill.

2007-02-06  Peter Stephenson  <>

	* 23152: Src/builtin.c, Src/hashtable.c, Src/module.c,
	Src/options.c, Src/params.c, Src/utils.c: fix ztrcmp()
	to respect MULTIBYTE option and make sorting of printed
	out hash tables more consistent.

2007-02-06  Peter Stephenson  <>

	* unposted: Src/Zle/complist.c: 23144 could leave an uninitialised

2007-02-05  Clint Adams  <>

	* 23151: Completion/Unix/Command/.distfiles,
	Completion/Unix/Command/_monotone: partial completion
	for mtn (monotone) command.

2007-02-03  Clint Adams  <>

	* 23150: Completion/Debian/Command/.distfiles,
	Completion/Debian/Command/_cdbs-edit-patch: completion for

2007-02-02  Peter Stephenson  <>

	* 23144: Felix Eckhofer <>: Src/Zle/complist.c:
	NULL pointer when ending interactive search in menu select.

	* 23143: Src/string.c, Src/subst.c: =-expansion failed
	when there were metacharacters in the following string,
	but still tried to expand it.  It now succeeds.

2007-02-01  Peter Stephenson  <>

	* unposted: Src/Sched.c: using 23142 turned up sched bug:
	we could add checksched twice to the timed event list.

2007-01-31  Peter Stephenson  <>

	* 23142: Doc/Zsh/calsys.yo, Functions/Calendar/calendar,
	Functions/Calendar/calendar_add, calendar_scandate,
	calendar_show, calendar_showdate: enhancements for recurring
	events and relative times and dates in calendar system.

2007-01-27  Peter Stephenson  <>

	* 23141: Src/jobs.c: don't refresh the display after
	a printjob() that didn't print anything.

2007-01-29  Clint Adams  <>

	* 23140: Completion/Unix/Command/_arping: handle syntax for
	iputils variant as well as whichever arping for which we
	had already been completing.

2007-01-27  Peter Stephenson  <>

	* 23136, 23138: Src/utils.c, Test/A03quoting.ztst: 23097 added
	Bnulls for backslashes in $'...' strings but then didn't handle

2007-01-26  Wayne Davison  <>

	* unposted: Src/Zle/zle_tricky.c: fixed the error checking of
	mbrtowc(), whose return value can never be < 0.

	* unposted: Src/subst.c: silenced a compiler warning by making
	an int unsigned.

	* unposted: Src/signals.c: mark an arg as UNUSED().

2007-01-24  Peter Stephenson  <>

	* unposted: Src/Builtins/sched.c: minor error in sched that no
	one's spotted yet: we deleted a timed function twice if
	there was anything left in the list after we ran an event.

	* 23131: Test/.distfiles, Test/D08cmdsubst.ztst: new tests for
	command substitution.

2007-01-23  Peter Stephenson  <>

	* 23126, modified: Src/lex.c: errors when deciding between
	$(( and $( were not handled properly and in particular caused
	problems in history expansion in zle.  The code is a little
	obscure; added a comment about this.

2007-01-22  Peter Stephenson  <>

	* 23122: Src/sort.c: bug with some strings with embedded nulls and
	some not in 23118.

2007-01-22  Peter Stephenson  <>

	* 23119: Src/sort.c, Test/B03print.ztst, Test/D07multibyte.ztst:
	do lowering of multibyte character case in sorting properly.

2007-01-21  Peter Stephenson  <>

	* 23118: Doc/Zsh/expn.yo, Src/builtin.c, Src/glob.c, Src/jobs.c,
	Src/sort.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/zsh.mdd,
	Src/Zle/compcore.c, Src/Zle/computil.c, Src/Zle/zle_tricky.c,
	Test/B03print.ztst, Test/D04parameter.ztst: improve sorting,
	making it work properly with locales and handling embedded
	nulls consistently.

2007-01-21  Clint Adams  <>

	* 23117: arno: Completion/Unix/Command/_yafc:
	strip out erroneous commas.

	* 23116: arno: Completion/Unix/Command/_getmail:
	strip out erroneous commas.

2007-01-19  Peter Stephenson  <>

	* 23115: Doc/Zsh/grammar.yo, Src/lex.c, Src/loop.c, Src/parse.c,
	Src/text.c, Src/zsh.h, Test/A01grammar.ztst:  add ";|"
	at end of case statement to cause testing of later patterns.

2007-01-18  Peter Stephenson  <>

	* unposted: Doc/Zsh/calsys.yo: typo with parentheses.

	* 23114: Src/subst.c: ${foo:s/bar/rod} was broken (when final
	delimiter is not present).

2007-01-16  Peter Stephenson  <>

	* users/11113: Completion/Unix/Command/ extend
	project and context completion to ordinary text and complete
	after whitespace in quotes.

2007-01-15  Barton E. Schaefer  <>

	* 23107, 23109: Config/ suppress parallel makes.

2007-01-14  Peter Stephenson  <>

	* 23104: Src/exec.c, Src/zsh.h: fix line numbering in
	users/11111 and tidy up wordcode definitions slightly.

2007-01-12  Peter Stephenson  <>

	* 23101: Src/signals.c, Test/C03traps.ztst: ZERR traps
	had various odd features when combined with function returns.

2007-01-09  Peter Stephenson  <>

	* users/11111: Doc/Zsh/options.yo, Src/exec.c, Src/options.c,
	Src/zsh.h: add DEBUG_BEFORE_CMD option to run DEBUG traps
	before the command instead of after.

	* 23098: Src/builtin.c, Test/D07multibyte.ztst: print widths
	in printf take account of multibyte characters.

2007-01-08  Peter Stephenson  <>

	* 23097: Src/lex.c, Src/utils.c, Src/zsh.h, Src/Zle/compcore.c:
	splitting of $'...' strings in completion.

2007-01-05  Peter Stephenson  <>

	* 23091: Doc/Zsh/compctl.yo, Doc/Zsh/contrib.yo: fixes
	for some *roff problems noted by doclifter.

2007-01-05  Peter Stephenson  <>

	* 23090: make ncurses preferred over curses
	and try not to link to multiple display libraries if not

2007-01-04  Clint Adams  <>

	* 23089: R.Ramkumar: Completion/Unix/Command/_mpc:
	relax playlist glob pattern to work with newer versions.

2007-01-04  Peter Stephenson  <>

	* 23088: Src/builtin.c, Src/zsh.h: Stephane says printf
	formats and arguments should actually be escaped differently.

	* 20386: Src/zsh.h, Test/B03print.ztst: printf should handle
	octal escapes in the '\0NNN' form.

2007-01-02  Clint Adams  <>

	* 22817: Frank Terbeck: Completion/Debian/Command/_aptitude:
	update for modern options, add completion of releases.

	* 23080: arno: Completion/X/Command/_qiv: fix -c and -g
	(both were mistakenly -b).

2006-12-19  Peter Stephenson  <>

	* 23071: Src/utils.c: problem with signed characters with
	no multibyte support.

	* 23070: Test/C02cond.ztst: Skip [[ -N file ]] test on NFS
	file systems.

	* 23067: Doc/Zsh/builtins.yo, Src/jobs.c, Src/signals.c:
	queue traps but handle signals when waiting for jobs or processes,
	unless TRAPSASYNC is set or the wait builtin is in use, so as
	to handle untrapped signals in a timely fashion; document that
	negative or zero process IDs after kill may be handled specially
	by the OS.

2006-12-18  Peter Stephenson  <>

	* 23054, part: Src/jobs.c: error message for "kill -" with
	no option or signal name was confusing.

2006-12-17  Peter Stephenson  <>

	* 23060: Doc/ make everything makes info.

	* 23059: arno: Completion/Debian/Command/_apt-file, also
	.distfiles: new completion.

	* 23058: arno: Completion/X/Command/_mozilla: handle -CreateProfile.

	* 23057: arno: Completion/X/Command/_setxkbmap, also .distfiles:
	new completion.

2006-12-15  Peter Stephenson  <>

	* users/11083: Doc/Zsh/contrib.yo, Functions/Zle/.distfiles,
	Functions/split-shell-arguments: functions for handling spliting
	of shell arguments in ZLE.

2006-12-13  Peter Stephenson  <>

	* 23052: Doc/Zsh/builtins.yo, Src/subst.c: multibyte
	characters in typeset -L/R/Z padding.

2006-12-13  Peter Stephenson  <>

	* 23051: Src/lex.c: using ${(Q)...} on an expression with
	RCQUOTE handling failed when DEBUG was defined.

2006-12-12  Peter Stephenson  <>

	* users/11079: Doc/Zsh/expn.yo: point out that 1(2##) may not

2006-12-10  Peter Stephenson  <>

	* unposted: Doc/Zsh/zle.yo: documentation for CUTBUFFER and
	killring ought to be more explicit about their connection.

	* 23044: Src/builtin.c: print -c/-C is yet another version
	of print no one bothered to fix up to handle unmetafication

2006-12-08  Peter Stephenson  <>

	* based on 23038: Completion/Unix/Command/_webbrowser,
	Completion/X/Command/_mozilla: remove firefox from _webbrowser,
	it's handled by Completion/X/Command/_mozilla; add some
	firefox-specific options.

2006-12-08  Clint Adams  <>

	* 23039: Completion/X/Command/_mozilla: handle iceweasel as

2006-12-08  Peter Stephenson  <>

	* 23036: Src/utils.c, Src/Zle/compcore.c, Src/Zle/zle_tricky.c:
	three more fixes for completion using $'...'.

2006-12-04  Peter Stephenson  <>

	* 23028:, Config/, Doc/
	use texi2pdf where available.

	* unposted: Doc/Zsh/calsys.yo, Functions/Calendar/age,
	Functions/Calendar/calendar_scandate: autoload missing in
	calendar_add; add some date shortcuts for the use of age.

	* 23027: Vin Shelton: Doc/Zsh/calsys.yo: texinfo links were

2006-12-03  Peter Stephenson  <>

	* 22026: Src/exec.c,  Src/subst.c, Src/utils.c, Src/zsh.h,
	Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle.h,
	Src/Zle/zle_tricky.c: Incomplete fixes for using $'...'
	quoting in completion.

2006-12-01  Peter Stephenson  <>

	* unposted fixes for previous commit:
	Completion/Unix/Type/_list_files, Doc/Zsh/calsys.yo,
	Functions/Calendar/age: age was broken; fix typos; use
	"always" block to restore stat disability.

	* c.f. 23023: Completion/Unix/Type/_list_files, Doc/.distfiles,
	Doc/, Doc/zsh.yo, Doc/zshcalsys.yo, Doc/Zsh/.distfiles,
	Doc/Zsh/calsys.yo, Doc/Zsh/compsys.yo, Doc/Zsh/intro.yo,
	Doc/Zsh/manual.yo, Doc/Zsh/modules.yo, Doc/Zsh/tcpsys.yo,
	Functions/Calendar/.distfiles, Functions/Calendar/age,
	Functions/Calendar/calendar, Functions/Calendar/calendar_add,
	Functions/Calendar/calendar_sort, Src/Modules/datetime.mdd: new
	calendar system with age glob qualifier function; files
	_list_files to be able not to trample over external stat.

2006-11-28  Peter Stephenson  <>

	* 23022: Test/ztst.zsh: don't allow WORDCHARS to be exported
	to tests.

	* unposted: Completion/Unix/Command/_perforce: updated to 2006.2.

2006-11-27  Clint Adams  <>

	* 23018: Completion/Unix/Command/_darcs: parse out
	section headings from darcs --help.

2006-11-19  Peter Stephenson  <>

	* 23008: Src/exec.c: failure to output error message could
	alter exit status.

2006-11-18  Clint Adams  <>

	* 23005: Completion/Unix/Command/_toilet: completion
	for toilet.

2006-11-15  Peter Stephenson  <>

	* users/10989: Completion/Base/Core/_description,
	Doc/Zsh/compsys.yo: add fake-always style that overrides

2006-11-14  Peter Stephenson  <>

	* users/10981: Jean-Rene David <>:
	Completion/Unix/Command/_ssh: needs glob_subst to expand
	path for config file.

	* users/10979: Completion/Unix/Command/_ssh: use config file
	from -F option if present.

2006-11-13  Clint Adams  <>

	* 22998: Completion/Linux/_acpi: add -s to _arguments.

2006-11-11  Clint Adams  <>

	* unposted: update config.guess and config.sub to
	2006-07-02 versions.

2006-11-11  Peter Stephenson  <>

	* 22997: Src/builtin.c, Src/subst.c: ${...?...} didn't go through
	proper exit sequence and didn't take account of being in a
	subshell and didn't call exit trap anyway because errflag was set.

2006-11-10  Peter Stephenson  <>

	* 22993: Completion/Unix/Command/_make: slightly more
	effective version of 22988.

	* 22992: Doc/Zsh/func.yo, Doc/Zsh/builtins.yo, Src/builtin.c:
	make $? available on trap or hook shell exit.

2006-11-09  Peter Stephenson  <>

	* 22984: Doc/Zsh/func.yo, Src/builtin.c: add zshexit hook
	to 22978.

	* 22988: arno: Completion/Unix/Command/_make: failed on
	special variable names, so use local -h.  Probably not a
	complete fix since the function can run recursivesly for
	include directives which should use the same namespace.

2006-11-08  Peter Stephenson  <>

	* 22983: Src/builtin.c, Src/init.c: exit could loop for ever
	in two different ways (but not at the same time).

	* 22978 (tweaked): Doc/Zsh/func.yo, Doc/Zsh/options.yo,
	Src/builtin.c, Src/init.c, Src/utils.c, Src/Zle/zle_main.c,
	Test/A05execution.ztst: use <hook>_functions array variables for
	hook functions.

	* 22981: Zvi Har'El: Src/glob.c: 22980 got a get_strarg() wrong in
	glob.c, somehow.

2006-11-07  Peter Stephenson  <>

	* 22980: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst,
	Test/D07multibyte.ztst: 22952 messed up optional arguments
	to padding parameter flags.

2006-11-07  Peter Stephenson  <>

	* 22973: arno: Completion/Unix/Command/_zip: .xpi files are
	zip files.

2006-11-06  Peter Stephenson  <>

	* 22972: Completion/Zsh/Command/_typeset: autoload completion
	is limited to functions not yet registered.

	* 22971: Src/exec.c, Src/jobs.c: don't allow job control
	on jobs in current shell and sanitize error message used.

2006-11-05  Peter Stephenson  <>

	* 22968: Src/builtins.c: print -z and print -s didn't cope
	with the fact that the arguments were unmetafied.

2006-11-03  Peter Stephenson  <>

	* users/10928: send all "jobs" output to stdout, not shout.

	* 22953: Mikael Magnusson:
	Completion/Base/Widget/_most_recent_file: didn't work if
	file started with a hyphen.

2006-11-02  Peter Stephenson  <>

	* 22952: Src/glob.c, Src/params.c, Src/subst.c,
	Test/D04parameter.ztst: fix multibyte delimiters for
	arguments to parameter flags and substitution modifiers
	in parameters and glob qualifiers (but not yet substitution
	modifiers in history).

	* 22950: Src/Zle/zle_tricky.c: starting menu completion
	with reverse-menu-complete used the first match instead
	of the last.

2006-11-02  Clint Adams  <>

	* 22947: R. Ramkumar: Completion/Unix/Command/_mkdir:
	minor mkdir completion fixes.

2006-11-01  Peter Stephenson  <>

	* 22934, with modifications (c.f. 22937): INSTALL, README,
	Completion/compinit, Doc/Zsh/expn.yo, Doc/Zsh/options.yo,
	Src/glob.c, Src/hist.c, Src/options.c, Src/subst.c, Src/zsh.h,
	Test/E01options.ztst: add HIST_SUBST_PATTERN option, make
	${.../#%...} anchor at both ends.

2006-11-01  Clint Adams  <>

	* 22940: R. Ramkumar: Completion/Unix/Command/_mkdir:
	completion for mkdir.

	* users/9483: Sir Raorn(?): Completion/Unix/Command/_ri:
	completion for ri (ruby documentation viewer).

2006-10-27  Peter Stephenson  <>

	* 22924: Src/Zle/complist.c, Src/Zle/compresult.c,
	Src/Zle/zle_main.c, Src/Zle/zle_utils.c: fix a couple more
	metafy_line()/unmetafy_line() problems.

	* 22921: Src/compresult.c: obscure crash reveals
	hasbrpsfx() can be called with line unmetafied.

2006-10-30  Peter Stephenson  <>

	* 22913: Doc/Zsh/params.yo, Src/jobs.c: set $! after a "bg", too.

2006-10-27  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: completion
	of jobs selected from a jobview (e.g. after p4 fix -d -c <change>)
	was broken.

2006-10-27  Clint Adams  <>

	* 22914: Completion/Unix/Command/_cdrecord: add wodim to compdef

2006-10-25  Peter Stephenson  <>

	* 22911: Src/Zle/zle_tricky.c: need fix from 22877 here, too.

	* arno: Completion/Unix/Command/{_getmail,_yafc,.distfiles}:
	two new completions.

	* unposted: Completion/Debian/Command/.distfiles,
	Completion/Unix/Type/.distfiles, Doc/.cvsignore,
	Functions/Zle/.distfiles: various files missing from
	the distribution.

2006-10-23  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: the final option
	changes for the imminent 2.6.9 release.

2006-10-20  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/ use plain
	mode for getting completino lists.

2006-10-23  Clint Adams  <>

	* 22896: Src/Zle/complete.mdd: rename Mandrake to

2006-10-20  Clint Adams  <>

	* 22888: Completion/Unix/Command/_tardy: completion for

2006-10-19  Peter Stephenson  <>

	* unposted: Src/utils.c: EOF in ur-22885 should be WEOF.

	* unposted: Completion/Unix/Command/ more places
	where we complete priorities and contexts.

	* quoted in 22885: Src/utils.c: 22544 introduced problems
	with multibyte tokenized strings.

2006-10-17  Peter Stephenson  <>

	* unposted, c.f. 22833: rename Completion/Mandrake and
	all its works to Completion/Mandriva.

2006-10-16  Peter Stephenson  <>

	* 22877: Src/Zle/compctl.c: string quoting used QT_NONE
	instead of QT_BACKSLASH.

2006-10-16  Geoff Wing  <>

	* unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo:
	mirror site is being decommissioned.  Remove from lists

2006-10-15  Barton E. Schaefer  <>

	* unposted: Functions/Misc/colors: add several comments about
	other ANSI terminal attributes, cribbed from ECMA-48.

	* unposted: Functions/Zle/keymap+widget: another example.

	* users/10885: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list,
	Src/Zle/zle_utils.c: add widgets auto-suffix-remove and
	auto-suffix-retain for user-defined suffix control.

2006-10-15  Peter Stephenson  <>

	* 22874: Functions/Misc/run-help: unquoting wasn't consistent.

2006-10-14  Clint Adams  <>

	* 22875: Completion/Debian/Command/_a2utils: Emmanuel Bouthenot,
	tweaked: completion for a2ensite, a2dissite, a2enmod, a2dismod.

2006-10-13  Peter Stephenson  <>

	* 22873: Larry P. Shrof: Doc/Zsh/expn.yo: typo.

2006-10-10  Peter Stephenson  <>

	* 22860: Completion/Unix/Command/_tar: allow - before first
	argument of tar.

	* 22859: Completion/Base/Utility/_arguments: improved to
	handle all descriptions for zsh configure and GNU tar.

2006-10-10  Peter Stephenson  <>

	* 22858: Completion/Base/Utility/_arguments: options generated
	from --help text can now be documented.

	* 22851: arno: Completion/Unix/Command/_init_d: "-" can occur
	in script names.

	* 22854: Doc/Zsh/contrib.yo, Functions/Zle/replace-string,
	Functions/Zle/replace-string-again: separate out back end
	as separate widget to repeat replacement.

	* 22853: Src/utils.c: unquoted ^ at end of bindkey string
	treated literally.

	* 22852: Doc/Zsh/compsys.yo: finally document effect of 22191
	(users style overrides use of userdirs).

2006-10-07  Clint Adams  <>

	* 22835: Completion/Unix/Command/_pon: tidy up pon bit
	and add poff completion.

2006-10-07  Andrey Borzenkov <>

	* 22831: Src/Zle/comp.h, Src/Zle/compresult.c, Src/Zle/computil.c:
	make CM_SPACE definition global and use it consistently in
	compresults and compdescribe to lay out matches

	* 22839: Completion/Unix/Command/_texinfo: as pointed by
	Vincent Lefevre, info accepts file names as first argument

2006-10-06  Peter Stephenson  <>

	* 22820: Src/Zle/compresult.c: no, users/10791 wasn't right
	and now I'm bored so this will have to do.

	* users/10791: Src/Zle/compresult.c: accumulated completions
	on single line could cause border disputes resulting in
	skirmishes with cursor position.

2006-10-05  Peter Stephenson  <>

	* 22819: Doc/Zsh/compwid.yo, Src/builtin.c, Src/subst.c,
	Src/text.c, Src/utils.c, Src/zsh.h, Src/Zle/compcore.c,
	Src/Zle/compctl.c, rc/Zle/complete.c, Src/Zle/computil.c,
	Src/Zle/zle_tricky.c: rationalise internal quotation,
	upgrade completion use of quotation to start handling $'...'
	(still incomplete), fix bug on completion with active

2006-10-05  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: improved
	message when not completing after "p4 clients".

	* 22818: Doc/Zsh/params.yo: delimiters in subscript flags
	are like those in parameter substitution.

2006-10-03  Clint Adams  <>

	* 22816: Joerg Sommer: Completion/Unix/Command/_pon:
	completion for pon.

	* 22815: Joerg Sommer: Completion/Debian/Command/_invoke-rc.d:
	completion for invoke-rc.d.

2006-10-03  Clint Adams  <>

	* 22814: Completion/X/Command/_mplayer: add .mp4 and .flv
	to media file extension list.

	* 22812: R. Ramkumar: Completion/Unix/Command/_bittorrent,
	Completion/Unix/Command/_rsync, Completion/Unix/Command/_ssh,
	Completion/Unix/Command/_wget: utilize _bind_addresses in
	existing completion functions.

	* 22811: R. Ramkumar: Completion/Unix/Type/_bind_addresses:
	helper function to give local IP addresses to which a program
	might bind a socket.

	* 22810: Completion/Unix/Command/_gpg: fix malformed
	--encrypt-to line.

	* 22808: Completion/Debian/Command/_dchroot,
	Completion/Debian/Command/_dchroot-dsa: handle internationalized
	output and choices within brackets.

2006-10-02  Peter Stephenson  <>

	* unposted: INSTALL: correct opening remarks.

	* 22804: Mikael Magnusson: Functions/Zle/narrow-to-region:
	allow zero-length ranges.

2006-10-01  Clint Adams  <>

	* 22803: Roger Leigh: Completion/Debian/Command/_dchroot,
	Completion/Debian/Command/_schroot: updates for
	dchroot and schroot completion, and new completion
	for dchroot-dsa.

2006-09-30  Clint Adams  <>

	* 22800: Completion/Linux/Type/_fuse_arguments,
	put quotes around "$@".

	* 22799: R. Ramkumar: Completion/Linux/Command/_fusermount:
	change _fusermount to use _fuse_values and _canonical_paths.

	* 22798: R. Ramkumar: Completion/Unix/Command/_bittorrent:
	cleanup and fixes.

	* 22797: R. Ramkumar: Completion/Linux/Type/_fuse_arguments,
	Completion/Linux/Type/_fuse_values: generic FUSE completion
	support functions.

	* 22796: R. Ramkumar: Completion/Unix/Command/_subversion:
	fix misspelling of IPREFIX.

	* 22795: R. Ramkumar: Completion/Unix/Type/_urls:
	handle https urls.

	* 22794: R. Ramkumar: Completion/Linux/Command/_acpitool,
	Completion/Linux/Type/_wakeup_capable_devices: completion for

2006-09-30  Andrey Borzenkov <>

	* unposted: Src/Zle/compmatch.c: fix thinko in 22787 that changed
	semantic of pattern matching in join_strs

2006-09-29  Vin Shelton  <>

       * 22789: Src/init.c: Source zshenv even if non-interactive.

2006-09-29  Andrey Borzenkov <>

	* 22787: Srz/Zsh/compmatch.c: change calling convention of
	pattern_match to not depend on current implementation that works
	for single byte characters only, thus making it more easy to
	change it later.

2006-09-28  Peter Stephenson  <>

	* 22783: Frank Terbeck: Src/init.c: don't load zsh/newuser
	unless interactive.

2006-09-27  Peter Stephenson  <>

	* 22780: Completion/Base/Utility/_arguments:
	Completion/Unix/Command/, Doc/Zsh/compsys.yo,
	Src/Zle/computil.c: _arguments -n sets NORMARG to index of first
	non-option argument (via comparguments -n); use this in

	* unposted: Completion/Unix/Command/ replace buggy
	search message by completion of projects and contexts.

	* 22778: Completion/Unix/Command/_locate: completion for
	various versions of the locate command.

2006-09-23  Peter Stephenson  <>

	* 22765: Src/subst.c, Src/utils.c, Src/ztype.h,
	Src/Zle/zle_main.c: rename some MB_ macros to WC_ since they
	act on wchar_t's.

2006-09-23  Andrey Borzenkov <>

	* unposted: Test/A06assign.ztst, Test/B03print.ztst,
	Test/E01options.ztst, Test/ztst.zsh: as pointed by Bart in 22759,
	locale is already taken care of in test harness; revert 22758
	and add LC_NUMERIC and LC_MESSAGES to list of locale variables to set.

	* 22761: Src/subst.c, Src/Zle/computil.c: make compdescribe
	to consistently use character width when laying out matches.
	This supercedes fix in 22729.

2006-09-22  Andrey Borzenkov <>

	* 22758: Test/A06assign.ztst, Test/B03print.ztst,
	Test/E01options.ztst: force locale to C to avoid test failures
	due to localized output

2006-09-21  Peter Stephenson  <>

	* 22752: + Roman Neuhauser: Doc/Zsh/compsys.yo,
	Doc/Zsh/compwid.yo, Doc/Zsh/roadmap.yo: improved introduction
	to completion.

2006-09-21  Peter Stephenson  <>

	* 22739: arno: Functions/Prompt/promptinit: change test
	for prompt -c to test for theme.

	* 22753: Src/prompt.c, Src/utils.c, Src/Zle/complist.c:
	minor bugs with using characters spotted from warnings on

2006-09-20  Peter Stephenson  <>

	* users/10748: Doc/Zsh/compsys.yo: improve example, make one
	feature clearer.

	* unposted: Completion/Unix/Command/_perforce: add some
	handling for unsupported commands; add p4d completion.

	* 22743: Doc/Zsh/builtis.yo, Src/builtin.c: document the sh
	"set - [args]" -> "set -xv [-- args]" hack and limit it to
	non-native emulation.

	* 22742: Doc/Zsh/expn.yo, Src/subst.c, Src/zsh.h: padding once
	again defaults to character lengths, but (m) flag turns on
	character widths for multibyte characters.

2006-09-17  Clint Adams  <>

	* 22728, 22734: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c,
	Src/Modules/parameter.mdd, Src/exec.c, Src/zsh.h: $functrace
	parameter for function backtraces.

2006-09-17  Peter Stephenson  <>

	* 22729: Src/Zle/computil.c: truncation of description didn't
	handle multibyte characters.

	* 22727: Src/init.c, Src/Zle/zle_main.c: "use 'exit' to exit"
	was suboptimal.

2006-09-16  Andrey Borzenkov <>

	* 22721: add pdf target

2006-09-15  Clint Adams  <>

	* 22719: check for RLIMIT_NICE and
	RTLIMIT_RTPRIO so 22718 will work.

	* 22718: Src/Builtins/rlimits.c: use ulimit -e and -r
	for RLIMIT_NICE and RLIMIT_RTPRIO respectively.

2006-09-15  Peter Stephenson  <>

	* zsh-users/10720: arno + pws: Functions/Misc/checkmail:
	bad recursive argument handling and need to be safer about

	* 22715: Src/exec.c: AUTOCONTINUE option never worked.

	* 22713: Src/Zle/zle_tricky.c: word end in math completion context
	was screwy.

	* 22710: README, Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c,
	Src/utils.c: assume width 1 for control characters; don't
	crash if width of repeated padding string is 0.

2006-09-14  Peter Stephenson  <>

	* 22692: Doc/Zsh/expn.yo: additional notes on a couple of
	parameter expansion features.

2006-09-13  Peter Stephenson  <>

	* 22705: Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c, Src/utils.c,
	Src/zsh.h, Test/D04parameter.ztst, Test/D07multibyte.ztst:
	make ${(l...)...} and ${(r...)...} padding handle multibyte
	characters including those wider than 1 unit.

2006-09-13  Peter Stephenson  <>

	* 22704: Completion/Unix/Command/ new completion.

2006-09-12  Peter Stephenson  <>

	* 22689: Src/subst.c, Test/D04parameter.ztst: untokenize
	strings for substitution in cases like
	${${~:-*}//(#m)*/$MATCH=$MATCH}.  The pattern code tried
	to metafy the tokens, which caused chaos.

2006-09-11  Peter Stephenson  <>

	* unposted: Mikael Magnusson: Doc/Zsh/mod_sched.yo: typos.

2006-09-11  Peter Stephenson  <>

	* 22686: Src/params.c: unset array if assigning numeric
	parameter to it.

2006-09-10  Peter Stephenson  <>

	* 22685: Src/builtin.c: printf "%d" \'X should handle multibyte
	characters X.

	* 22684: Src/builtin.c, Src/math.c, Src/params.c, Src/subst.c,
	Src/utils.c, Src/zsh.h, Src/Zle/zle_hist.c, Src/Zle/zle_hist.c,
	Src/Zle/zle_misc.c: rewrite getkeystring() to have something
	approaching an API; printf strings expand octal escapes even
	without a leading zero.

	* 22676, adapted as in 22678: README, Doc/Zsh/mod_sched.yo,
	Src/init.c, Src/subst.c, Src/utils.c, Src/zsh.h,
	Src/Builtins/sched.c, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c:
	make sched events work when waiting for input in zle; allow sched
	to handle the trashzle(); improve the interface to sched both
	internally and externally.

	* 22681:, Src/Modules/system.mdd: pass all
	files defining errnos to awk so that it finds them all on
	systems where the list of definitions is fragmented.

2006-09-07  Peter Stephenson  <>

	* 22672: arno: Functions/Prompts/prompt_clint_setup,
	Functions/Prompts/prompt_zefram_setup: broken when KSH_ARRAYS
	is on.

2006-08-30  Peter Stephenson  <>

	* 22660 [slightly tweaked]: Src/Zle/compctl.c: unmetafy
	directory prefix for passing to opendir() and stat().

2006-08-22  Clint Adams  <>

	* 22657: Completion/Unix/Command/_tla: update for tla 1.3.5.

2006-08-22  Peter Stephenson  <>

	* 22656: Src/options.c (slightly tweaked): improve handling of
	monitor option a bit.

2006-08-21  Peter Stephenson  <>

	* zsh-users/10634: Completion/compinstall: attempt to fix up
	relative paths of completion configuration file.

2006-08-21  Clint Adams  <>

	* 22655: Ralph Amissah: Completion/Unix/Command/_sisu:
	completion for sisu.

2006-08-21  Peter Stephenson  <>

	* unposted: Doc/Zsh/compsys.yo: extra documentation arising out of
	discoveries by Bart in zsh-users/10626 and 22653.

2006-08-20  Peter Stephenson  <>

	* 22651: Src/Zle/complist.c, Src/Zle/zle_tricky.c: failed to
	unmetafy bytes for output.

	* 22650: Src/Modules/zutil.c: when deleting styles, the pointer
	to the last style can become invalid.

	* 22643: Src/Zle/zle_tricky.c: completion in math context was
	broken by searching for multibyte word characters.

	* 22638: Src/Modules/zutil.c: deleting styles in contexts didn't
	remove the style itself if it was the last context.

2006-08-17  Peter Stephenson  <>

	* 22613:, Doc/Zsh/mod_datetime.yo,
	Src/Modules/datetime.c: add strftime -r to use strptime()
	if available.

	* 22612: Src/Zle/complist.c: comment the static variables.

2006-08-16  Peter Stephenson  <>

	* 22610: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c:
	allow zstyle -L with arguments.

2006-08-15  Peter Stephenson  <>

	* 22611: Src/Zle/complist.c: bug when scrolling completion
	list with line wider than screen.

2006-08-15  Clint Adams  <>

	* 22609: Completion/Unix/Command/_baz: complete for
	switch subcommand.

2006-08-14  Peter Stephenson  <>

	* 22608: Doc/Zsh/contrib.yo: improvements on 22606.

	* 22606: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context,
	Functions/Zle/match-words-by-style, Functions/Zle/.distfiles: new
	word-context style for word matching, remove out-of-date handling
	for bug.

	* 22605: Src/Zle/complist.c: bug in 22597 noticed by Bart
	when not printing.

2006-08-13  Peter Stephenson  <>

	* 22601: Completion/Unix/Type/_list_files: need to unquote
	characters quoted by the completion mechanism.

2006-08-13  Clint Adams  <>

	* unposted: Functions/Zle/.distfiles,
	Completion/Unix/Command/.distfiles: update distributed files.

2006-08-11  Peter Stephenson  <>

	* 22599: Src/utils.c, Src/zsh.h, Src/Zle/complist.c,
	Src/Zle/compresult.c, Src/Zle/zle_tricky.c: use wide character
	widths in completion.

2006-08-10  Peter Stephenson  <>

	* unposted: Doc/Zsh/compsys.yo: trivial typo.

	* 22597: Src/Zle/complist.c, Src/Zle/zle_tricky.c: back off
	two hunks of 22594 which appeared to both unnecessary and

2006-08-10  Barton E. Schaefer  <>

	* 22595: Src/Zle/complist.c: paranoid bounds-checking on some
	loop indices.

2006-08-09  Peter Stephenson  <>

	* unposted: Functions/Example/pushd: maintain pushdignoredups if
	it was 	set on entry to the function.  I have a weird sense of
	deja vu about this...

	* 22594: Src/Zle/complist.c, Src/Zle/compresult.c,
	Src/Zle/zle_tricky.c: Attempt to fix some off-by-one errors
	counting lines when a completion list exactly fits the
	display width.

2006-08-09  Peter Stephenson  <>

	* 22593: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler: add
	handle-nonexistent style.

2006-08-08  Peter Stephenson  <>

	* 22592: Functions/TCP/tcp_send, Doc/Zsh/tcpsys.yo: add tcp_send
	-c to behave in a catlike fashion.

2006-08-07  Peter Stephenson  <>

	* unposted: Src/Zle/complist.c: another bad declaration.

	* 22589: Src/Zle/complist.c: bug in menu selection when displaying
	long lines.

2006-08-06  Clint Adams  <>

	* 22588: Completion/Unix/Command/_rake: handle targets
	with colons in their names.

2006-08-04  Peter Stephenson  <>

	* 22587: INSTALL, MACHINES, NEWS< README: update notes on
	multibyte support and add references to news.

	* 22586: Src/parse.c, Src/utils.c: minor warnings spotted
	on Cygwin: unnecessary static declaration in parse.c, typo in
	set_widearray, also comments on other warnings that are harder
	to avoid.

	* 22585: makepro.awk, Src/utils.c: zsh.exports was missing
	VA_ALIST declarations and some multibyte-related stuff.

	* 22584: Frank Terbeck: Completion/Unix/Type/_tar_archive: even
	GNU tar should complete uncompressed .tar files.

	* 22582: Test for functions needed for multibyte
	mode instead of basing MULTIBYTE_SUPPORT on marginally relevant
	preprocessor definition.  Installation docs still need changing.

	* 22583: Peter A. Castro: Src/Modules/mathfunc.c: Cygwin erand48()
	apparently needs initialisation.

2006-08-03  Peter Stephenson  <>

	* 22581: Src/prompt.c, Src/utils.c, Src/Zle/complist.c,
	Src/Zle/zle.h, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c:
	rationalise multibyte conversions to and from wide characters
	to use restartable form.

	* unposted: Completion/Unix/Command/_subversion: import
	directory is optional, so complete URLs also on first argument.

2006-08-02  Peter Stephenson  <>

	* 22579: Completion/Unix/Command/_perldoc,
	Completion/Unix/Type/_perl_modules: find .pod files in perl
	include path for documentation.

	* users/10570: Completion/Unix/Command/_subversion: handle "svn
	import" better.

2006-08-02  Peter Stephenson  <>

	* 22578: README, Doc/Zsh/params.yo, Src/params.c: ensure
	HISTCHARS/histchars never contains non-ASCII characters.

	* unposted: Functions/Zle/history-beginning-search-menu,
	Doc/Zsh/params.yo: yet more tweaks I'm too embarrassed to post:
	^ also needs quoting; clear display on first non-digit character;
	stray / appeared in substitution.

2006-08-01  Peter Stephenson  <>

	* 22575: Src/utils.c, Src/ztype.h, Src/Zle/compresult.c,
	Src/Zle/zle.h, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c:
	multibyte fixes for blashquote() and getzlequery() and
	remove some aliases.

	* 22574: Functions/Zle/history-beginning-search-menu,
	Doc/Zsh/params.yo: ~ also needs quoting and we have to do
	it even if space isn't active.

2006-08-01  Peter Stephenson  <>

	* 22573: Functions/Zle/history-beginning-search-menu,
	Doc/Zsh/params.yo: smooth the interface to the widget and
	document how to quote metacharacters for reverse array

	* 22572: Src/pattern.c, Test/D04parameter.ztst: use of (#m)
	was broken with pure strings.

	* users/10564: Completion/Unix/Command/_gpg: use appropriate
	key ring arguments to search key rings.

2006-07-30  Barton E. Schaefer  <>

	* unposted (see users/10559): Functions/Zle/keymap+widget: a
	technique for overriding ZLE widgets only within a selected

2006-07-30  Peter Stephenson  <>

	* 22565: Src/compcore.c: Fix bug with menu completion after failed
	accept-and-menu-complete, perhaps.

	* 22562: Src/glob.c, Test/D07multibyte.ztst: make ${...#...} etc.
	understand multibyte characters.

2006-07-29  Barton E. Schaefer  <>

	* 22561: Functions/Zle/incremental-complete-word: fix display bug
	introduced roughly five years ago when _main_complete was changed
	to remove the leading underscore from $_lastcomp[completer].  Add
	some other commentary.

2006-07-28  Peter Stephenson  <>

	* 22560: Functions/Zle/history-beginning-search-menu:
	tweak (= hack) to clear menu after use.

	* 22559: Doc/Zsh/contrib.yo,
	Functions/Zle/history-beginning-search-menu: new Zle function.

2006-07-26  Peter Stephenson  <>

	* 22558: Src/math.c: declaration after statement.

2006-07-25  Peter Stephenson  <>

	* 22557: Doc/Zsh/options.yo, Misc/globtests, Src/options.c,
	Src/pattern.c, Test/D02glob.ztst, Test/D07multibyte.ztst:
	Turn on multibyte option by default for MULTIBYTE_SUPPORT and fix
	tests and patterns.

	* unposted: Src/pattern.c, Src/utils.c: minor typos in
	22556 found when MULTIBYTE_SUPPORT is not defined.

2006-07-24  Peter Stephenson  <>

	* 22556: Doc/Zsh/builtins.yo, Functions/Zle/insert-composed-char,
	Src/builtin.c, Src/pattern.c, Src/subst.c, Src/utils.c, Src/zsh.h,
	Src/ztype.h, Src/Zle/zle.h, Src/Zle/zle_main.c,
	Test/D04parameter.ztst, Test/D07multibyte.ztst: Multibyte
	separators and delimiters.

2006-07-18  Clint Adams  <>

	* 22554: Jesse Weinstein: Completion/Unix/Command/_vorbiscomment:
	completion for vorbiscomment.

2006-07-18  Peter Stephenson  <>

	* unposted: **/.distfiles: update distributed files.

2006-07-18  Clint Adams  <>

	* 22553: Jesse Weinstein: Completion/Unix/Command/_metaflac:
	completion for metaflac.

2006-07-15  Clint Adams  <>

	* 22552: Completion/Unix/Command/_tla: update for tla 1.3.4.

2006-07-12  Peter Stephenson  <>

	* 22550: Test/A04redirect.ztst, Test/ztst.zsh: put "exec" tests
	in subshells and allow substitution on test output to occur
	after the test.

2006-07-12  Clint Adams  <>

	* 22549: Completion/Unix/Command/_subversion:
	improve svn propset completion slightly.

2006-07-11  Peter Stephenson  <>

	* 22546: Src/parse.c, Test/A04redirect.ztst,
	Test/D07multibyte.ztst: fix bug with {myfd}>... redirection
	syntax introduced in 22544 and tweak tests.

2006-07-10  Peter Stephenson  <>

	* 22544: README, Doc/Zsh/options.yo, Src/builtin.c, Src/glob.c,
	Src/lex.c, Src/math.c, Src/module.c, Src/options.c, Src/params.c,
	Src/parse.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/ztype.h,
	Src/Zle/compcore.c, Src/Zle/zle_tricky.c, Test/D07multibyte.ztst:
	Improve use of ztype tests for multibyte characters.  Add
	POSIX_IDENTIFIERS option to control allowability of multibyte
	alphanumeric characters in parameter and module names.

2006-07-09  Clint Adams  <>

	* 22543: Completion/Unix/Command/_cssh: completion for

2006-07-09  Peter Stephenson  <>

	* 22542: Src/parse.c, Src/prompt.c, Src/zsh.h: 22516 was
	overentusiastic about popping the command stack; turn cmdpop()
	and cmdpush() into functions for better maintainability.

2006-07-03  Peter Stephenson  <>

	* 22537: rm -rf autom4te.cache on distclean.

2006-06-30  Peter Stephenson  <>

	* 22529: Doc/Zsh/arith.yo, Src/math.c, Src/utils.c,
	Test/D07multibyte.ztst: multibyte conversion in math expressions.

2006-06-28  Peter Stephenson  <>

	* 22526: Doc/Zsh/expn.yo, Src/subst.c: enhance${(#)...} to output

	* 22525: Completion/compinit, Src/hist.c, Src/jobs.c,
	Src/pattern.c, Src/subst.c, Src/utils.c, Src/zsh.h,
	Test/D07multibyte.ztst: lengths and cases of multibyte strings
	in parameters and history.

2006-06-27  Peter Stephenson  <>

	* 22524: Src/params.c, Test/D07multibyte.ztst: searchable
	subscripts with multibyte characters.

	* 22522: Src/utils.c: infinite loop with invalid character
	in mb_metastrlen().

2006-06-26  Peter Stephenson  <>

	* 22519: Test/D07multibyte.ztst: initial multibyte parameter tests.

2006-06-26  Peter Stephenson  <>

	* 22518: Src/params.c, Src/utils,c, Src/zsh.h,
	Test/B02typeset.ztst: Initial go at making parameter subscripts
	use multibyte characters.

	* 22516: Src/parse.c: error evaluating "func()" didn't pop
	the command stack.

	* 22501: README: missed this bit.

2006-06-24  Clint Adams  <>

	* unposted: Completion/Unix/Command/_tar: autoload
	is-at-least in _tar if using GNU tar.

	* 22513: Completion/Unix/Command/_tar: only do that for
	GNU tar >= 1.14.91.

	* 22511: Completion/Unix/Command/_tar,
	Completion/Unix/Type/_tar_archive: complete compressed archive
	filenames for GNU tar even when a compression option is not

2006-06-19  Peter Stephenson  <>

	* 22501: reduce default maximum function depth
	to 1000.

2006-06-17  Barton E. Schaefer  <>

	* 22492: Functions/Zle/url-quote-magic: properly detect when a new
	word (in the zsh syntax sense) has been started, and thus avoid
	improperly quoting a metacharacter that is the first character of
	a new word.

2006-06-16  Peter Stephenson  <>

	* unposted: Src/exec.c: remove TODO in exec.c redundant
	since 22474.

2006-06-11  Clint Adams  <>

	* 22486: Completion/Debian/Command/_dak: completion for
	dak (the debian-archive-kit).

2006-06-09  Clint Adams  <>

	* users/10282: Oliver Kiddle: Completion/Unix/Command/_man:
	complete associated sections with man page names.

2006-06-08  Clint Adams  <>

	* unposted: Completion/Debian/Command/_madison: complete the
	same way for rmadison.

2006-06-05  Peter Stephenson  <>

	* 22484:, Src/makepro.awk, Src/system.h, Src/utils.c:
	support varargs.h in addition to stdarg.h.

	* 22483: Src/params.c, Src/Modules/system.c,
	Doc/Zsh/mod_system.yo: add $sysparams to zsh/system.

2006-06-02  Clint Adams  <>

	* 22481: Oliver Kiddle: Completion/Unix/Command/_subversion:
	complete svn diff and resolved subcommands.

2006-06-02  Peter Stephenson  <>

	* 22480: Functions/Misc/zmathfuncdef: autoload functions from
	zsh/mathfunc as needed.

2006-05-31  Clint Adams  <>

	* 22479: Completion/Debian/Command/_lintian: _arguments -s.

2006-05-30  Wayne Davison  <>

	* 22476: Src/pattern.c: silenced some compiler warnings and
	improved the multibyte code a little.

2006-05-30  Peter Stephenson  <>

	* 22474: most source files touched: use stdarg.h to implement
	escape handling in error messages properly.

2006-05-30  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: some option changes
	for the upcoming 2.6.9 release.

2006-05-30  Peter Stephenson  <>

	* 22473: Src/exec.c: modify zsh-users/10343 to print interpreter
	using nice characters.  Still not very satisfactory.

2006-05-29  Peter Stephenson  <>

	* 22470: incorporate extensions to errno.h
	searching found by <> trying to maximise
	matches and minimise the risk of finding the wrong file.

	* zsh-users/10343: Src/exec.c: make bad #! interpreters print a
	more informative message.

2006-05-28  Clint Adams  <>

	* 22469: R. Ramkumar: Completion/Unix/Command/_mount: use

	* 22468: R. Ramkumar: Completion/Unix/Command/_mount: fixes and

	* 22467: R. Ramkumar: Completion/Unix/Command/_canonical_paths:
	utility function which completes all paths given to it, and also
	tries to offer completions which point to the same file as one of
	the paths given.

2006-05-26  Clint Adams  <>

	* 22466: Src/ cope with autoconf 2.60 config.status

	* 22465: Config/ add datarootdir for substitution
	in order to cope with change in autoconf CVS.

2006-05-26  Peter Stephenson  <>

	* 22464: Src/Zle/zle_main.c: an error in prompt substitution could
	cause bad recursion karma.

2006-05-25  Wayne Davison  <>

	* 22454, Hideki ONO: Completion/Unix/Command/_ls: added support
	for *BSD's version of ls.

2006-05-25  Clint Adams  <>

	* 22457, R. Ramkumar: Completion/Unix/Command/_mpc:
	fix buggy quoting of zstyle contexts.

	* 22456, R. Ramkumar: Completion/Unix/Command/_mpc:
	update for mpc 0.11.2.

	* 22455, R. Ramkumar: Completion/Linux/Command/_valgrind:
	update for valgrind 3.1.1.

2006-05-22  Peter Stephenson  <>

	* 22451: Doc/Zsh/expn.yo: cross-reference ${^spec} in brace

2006-05-20  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_bzr: added a bunch of missing
	options and a couple more missing subcommands.  Also made all the
	long-name options that take args allow a '=' to be used to specify
	the value.

2006-05-20  Clint Adams  <>

	* 22450: Completion/Unix/Command/_tcptraceroute: completion for

	* 22449: Completion/Unix/Command/_tracepath: completion for
	tracepath and tracepath6.

2006-05-19  Peter Stephenson  <>

	* 22448: Src/Zle/zle_params.c: fix typo in get_rbuffer() that
	could cause crash examining $RBUFFER in completion code.

2006-05-18  Clint Adams  <>

	* 22446: Completion/Debian/Command/_bts: acknowledge that
	tags is an alias of tag.

2006-05-12  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_bzr: added a bunch of
	missing subcommands and unified mv/move/rename.

2006-05-12  Peter Stephenson  <>

	* unposted: Doc/Zsh/params.yo: improve documentation for $$
	and $PPID.

	* unposted: Doc/Zsh/compsys.yo: document that _list_files
	uses the builtin stat, c.f. 22440.

	* 22440: Completion/Unix/Type/_list_files: loaded zsh/stat
	if not needed, which screwed up external stat programmes.

2006-05-05  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_bzr: fixed the completion
	of "bzr upgrade" and the subcommands that lookup the parent
	URL.  Also added subcommands "checkout" and "update".

2006-05-01  Clint Adams  <>

	* 22436: Completion/Unix/Command/_pax: completion for
	OpenBSD pax.

2006-04-30  Clint Adams  <>

	* 22435: Completion/Unix/Command/_comm: completion for
	GNU comm.

2006-04-28  Clint Adams  <>

	* 22434,
	Completion/Linux/Command/_vserver: completion for vserver.

2006-04-26  Clint Adams  <>

	* 22433, R. Ramkumar: Completion/Unix/Command/_mpc:
	add completion for --no-status option.

2006-04-25  Peter Stephenson  <>

	* 22432: Src/pattern.c: bug with backtracking over repeated
	single parameters.

	* 22431: Src/Zle/zle_main.c, Src/Zle/zle_thingy.c,
	Src/Zle/zle_vi.c: expand 22427 to set WIDGET etc. more
	consistently when executing functions.

	* 22429: Src/pattern.c: bug with pure string matching
	introduced by 22408.

	* 22427: Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c: zle <widget> -w
	sets WIDGET etc. to reflect <widget>.

2006-04-24  Peter Stephenson  <>

	* zsh-users/10172: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list,
	Src/Zle/zle_keymap.c: read-command reads a key sequence as
	in normal zle operation but sets REPLY to the result instead
	of executing it.

2006-04-23  Peter Stephenson  <>

	* unposted: Functions/Misc/zmathfuncdef: improve recognition
	of parameter expansions.

2006-04-23  Clint Adams  <>

	* Francisco Borges: users/10162: updated _aptitude.

	* 22425: Completion/Unix/Command/_surfraw: update for
	new surfraw debsec elvi from Micah Anderson.

2006-04-19  Peter Stephenson  <>

	* unposted: Doc/Zsh/contrib.yo: documentation for 22417.

	* unposted: Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser:
	add some styles for commands.

	* 22416, tweaked: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo,
	Functions/Misc/.distfiles, Functions/Misc/zcalc,
	Functions/Misc/zmathfuncdef, Src/builtin.c, Src/exec.c,
	Src/module,c, Src/math.c, Src/module.c, Src/zsh.h,
	Test/C04funcdef.ztst: user-defined math functions via
	shell functions.

2006-04-14  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_raggle: update for version

2006-04-13  Clint Adams  <>

	* 22418: Completion/Unix/Command/_env,
	Completion/Zsh/Command/_precommand: completion for
	GNU env.

2006-04-11  Peter Stephenson  <>

	* 22417: Functions/MIME/zsh-mime-handler: also
	allow autocd to work and add *(/) to the default

2006-04-11  Wayne Davison  <>

	* 22415: Doc/ changed how we call install-info so that
	we work with Debian's (broken) version as well as GNU's version.

2006-04-09  Peter Stephenson  <>

	* 22409: Src/pattern.c: fix compilation with --disable-multibyte.

	* 22408: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/options.c,
	Src/pattern.c, Src/utils.c, Src/zsh.h, Src/Zle/zle.h: add
	MULTIBYTE option, (#u) and (#U) globbing flags, and support
	for multibyte characters in patterns.

	* 22407: Functions/MIME/zsh-mime-handler: and it needs NULL_GLOB,

2006-04-06  Peter Stephenson  <>

	* 22405: Functions/MIME/zsh-mime-handler: pattern matching
	in 22394 needed tweaking.

2006-04-05  Clint Adams  <>

	* 22404: Completion/Unix/Command/_cowsay:
	completion for cowsay.

2006-04-05  Peter Stephenson  <>

	* 22394, R. Ramkumar, plus doc as 22043:
	Functions/MIME/zsh-mime-handler, Doc/Zsh/contrib.yo:
	execute-as-is style for MIME suffixes.

	* 22393, R. Ramkumar, plus doc, 22402:
	Completion/Unix/Type/_hosts, Doc/Zsh/compsys.yo: use-ip and
	known-hosts-files styles.

	* 22375: Doc/Zsh/expn.yo: somehow the doc got missed out.

2006-04-04  Clint Adams  <>

	* 22392: Completion/Linux/Command/_analyseplugin:
	completion for ladspa's analyseplugin.

2006-03-29  Peter Stephenson  <>

	* users/10107: Doc/Zsh/jobs.yo: SIGQUIT is ignored by the shell.

2006-03-28  Wayne Davison  <>

	* 22390: Completion/Unix/Command/_bzr: an improved version
	that completes options and context-sensitive filenames.

2006-03-27  Wayne Davison  <>

	* SF bug #1262954: Src/jobs.c: fixed a compilation problem
	when HAVE_GETRUSAGE is defined but HAVE_WAIT3 is not.

2006-03-26  Peter Stephenson  <>

	* users/10087: Src/parse.c: "case foo in" didn't turn off
	aliases for "in", unlike "for" and "select".

2006-03-26  Clint Adams  <>

	* 22386: Completion/X/Command/_acroread: fix acroread
	version detection according to Bart's 22385.

2006-03-25  Wayne Davison  <>

	* unposted: Src/Zle/zle_thingy.c: fixed undefined function
	reference (call to zwarnname() should have been zwarnnam()).

2006-03-22  Peter Stephenson  <>

	* 22375 with tweak from Wayne, 22376: Doc/Zsh/expn.yo,
	Src/subst.c: ${(0)...} splits on null bytes.

2006-03-21  Peter Stephenson  <>

	* zsh-users/10047 : Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c,
	Functions/Zle/read_from_minibuffer: add and use -K option
	to select keymap for use with widget.

2006-03-19  Peter Stephenson  <>

	* 22638: MACHINES: compilation with cc on Irix 6.5.

2006-03-20  Clint Adams  <>

	* 22371, 22372: Src/Zle/zle.h, Src/Zle/zle_word.c: use
	only alphanumerics and underscores as word characters
	with vi bindings.

2006-03-20  Peter Stephenson  <>

	* 22360, 22365:, README, Config/,
	Doc/, Doc/META-FAQ.yo, Doc/zmacros.yo, Doc/zman.yo,
	Doc/zsh.yo, Doc/ztexi.yo, Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo,
	Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/files.yo,
	Doc/Zsh/func.yo, Doc/Zsh/index.yo, Doc/Zsh/mod_mathfunc.yo,
	Doc/Zsh/mod_zftp.yo, Doc/Zsh/mod_zselect.yo, Doc/Zsh/options.yo,
	Doc/Zsh/tcpsys.yo, Doc/Zsh/zftpsys.yo, Doc/Zsh/zle.yo: support
	version 2 of Yodl.

2006-03-17  Clint Adams  <>

	* 22364: Src/Builtins/rlimits.awk: add 'nice' and
	'rt_priority' rlimits (NICE and RTPRIO).

	* 22366: Src/Zle/zle_word.c: better handling for
	multibyte-character-containing words in vi widgets.

2006-03-16  Clint Adams  <>

	* 22349: Completion/X/Command/_nautilus: completion for

2006-03-13  Wayne Davison  <>

	* unposted: Src/Modules/zftp.c: got rid of a compiler warning
	and split two C statements that shouldn't have been on one line.

2006-03-13  Peter Stephenson  <>

	* users/10013: Util/helpfiles: fix use of zshall for generating.

2006-03-09  Wayne Davison  <>

	* users/10007: Francisco Borges: Doc/Zsh/options.yo: Added
	missing <D> for HIST_SAVE_BY_COPY.

	* 22335: Src/Zle/zle_thingy.c: fix some compiler warnings and
	ensure that zmod gets restored properly in bin_zle_call().

2006-03-08  Peter Stephenson  <>

	* 22337: Src/builtin.c: debugging code omitted from 22331.

2006-03-07  Wayne Davison  <>

	* 22301: Completion/Base/Completer/_expand: enable alises for the
	expansion of $(...) and `...`.

	* 22271 (updated): Src/subst.c, Src/linklist.c, Src/zsh.h: got rid
	of the mult_isarr global from subst.c by using the LinkList's new
	flag integer.

	* unposted: Src/linklist.c, Src/zsh.h: changed the previous-node
	pointer in a "struct linknode" from "last" to "prev".

	* 22331: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/hist.c,
	Src/init.c, Src/lex.c, Src/linklist.c, Src/module.c, Src/options.c,
	Src/params.c, Src/parse.c, Src/prompt.c, Src/signals.c, Src/subst.c,
	Src/utils.c, Src/zsh.h, Src/Modules/datetime.c,
	Src/Modules/langinfo.c, Src/Modules/mapfile.c,
	Src/Modules/parameter.c, Src/Modules/system.c, Src/Modules/termcap.c,
	Src/Modules/terminfo.c, Src/Modules/zftp.c, Src/Zle/compctl.c,
	Src/Zle/compctl.h, Src/Zle/complete.c, Src/Zle/compresult.c,
	Src/Zle/computil.c, Src/Zle/zle_hist.c, Src/Zle/zle_main.c,
	Src/Zle/zle_params.c, Src/Zle/zle_tricky.c, Src/Zle/zleparameter.c:
	Changed some structures to avoid gcc's type-punned warnings.

2006-03-07  Peter Stephenson  <>

	* 22328, modified: Completion/Unix/Type/_list_files,
	Completion/Unix/Type/_path_files, Doc/Zsh/compsys.yo,
	Doc/Zsh/compwid.yo, Src/Zle/comp.h, Src/Zle/compcore.c,
	Src/Zle/complete.c:  Option -o to compadd uses match
	strings rather than display strings from -d for sorting;
	_path_files uses _list_files to handle file-list style
	which allows long format file lists.

	* unposted: Config/ belatedly update version
	to 4.3.2-dev-1 to avoid clash with released version.

2006-03-06  Barton E. Schaefer  <>

	* 22321 plus tweak: Src/builtin.c, Src/mem.c, Src/params.c:
	optimize 22318 by stealing some ideas from Andrey Borzenkov.

2006-03-06  Peter Stephenson  <>

	* users/1097: Completion/Zsh/Type/_command_names,
	Doc/Zsh/compsys.yo: rehash style for external commands.

2006-03-03  Peter Stephenson  <>

	* 22318: Src/builtin.c: uniquifying special arrays was broken.

	* 22277: Test/C03traps.ztst: missed this.

2006-03-02  Peter Stephenson  <>

	* 22317: Src/builtins.c, Src/exec.c: exiting the shell from
	code forked from within a function doesn't maintain the
	exit status.

	* 22277, 22281 plus tweaks: Src/exec.c, Src/jobs.c, Src/signals.c,
	Test/C03traps.ztst: standardize behaviour of using wait builtin
	with trapped signals.

2006-03-02  Peter Stephenson  <>

	* unposted, but see 22307: turn all
	"test $foo = bar" into "test x$foo = xbar" for safety.

2006-03-01  Peter Stephenson  <>

	* unposted: MACHINES, README, Config/ information
	and version number for 4.3.2.

2006-03-01  Wayne Davison  <>

	* 22313: Src/utils.c: added the missing "mod_export" to
	 the declaration of makecommaspecial().

2006-02-28  Clint Adams  <>

	* 22309: Completion/Unix/Command/_surfraw: update for
	new surfraw debsec elvi.

2006-02-28  Peter Stephenson  <>

	* 22306: fix warning with unset variable
	in test.

	* unposted: zsh-4.3.1, finally.

	* unposted: Completion/Unix/Command/.distfiles: a couple
	of files missing.

	* unposted: Functions/MIME/zsh-mime-handler: typo.

	* unposted: README: doc formats were out of date.

	* 22305 (slightly tweaked): README,
	Completion/Unix/Type/_mailboxes,  Doc/Zsh/compsys.yo:  no default
	for pine-directory since that could cause recursive search mayhem.

2006-02-26  Clint Adams  <>

	* 22302, 22303: Completion/Debian/Command/_schroot:
	completion for schroot.

2006-02-24  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: added the
	options --copy-dirlinks, --no-H, and --no-hard-links.

2006-02-21  Clint Adams  <>

	* 22298: Completion/Unix/Command/_diffstat: completion
	for diffstat.

2006-02-20  Clint Adams  <>

	* unposted: update config.guess and config.sub to
	2005-08-03 and 2005-07-08, respectively.

	* unposted: Completion/Debian/Command/.distfiles: add

	* 22294: Completion/Unix/Command/_getconf: add GNU libc
	confstrings to getconf completion.

2006-02-20  Peter Stephenson  <>

	* unposted: 4.3.0-dev-5.

2006-02-20  Clint Adams  <>

	* 22289: Completion/Debian/Command/_linda: completion for

2006-02-19  Peter Stephenson  <>

	* 22285:
	Completion/Unix/Command/_imagemagick: handling of file arguments
	didn't work.
	Doc/Zsh/intro.yo: zshtcpsys and zshcontrib manual pages weren't
	Functions/MIME/pick-web-browser: add Firefox.
	Functions/MIME/zsh-mime-setup: take account of handler and flags
	styles when listing.

2006-02-19  Clint Adams  <>

	* 22284:, Src/glob.c, Src/hashtable.c, Src/init.c,
	Src/params.c, Src/system.h, Src/Modules/stat.c: add
	--disable-dynamic-nss configure switch to disable use of
	getpw*(), getgr*(), initgroups() functions.

2006-02-19  Wayne Davison  <>

	* unposted: Src/Zle/compcore.c: made the allocation of a larger
	string in add_match_data() choose a more efficient size.

	* unposted: Completion/Unix/Command/_rsync: added the missing
	-h option for daemon mode.

2006-02-18  Wayne Davison  <>

	* users/9936: Src/Zle/compcore.c: fixed the newest check for
	invalid characters (it now parses the string as metafied).

2006-02-17  Wayne Davison  <>

	* unposted: Test/D04parameter.ztst: a few minor additions.

2006-02-16  Wayne Davison  <>

	* unposted: Completion/Unix/Type/_hosts: weed out hashed-entry
	lines from the known_hosts file (these lines start with a '|').

	* 22275: Doc/Zsh/expn.yo: a few more improvements in the
	discussion of field splitting, the = flag, and SH_WORD_SPLIT.

	* 22273: Src/subst.c, Test/D04parameter.ztst, README: made
	${(A)=name:=word} not split on quoted whitespace and fixed
	a typo in the README.

2006-02-16  Peter Stephenson  <>

	Etc/FAQ.yo: 4.3.0-dev-4.

2006-02-15  Wayne Davison  <>

	* 22270; Src/subst.c, Test/D04parameter.ztst: fixed a long-standing
	problem with ${name+$array$scalar}.

2006-02-15  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: use zsh to
	match files within directories generated from p4 output, so
	as to get matching control working; style "glob" provides
	backward compatibility.

2006-02-15  Wayne Davison  <>

	* 22268: Src/subst.c, Test/D04parameter.ztst, Doc/Zsh/expn.yo,
	Doc/Zsh/roadmap.yo: some fixes to variable expansion allows
	${1+"$@"} to work when shwordsplit is set (e.g. when emulating
	sh).  Fixed a couple other minor bugs too.

2006-02-13  Wayne Davison  <>

	* 22217: Src/Zle/compcore.c: allow the insertion of invalid
	multibyte characters using the $'\123' idiom.

	* 22215: Src/utils.c, Src/Zle/zle_tricky.c: fixed the completion of
	filenames containing commas inside an open bracelist, including the
	ability for the user to manually backslash escape commas.

	* unposted: Src/Zle/computil.c: replaced an algorithm that was
	looking backward for a backslash because that can accidentally
	quote a character after a "\\" sequence.

2006-02-12  Peter Stephenson  <>

	* 22235: Eric Mangold: Completion/Unix/Command/_twisted: new

	* 22237: Vincent Steman: Completion/Unix/Command/_man: location of
	packaged manual pages on NetBSD.

2006-02-11  Clint Adams  <>

	* 22234: Completion/Unix/Command/_quilt: Adeodato Simó's
	quilt completion improvements.

2006-02-09  Wayne Davison  <>

	* 22206: Src/Zle/zle.h, Src/Zle/zle_misc.c: fixed broken
	suffix-removal in an --enable-multibyte configured zsh.

2006-02-09  Clint Adams  <>

	* unposted: Completion/Debian/Command/.distfiles,
	Completion/Unix/Command/.distfiles: update
	some .distfiles.

	* 22205: Completion/Unix/Command/_make: patch from
	R.Ramkumar to use the argument to -C in make

2006-02-07  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  One last new option
	for the imminent 2.6.7 release of rsync.

2006-02-07  Peter Stephenson  <>

	* 22200: Src/jobs.c: process text wasn't unmetafied for output.

	* 22198: README, Src/init.c, Src/params.c, Doc/Zsh/params.yo:
	modify 22195 so that HOME gets set as before in native emulation.

2006-02-06  Wayne Davison  <>

	* unposted: Src/Modules/newuser.c: fixed return-without-value
	compiler warning.

2006-02-06  Peter Stephenson  <>

	* 22196: INSTALL, README, Config/ development
	version 4.3.0-dev-3

	* 22195: README, Src/init.c, Src/params.c, Src/subst.c,
	Src/utils.c, Src/Modules/newuser.c: don't set HOME in the shell,
	only if passed by the environment; handle the fallout.

2006-02-05  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  A few more fixes
	and improvements.

2006-02-05  Clint Adams  <>

	* 22193: Completion/Debian/Command/_wanna-build: completion
	for wanna-build.

2006-02-04  Peter Stephenson  <>

	* 22192: Danek Duvall: Completion/Unix/Type/_users: also remove
	comments from .ssh/known_hosts.

2006-02-03  Peter Stephenson  <>

	* 22191: from Danek Duvall: Completion/Unix/Type/_hosts,
	Completion/Unix/Type/_users: neaten _hosts and make _users
	more consistent.

2006-02-03  Peter Stephenson  <>

	* 22187: Completion/Unix/Type/_hosts: don't trounce any global
	$hosts; don't use hacky array assignment; do examine
	~/.ssh/known_hosts for default set of hosts to complete.

2006-01-29  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  Added new options
	for the upcoming 2.6.7 release of rsync.

2006-01-29  Clint Adams  <>

	* 22179: Completion/Unix/Command/_cplay: complete audio files
	and playlists based on a list of file extensions provided
	by Joe Wreschnig.

2006-01-28  Clint Adams  <>

	* 22174: Completion/Unix/Command/_vorbis: fix misspelling
	of -Q for oggdec.

2006-01-28  Peter Stephenson  <>

	* 22169: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: hook function
	zle-keymap-select called when $KEYMAP changes.

2006-01-21  Clint Adams  <>

	* 22168: Completion/Debian/Command/_bts: add options and
	handling for new subcommands added in 22166 except for
	cache and cleancache.

	* 22167: Completion/Unix/Command/_cp: completion for
	GNU cp.

	* 22166: Completion/Debian/Command/_bts: add new
	subcommands (clone, submitter, found, notfound, block, unblock,
	user, usertag, package, owner, noowner, reportspam, cache,

2006-01-18  Clint Adams  <>

	* 22165: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo,
	Doc/Zsh/roadmap.yo: change "zshparams" to "zshparam".

2006-01-17  Wayne Davison  <>

	* unposted: Src/prompt.c:  Fixed 2 free()-related bugs in the
	handling of %D.

2006-01-16  Bart Schaefer  <>

	* 22110 (slightly tweaked): Completion/Unix/Command/_su: complete
	options, be more clever about determining the shell being used,
	and treat the argument of the -c option as a command (cf. _sh).

2006-01-13  Wayne Davison  <>

	* 22162: Src/prompt.c, Src/Modules/datetime.c, Src/Modules/stat.c:
	some strings needed to be metafied:  strftime values going into the
	expansion of the prompt, and strftime/username/groupname values
	that were assigned to a variable.

	* unposted: Src/prompt.c, Src/utils.c, Src/Zle/complist.c,
	Src/Zle/zle_utils.c: got rid of some superfluous STOUC() uses, such
	as the onces I recently added for the arg of nicechar() (which can
	handle the int being a negative or positive value).

	* unposted: Src/Zle/zle_refresh.c: fixed an unused-variable
	compiler warning when compiling the non-multibyte version of zsh.

2006-01-12  Clint Adams  <>

	* 22159: Completion/Linux/Command/_tpb: completion for tpb.

	* 22153: Completion/Linux/Command/_tpconfig: completion
	for tpconfig.

2006-01-11  Wayne Davison  <>

	* unposted: Src/zsh.h, Src/prompt.c, Src/utils.c,
	Src/Zle/complist.c, Src/Zle/compmatch.c, Src/Zle/zle_main.c,
	Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c:
	more multibyte cleanup, including the MB_INVALID and MB_INCOMPLETE
	defines to make the mbrtowc() and mbsrtowcs() return values clearer.

2006-01-10  Peter Stephenson  <>

	* 22151: Src/text.c: a here-string got too many quotes when
	output by which etc.

2006-01-09  Wayne Davison  <>

	* unposted: Src/utils.c, Src/Zle/compmatch.c, Src/Zle/zle_utils.c:
	a little more cleanup of the mbrtowc() code, including a bugfix
	for my new code in sub_match() that needed to check for -2.

2006-01-08  Wayne Davison  <>

	* unposted: Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c,
	Src/Zle/complist.c, Src/Zle/compmatch.c: changed the code that
	calls mbrtowc() to deal with its size_t return value as a size_t.
	Also, use STOUC() on char values passed to nicechar(), make sure
	that the mbstate_t object never gets left in an undefined state,
	and fixed a problem in sub_match() when dealing with a character
	that was assembled from multiple bytes.

	* 22140 (modified): Src/utils.c: Changed mb_niceformat() so that it
	does not truncate a name that has an invalid character sequence in
	the current character set (affected chars display as \M-... chars).

	* unposted: got rid of probe for wcswidth() and added
	probes for fchown() and fchmod() (the latter changes were accidentally
	left out of my 22091 patch).

	* unposted: Src/utils.c, Src/system.h: Changed the single spot
	that used wcswidth() over to use wcwidth() and got rid of the
	work-around for OpenBSD (which lacks wcswidth()).

2006-01-08  Peter Stephenson  <>

	* 22146: Functions/Zle/define-composed-chars: typo in AE and OE

2006-01-06  Peter Stephenson  <>

	* 22124: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: feep()
	if getrestchar() indicates bad character.

	* 22123:, Src/system.h: probe for wcswidth() and
	assume 1 if not found.

2006-01-05  Peter Stephenson  <>

	* 22118: Doc/Zsh/builtins.yo: fix documentation for what
	happens when . does or does not appear in $cdpath.

2006-01-04  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: when deleting
	 a fix, complete only jobs for the changelist given; when
	 deleting changes, unless -f is given complete only changes
	 on the current client.

2006-01-02  Clint Adams  <>

	* 22113: Completion/Unix/Command/_last: allow single option
	characters to be combined.

2005-12-26  Wayne Davison  <>

	* unposted: Doc/Zsh/options.yo: A couple more improvements to the

2005-12-25  Clint Adams  <>

	* 22104, 22105: Completion/Unix/Command/_ssh: add
	support for new options such as ControlMaster and
	ControlPath, and for -M, -S, -O switches.

2005-12-19  Peter Stephenson  <>

	* unposted: Scott Murray <>:
	Completion/Redhat/Command/_yum: update.

2005-12-19  Peter Stephenson  <>

	* 22082: Src/Modules/stat.c: print out UID or GID instead
	of ??? if the user or group name is unavailable.

2005-12-18  Wayne Davison  <>

	* unposted: Etc/FAQ.yo, Doc/Zsh/contrib.yo: Changed some UTF-8
	closing-single-quotes into ASCII apostrophes.

2005-12-18  Peter Stephenson  <>

	* 22095: INSTALL, Etc/FAQ.yo: more multibyte notes.

2005-12-17  Wayne Davison  <>

	* 22091: Src/hist.c: improved HIST_SAVE_BY_COPY to have it (1)
	preserve the group and permissions on the history file, and (2)
	refuse to re-copy the history file if zsh's euid differs from
	the file's uid (to avoid changing the file's owner).

2005-12-15  Peter Stephenson  <>

	* 22085 and back off 22075: Src/system.h, Src/utils.c: we
	may need <langinfo.h> even with MULTIBYTE_SUPPORT to get iconv.

	* 22076: INSTALL, Etc/FAQ.yo: more information on multibyte

	* users/9788: Doc/Zsh/expn.yo, Src/glob.c: add (oN) qualifier
	for no sorting.

2005-12-14  Bart Schaefer  <>

	* 21814: Src/loop.c, Src/signals.c: if an error occurs in an
	inline trap, set $? to 1, to match the behavior of pre-4.2
	versions of zsh.  If and only if the trap is executed within the
	"try" part of an "always" construct, also propagate the error
	condition so that the "try" section is aborted.  (Belated commit.)

2005-12-14  Wayne Davison  <>

	* 22078: Src/utils.c: made ucs4toutf8() a static function (when
	it's even defined).

2005-12-14  Peter Stephenson  <>

	* 22075: Src/utils.c: assume the effect of __STDC_ISO_10646__ for
	character conversion when --enable-multibyte is in effect (since
	we do everywhere else).

2005-12-12  Peter Stephenson  <>

	* unposted: Config/ aargh, didn't commit this for

2005-12-12  Wayne Davison  <>

	* 22071: Src/Zle/zle_hist.c: fixed a bug in zle_setline() where
	it would set zlecs to -1 for an empty line. (Reported by Jun T.)

2005-12-10  Peter Stephenson  <>

	* 22069: Src/Zle/complist.c: completion listings didn't get

2005-12-10  Clint Adams  <>

	* 22068: Completion/Debian/Command/_debdiff: completion
	for debdiff.

2005-12-09  Wayne Davison  <>

	* unposted: Src/Modules/newuser.c: fixed return-without-value
	compiler warning.

2005-12-09  Oliver Kiddle  <>

	* Completion/Unix/Command/_surfraw, Completion/Unix/Command/_arp,
	Completion/Unix/Command/_joe, Completion/Unix/Command/_quilt,
	Completion/Debian/Command/_mergechanges: reindent and use lowercase
	letters for descriptions

	* unposted: Completion/Unix/Command/_mh: better completion for sortm

	* unposted: require autoconf 2.53b

2005-12-09  Clint Adams  <>

	* 22065: Functions/TCP/tcp_read: cope with TCP output that
	starts with "--".

2005-12-09  Peter Stephenson  <>

	* 22058: NEWS, Doc/Zsh/roadmap.yo: tweak docs for release.

	* 22057: Doc/Zsh/mod_newuser.yo, Src/options.c,
	Src/Modules/newuser.c: make it explicit that zsh/newuser isn't
	used during emulation.

2005-12-07  Peter Stephenson  <>

	* 22056: Functions/MIME/zsh-mime-handler: restore original default
	settings for current-shell and never-background styles.

2005-12-07  Clint Adams  <>

	* 22054: Completion/Linux/Command/_fusermount:
	completion for fusermount.

	* 22055: Completion/Linux/Command/_sshfs: completion for
	the FUSE sshfs.

2005-12-06  Peter Stephenson  <>

	* 22053: Etc/FAQ.yo, Functions/Newuser/zsh-newuser-install:
	minor FAQ addition plus improved documentation for options
	and parameters in zsh-newuser-install.

2005-12-05  Clint Adams  <>

	* Micah Anderson: 22052: Completion/Unix/Command/_surfraw:
	improvements to surfraw completion.

2005-12-05  Oliver Kiddle  <>

	* 22050:, Completion/Unix/Command/_mount,
	Completion/Unix/Command/_sysctl, Completion/Unix/Type/_locales:
	fixes for Debian GNU/kfreebsd

	* 21712: Completion/Unix/Command/_date: include fallback for
	where $OSTYPE is not matched

2005-12-04  Bart Schaefer  <>

	* unposted (cf. users/9744): Functions/Zle/keeper: call
	_expand_word from _expand_word_and_keep so that completion context
	is not changed; add most-specific zstyle necessary to identify the
	all-expansions group within _expand_word_and_keep.

2005-12-03  Peter Stephenson  <>

	* 22049: Src/init.c: "exit" within sourced file within shell
	function caused return from sourced file but execution of function

2005-11-30  Wayne Davison  <>

	* unposted: Src/Zle/zle_misc.c: fixed parsedigit() to have
	it use its arg instead of "lastchar".

	* unposted: changed the hard-wired "grep -E"
	into $EGREP (which is defined by AC_PROG_EGREP).

2005-11-29  Clint Adams  <>

	* 22046: Completion/Unix/Command/_rar: descriptions for
	unrar commands, some additional switches.

	* 22042: handle the Hurd's errno.h.

2005-11-29  Geoff Wing  <>

	* unposted: Src/utils.c: fix prototype generation for non
	multibyte compilation

2005-11-25  Peter Stephenson  <>

	* 22031: Nikolai Weibull: Completion/Unix/Command/_git: new
	completion function.

	* 22028: Src/exec.c: WARN_GLOBAL_CREATE warned when temporarily
	altering a global in the environment of a builtin or shell

	* 22027: Functions/Newuser/zsh-newuser-install: fix multiple
	compinstall lines; suggest selecting emacs keymap slightly
	more forcefully; ensure recommended selections are saved
	if not edited; trap bad keymap names; don't show initial
	explanatory screen if rerun explicitly by user; fix message
	about copying old .zshrc.

2005-11-25  Oliver Kiddle  <>

	* 22022: Completion/Debian/Command/_dchroot: completion for dchroot

2005-11-24  Peter Stephenson  <>

	* 22021: Functions/Zle/insert-unicode-char: back-to-back
	insertions didn't work.

	* 22018: INSTALL, Functions/Newuser/zsh-newuser-install: tweak
	following suggestions from Bart.

	* 22014: Doc/Zsh/Contrib.yo, Doc/Zsh/zle.yo,
	Functions/Zle/.distfiles, Functions/Zle/insert-unicode-char,
	Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_main.c,
	Src/Zle/zle_misc.c: internal widget argument-base sets
	numeric base for next prefix argument, widget insert-unicode-char
	uses this to insert Unicode character by \U........

2005-11-23  Peter Stephenson  <>

	* 22013: INSTALL, NEWS, Completion/compinstall,
	Functions/Newuser/zsh-newuser-install: initial go at a
	working zsh-newuser-install function.

2005-11-22  Clint Adams  <>

	* 22012: Completion/Debian/Command/_mergechanges:
	completion for mergechanges.

2005-11-22  Peter Stephenson  <>

	* Mårten Svantesson <>: 22011:
	Completion/Unix/Command/_cvs: the -R options is more generally

2005-11-21  Peter Stephenson  <>

	* 22009: Src/Zle/zle_refresh.c: fix for double-width characters:
	stop when we reach the NULL at the end of the new line.

2005-11-18  Wayne Davison  <>

	* users/9690: Completion/Unix/Command/_ssh: improved Hannu's
	completion code to handle multiple hostnames per "Host" directive
	and to skip wildcard-containing names.

	* unposted: Src/Zle/zle_tricky.c: got rid of two unneeded casts.

2005-11-18  Peter Stephenson  <>

	* users/9688: Completion/Unix/Command/_ssh: improved
	_ssh_hosts from Hannu Koivisto <>; also
	rationalise reference to hosts to "remote host name".

2005-11-17  Clint Adams  <>

	* 22005: Completion/Unix/Command/_flasher: completion
	for flasher utility for Nokia 770 Internet Tablet.

2005-11-15  Wayne Davison  <>

	* unposted: Src/Zle/zle_misc.c: Got rid of some compiler warnings
	about comparisons between signed and unsigned variables.

	* 22001: Src/hashtable.c, Src/input.c, Src/loop.c, Src/Zle/compcore.c,
	Src/Zle/compctl.c, Src/Zle/complist.c, Src/Zle/compresult.c,
	Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, Src/Zle/zle_params.c,
	Src/Zle/zle_thingy.c, Src/init.c, Src/zsh.h, Src/utils.c, Src/Zle/zle.h,
	Src/Zle/zle_main.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c:
	Changed several functions and vars from using unsigned char pointers
	to normal char pointers, removing a bunch of forced casts in the code.

2005-11-13  Oliver Kiddle  <>

	* unposted: Completion/X/Command/qiv: fix completion of -F option

2005-11-11  Clint Adams  <>

	* 21999: Completion/Unix/Command/_gnutls:
	completion for certtool and srptool.

	* 22000: Completion/Unix/Command/_totd:
	completion for totdconfig.

2005-11-10  Clint Adams  <>

	* 21998: Completion/Unix/Command/_gnutls:
	completion for gnutls-cli and gnutls-cli-debug.

2005-11-10  Bart Schaefer  <>

	* 21994: Completion/Unix/Command/_sed: use correct semantics for
	arguments of the -e -f -i and -l options.  May need further tweaks
	for non-GNU seds.

2005-11-07  Clint Adams  <>

	* 21989: Completion/Debian/Command/_dpkg-cross:
	completion for dpkg-cross.

	* 21990: Completion/Debian/Command/_toolchain-source:
	completion for tpkg-debarch, tpkg-install, tpkg-install-libc,
	tpkg-make, and tpkg-update.

2005-11-07  Peter Stephenson  <>

	* unposted: NEWS: note roadmap.

	* 21986: Src/Zle/compresult.c, Src/Zle/iwidgets.list,
	Src/Zle/zle.h, Src/Zle/zle_misc.c: make completion suffix
	system work with wide characters; also make magic-space
	behave like a normal space when it follows a suffix.

	* users/9638: Src/builtin.c, Doc/Zsh/builtins.yo,
	Doc/Zsh/roadmap.yo: allow FCEDIT to default to EDITOR before
	defaulting to the builtin default; mention edit-command-line in
	menu in roadmap.  Also (unposted) indicate roadmap in detailed
	texinfo node listing even though it doesn't have subentries.

2005-11-06  Peter Stephenson  <>

	* Scott Murray <>: users/9648:
	Completion/Redhat/Command/.distfiles: new yum completion.

2005-11-05  Clint Adams  <>

	* 21987: Completion/Unix/Command/_cplay: completion for

	* 21988: Completion/Debian/Command/_dput: fix "simulare"

2005-11-04  Peter Stephenson  <>

	* users/9618 modified as suggested in users/9621: Doc/Zsh/expn.yo,
	Src/hist.c: extend history substitution to allow trailing :G for

2005-11-02  Andrey Borzenkov  <>

	* 21978: Src/Modules/stat.c: unmetafy file name before calling
	system (l)stat

2005-11-02  Peter Stephenson  <>

	* 21974: Src/params.c: memory leak with tied parameters.

	* users/9610: Src/Zle/zle_misc.c: Handle digit argument
	in copy-prev-word and copy-prev-shell-word.

	* 21973: Src/Zle/zle_misc.c: idigit() test in digitargument()
	had reversed sense.

2005-11-01  Peter Stephenson  <>

	* 21971: Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c: rewrite
	pfxlen() for multibyte characters.

2005-11-01  Peter Stephenson  <>

	* users/9604: Functions/Misc/run-help: enhanced to strip quotes
	from argument if necessary.

	* 21967 (documentation tweaked): Doc/Zsh/expn.yo, Src/subst.c:
	${(#)foo} uses matheval to produce characters.

2005-10-31  Wayne Davison  <>

	* 21949 (modified): Src/zsh.h, Src/Zle/zle.h, Src/Zle/zle_misc.c,
	Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c:
	Changed (in non-multibyte mode) ZLE_CHAR_T to be "char" (not int)
	and ZLE_STRING_T to be "char *" (not "unsigned char *"), including
	some related type changes (e.g. zle_text) and code improvements.

	* 21962: Src/utils.c, Src/ztype.h, Src/Modules/zftp.c,
	Src/Modules/zselect.c, Src/Zle/zle.h, Src/Zle/zle_move.c,
	Src/Zle/zle_vi.c, Src/Zle/zle_word.c: a bunch of fixes for
	iTYPE()/isTYPE() problems, e.g. avoiding using isTYPE() on
	a char value (which is undefined) and avoiding using normal
	isTYPE() functions on wide-character values.

	* unposted: Src/Zle/deltochar.c, Src/Zle/zle_move.c,
	Src/Zle/zle_utils.c: Fixed some compiler warnings about
	signed/unsigned comparisons.

	* unposted: Src/Modules/files.c, Src/Modules/mathfunc.c,
	Src/Modules/zutil.c, Src/Zle/computil.c: use idigit() instead
	of range-checking '0' - '9'.

2005-10-31  Clint Adams  <>

	* 21960: R. Ramkumar: Functions/Misc/zcalc:
	  put zcalc history file in ZDOTDIR if set.

2005-10-30  Peter Stephenson  <>

	* unposted: Doc/Zsh/roadmap.yo: capitalize section headings to
	be consistent and add note on default history size.

	* 21957: Src/Zle/zle_refresh.c: more wide character stuff.

	* 21954 (plus comment): use /dev/fd/3 to check
	for availability of feature (works around FreeBSD 5

2005-10-28  Wayne Davison  <>

	* 21948: Src/zsh.h, Src/Zle/zle_refresh.c: fixed a couple
	compiler warnings about comparing signed & unsigned values.
	The latter change should also remove a potential problem of
	using WEOF without multibyte support being enabled.

2005-10-28  Clint Adams  <>

	* 21946, 21947: Completion/Unix/Command/_gcc: update
	options for ia32, amd64, and sparc.

2005-10-28  Peter Stephenson  <>

	* unposted: Src/Zle/zle_keymap.c: missed this out.

	* 21943, 21945:, Src/prompt.c, Src/string.c,
	Src/system.h, Src/utils.c, Src/zsh.h, Src/Zle/complist.c,
	Src/Zle/compmatch.c, Src/Zle/compresult.c, Src/Zle/zle.h,
	Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c,
	Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c,
	Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c:
	Use multibyte versions of "nicechar" functions wherever

	* 21942: Src/Zle/zle_refresh.c: another bug found when deleting
	an extra-wide character.

2005-10-26  Peter Stephenson  <>

	* 21939: Src/Zle/zle_thingy.c: new UNMETACHECK() was too ruthless.

2005-10-26  Peter Stephenson  <>

	* 21936: Src/Zle/zle_refresh.c: fix one bug when deleting
	an extra-wide character.

2005-10-25  Peter Stephenson  <>

	* 21935: Documentation for 21933.

	* 21933: R. Ramkumar <>:
	Functions/MIME/zsh-mime-handler, Functions/MIME/zsh-mime-setup:
	add three styles to the MIME system.

2005-10-24  Peter Stephenson  <>

	* 21931: 21913 means _hosts shouldn't complete for ping.

	* 21930: Src/Zle/zle_refresh.c: handle extra-wide characters at
	end of line by adding spaces.

2005-10-24  Clint Adams  <>

	* 21912: Src/Modules/cap.c: silence unused parameter
	compile warnings.

	* 21913: Completion/Unix/Command/_ping: completion
	for ping.

2005-10-23  Bart Schaefer  <>

	* unposted: Src/prompt.c: fix --disable-multibyte compile error
	introduced by 21906.

2005-10-23  Peter Stephenson  <>

	* 21910:  abnormal return from insertlastword() didn't unmetafy
	the line; add extra UNMETACHECK() to pick up problems early from
	zle within widget.

2005-10-21  Peter Stephenson  <>

	* 21906: Src/prompt.c, Src/zle_refresh.c: use modified
	multibyte truncation code for single byte truncation, fixing
	a bug with long truncation indicators; remove a couple of
	outmoded TODOs.

	* Spotted by Mikael Magnusson, 21905: Doc/Zsh/roadmap.yo: typos.

2005-10-21  Clint Adams  <>

	* 21902: Completion/Unix/Command/_xmlsoft: update for
	xmllint 2.6.22.

2005-10-21  Peter Stephenson  <>

	* 21899: Doc/.distfiles, Doc/, Doc/zsh.yo,
	Doc/zshroadmap.yo, Doc/Zsh/.distfiles, Doc/Zsh/intro.yo,
	Doc/Zsh/invoke.yo, Doc/Zsh/manual.yo, Doc/Zsh/roadmap.yo:
	Add "roadmap" section to manual for new users to get

	* 21898: Functions/Zle/insert-composed-char, Doc/Zsh/contrib.yo:
	insert-composed-char can take a command line argument.

2005-10-19  Wayne Davison  <>

	* unposted: Src/Zle/zle_refresh.c: fixed a compiler warning.

2005-10-19  Peter Stephenson  <>

	* 21891: Functions/Zle/define-composed-chars, Doc/Zsh/contrib.yo:
	double width characters can be composed with ^A etc.

	* 21890: Src/builtin.c, Src/prompt.c, Src/zle_utils.c: allocation
	inconsistencies in print builtin, segmentation error with
	left prompt truncation from 21882, warning about variable
	signedness in zle_utils.c.

	* 21887: Src/Zle/zle_refresh.c: attempt to display wide characters
	wider than one screen cell properly.

2005-10-19  Peter Stephenson  <>

	* 21885: Src/Zle/zle_refresh.c: Convert some large macros
	into functions.

2005-10-19  Peter Stephenson  <>

	* 21882: Src/prompt.c, Src/utils.c, Test/D01prompt.ztst: extend
	prompt truncation to handle multibyte characters.

2005-10-17  Bart Schaefer  <>

	* 21880: Completion/compinit: explicitly set IFS to the usual
	default string, plus carriage return, in case the surrounding
	environment has messed with it or a file with CRLF line breaks
	needs to be parsed.

2005-10-17  Peter Stephenson  <>

	* unposted: Functions/Zle/define-composed-chars,
	Doc/Zsh/contrib.yo: a few more miscellaneous composable symbols.

2005-10-14  Wayne Davison  <>

	* unposted: Etc/FAQ.yo: Tweaked the precmd that works like
	PROMPT_SP so that it outputs "%#" like PROMPT_SP now does.

2005-10-13  Peter Stephenson  <>

	* 21872: Src/jobs.c: job table wasn't cleared properly in
	subshells, possibly causing shell to hang; more efficient
	search for free job entry; don't record current job for
	use in saved job table.

	* 21871: Src/exec.c, Src/glob.c, Src/params.c, Src/subst.c,
	Src/utils.c, Src/zsh.h, Src/ztype.h, Src/Zle/compcore.c,
	Src/Zle/compctl.c, Src/Zle/zle_tricky.c: replace INULL() with
	more sensible inull() macro.

	* 21869: Src/prompt.c, Src/complist.c: fix multibyte characters
	in %-substitutions and output of invalid multibyte characters
	in completion listings.

	* 21870: Src/zsh.h: definition of INULL() in 21862/21863 was too
	liberal, causing problems with output of certain characters
	e.g. Cyrillic UTF-8.

2005-10-11  Peter Stephenson  <>

	* 21862/21863: Src/glob.c, Src/lex.c, Src/pattern.c, Src/subst.c,
	Src/zsh.h, Test/D04parameter.ztst, Test/ztst.zsh:  Ensure that
	backslashes in parameters substituted by GLOB_SUBST are not
	swallowed up if there is no pattern match.

2005-10-07  Peter Stephenson  <>

	* Stephen Rüger: 21846: Completion/Unix/Command/_chmod: too
	greedy looking for r, w, x, s, t in initial arguments to chmod.

2005-10-04  Bart Schaefer  <>

	* 21822 (annotated): Src/Zle/complist.c: prevent a long-standing
	infinite loop when redrawing the listing during menu-selection
	with a very narrow window.

	* 21821: Src/Zle/complist.c: fix infinite loop when multibyte
	support is disabled, introduced by 21784.

2005-10-03  Peter Stephenson  <>

	* 21809: Src/utils.c: need to export nicedup() for
	--disable-multibyte in zle.

	* 21790: INSTALL, NEWS, README: add some documentation about
	the 4.3 release.

2005-10-02  Peter Stephenson  <>

	* 21802: Src/Zle/complist.c, Src/Zle/compmatch.c,
	Src/Zle/zle_main.c: attempt to prevent matches ending in
	the middle of multibyte characters, also some minor tidy-ups.

	* unposted, c.f. 21799: Doc/Zsh/func.yo: documentation for
	returns from TRAPNAL functions was wayward.

2005-10-01  Wayne Davison  <>

	* unposted: Src/utils.c: changed PROMPT_SP to use the prompt-
	escape "%#" (as Bart suggested) instead of a hard-wired "#".

2005-09-29  Peter Stephenson  <>

	* 21784: Src/utils.c, Src/Zle/complist.c, Src/Zle/compresult.c,
	Src/Zle/zle.h, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c,
	Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c:
	Use correct character lengths and widths for formatted character

2005-09-28  Clint Adams  <>

	* 21781: Completion/Unix/Command/_iconv: cope with
	`iconv --list` output from glibc 2.3.5.

	* 21780: Completion/Debian/Command/_dlocate: completion for

2005-09-28  Peter Stephenson  <>

	* 21779: Doc/Zsh/contrib.yo, Functions/Exceptions/throw, plus
	unposted Functions/Exceptions/catch: improvements from Bart in
	users/9452 plus clarifications to documentation.

2005-09-28  Clint Adams  <>

	* 21778: Completion/Debian/Command/_piuparts: completion for

2005-09-27  Bart Schaefer  <>

	* 21770: Src/Zle/zle_keymap.c: tweak 21760 so binding XYA in a
	local keymap does not prevent bindings X or XY in the global
	keymap from being chosen (upon key timeout).

2005-09-27  Peter Stephenson  <>

	* 21769: Src/utils.c, Src/Zle/complist.c: fix some consequences of
	21730 in completion lists.

2005-09-27  Clint Adams  <>

	* Vincent Lefevre: 21767: Completion/Unix/Command/_subversion:
	add ~ to the default svn status pattern.

2005-09-26  Peter Stephenson  <>

	* 21764: Src/Zle/zle_hist.c: unmetafication mangled history lines
	in zle.

	* unposted: Doc/Zsh/redirect.yo: alter text referring to process
	substitutions slightly.

2005-09-26  Clint Adams  <>

	* 21763: Completion/Unix/Command/_baz: remove stray

2005-09-24  Bart Schaefer  <>

	* 21760: Src/Zle/zle_keymap.c: fix test for sequence prefixes
	in the local keymap in getkeymapcmd().

	* unposted: Functions/Misc/zargs: add range-checking of numeric

2005-09-23  Peter Stephenson  <>

	* 21758: Doc/Zsh/expn.yo, Src/exec.c: optimise =(<<<...) to
	replace an argument by a filename containing it within the

2005-09-22  Peter Stephenson  <>

	* unposted, c.f. 21752: Doc/Zsh/contrib.yo,
	Functions/Zle/.distfiles, Functions/Zle/defined-composed-chars,
	Functions/Zle/insert-composed-char: add some alphabets to

2005-09-22  Clint Adams  <>

	* Stephen Rueger: 21744: Src/prompt.c: unconditionally assume
	that \t or \n are not part of multi-byte characters.

2005-09-20  Clint Adams  <>

	* 21740: Completion/Unix/Command/_quilt: completion for

2005-09-20  Wayne Davison  <>

	* 21739: Src/utils.c: made PROMPT_SP work properly even when
	PROMPT_PERCENT is not set (as it is not when running as "sh").

2005-09-20  Peter Stephenson  <>

	* unposted: Src/utils.c: screwed up iident() test in wcsiident().

	* 21737: Src/utils.c: unmetafy wordchars before looking for
	multibyte characters.

	* 21736: Src/init.c, Src/params.c, Src/pattern.c, Src/utils.c,
	Src/Zle/zle.h, Src/Zle/zle_main.c: Fix WORDCHARS to use multibyte
	characters; rationalise test for identifiers only to use ASCII
	characters; remove existing hack for 8-bit characters.

2005-09-19  Peter Stephenson  <>

	* unposted, c.f. 21735: Doc/Zsh/grammar.yo: document
	that return at the top level of a script behaves like exit
	in a try-block.

2005-09-17  Peter Stephenson  <>

	* 21731: Src/prompt.c, Src/Zle/zle_refresh.c: count multibyte
	characters and their widths properly in prompts.

	* 21730: Src/builtin.c, Src/utils.c: nicechar(), used in
	prompts and other forms of formatted output, didn't return
	a metafied string with confusing results.  Also outputting
	pwd didn't unmetafy it in one place.

2005-09-14  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_rake: update for version 0.6.0

2005-09-13  Clint Adams  <>

	* 21718: Completion/Unix/Command/_bzr: complete files
	after bzr's first argument until the bzr shell-complete
	stuff is improved.

2005-09-09  Peter Stephenson  <>

	* 21722: Src/utils.c, Src/Zle/zle.h, Src/Zle/zle_misc.c,
	Src/Zle/zle_word.c: fix broken transpose-words and improve
	word character detection by assuming non-ASCII characters are word
	characters if and only if alphanumeric.

2005-09-09  Peter Stephenson  <>

	* 21720: Src/Zle/zle_main.c: getrestchar() from 21709 didn't
	return properly.

	* d'après 21719: Src/builtin.c, Src/init.c, Src/params.c: Add some

	* 21717: Src/Zle/zle_misc.c: where-is and execute-named-command
	didn't work with multibyte support because the remainder of
	the character wasn't read properly.

	* 21709 plus tweaks: Doc/Zsh/zle.yo, Src/builtin.c, Src/init.c,
	Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c,
	Src/Zle/zle_vi.c: Use $KEYTIMOUT for bytes after the first
	in a multibyte character.  Reset input state on invalid
	character or EOF.

2005-09-07  Clint Adams  <>

	* 21704, 21705: Completion/Unix/Command/_date: completion for
	Solaris, FreeBSD, and OpenBSD.

2005-09-06  Clint Adams  <>

	* 21703: Completion/Unix/Command/_bzr: completion for bzr 0.0.7.

2005-09-06  Peter Stephenson  <>

	* 21701: Src/params.c, Test/D06subscript.ztst: negative offsets
	that indexed before the start of a scalar weren't handled properly.

2005-09-05  Peter Stephenson  <>

	* 21698: Jean-Baptiste Quenot: Completion/Unix/Command/_ant:
	recursive completion could change directory.

2005-09-02  Clint Adams  <>

	* 21696: Completion/Unix/Command/_date: completion for
	GNU date.

2005-09-02  Peter Stephenson  <>

	* 21695: Doc/Zsh/expn.yo: rewrite entry for u globbing flag.

	* 21693: Jean-Baptiste Quenot: Completion/Unix/Command/_ant:
	recursively find targets.

2005-08-31  Clint Adams  <>

	* 21686: Completion/Debian/Command/_make-kpkg: modernize
	make-kpkg completion.

	* 21692: Completion/Unix/Command/_baz: remove set-tree-version, fix
	tree-version, add tree-id.

2005-08-31  Peter Stephenson  <>

	* users/9359: Francisco Borges: Completion/X/Command/_gv:
	completion of ps and PDF files was broken for gv.

2005-08-25  Clint Adams  <>

	* 21683: Completion/X/Command/_urxvt: more fixes
	to urxvt completion.

2005-08-23  Clint Adams  <>

	* 21682: Completion/Unix/Command/_subversion: handle usage output
	of commands with [0-9]. alternatives, and actually parse that
	output again.

2005-08-22  Wayne Davison  <>

	* unposted: Doc/ An even better fix than the one
	from 21677:  we now avoid more cases of lost characters due
	to yodl not escaping start-of-line apostrophes.

2005-08-22  Peter Stephenson  <>

	* 21678: Src/params.c, Test/D04parameter.ztst: unsetting
	tied parameters was fraught with crashes.

	* 21676: Doc/zmacros.yo, Doc/Zsh/contrib.yo,
	Functions/Zle/.distfiles, Functions/Zle/insert-composed-char,
	Functions/Zle/insert-unicode-char: insert-unicode-char is now
	insert-composed-char and uses RFC 1345 for composing characters.

2005-08-22  Geoff Wing  <>

	* unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: update some
	mirror site information

2005-08-19  Wayne Davison  <>

	* 21677: Doc/ Filter apostrophes in the \fB...\fP
	headers of the nroff output since it appears that yodl is not
	properly escaping them.

2005-08-18  Andrey Borzenkov  <>

	* 21663: Src/Zle/complete.c: check for string overflow
	in do_comp_vars()

	* 21664: Src/Zle/compcore.c, Src/Zle/compresult.c: unmetafy
	argument in ztat() before calling (l)stat

2005-08-18  Peter Stephenson  <>

	* unposted: Doc/Zsh/contrib.yo, Functions/Zle/insert-unicode-char:
	cent is now p % to avoid duplication.

	* 21662: Doc/Zsh/contrib.yo, Functions/Zle/insert-unicode-char:
	compose and insert a Unicode character using two-key codes.

	* 21661: Src/glob.c: variable in 21655 shouldn't be static.

2005-08-18  Peter Stephenson  <>

	* 21655: Src/glob.c, Test/D04parameter.ztst: replacing multiple
	matches where the replacement string itself came from a match
	could get confused.

2005-08-17  Wayne Davison  <>

	* 21654: Src/string.c, Src/utils.c: Marked some ifdef/endif lines
	as exportable to fix a compile bug when ZLE_UNICODE_SUPPORT is not

	* unposted:, aczsh.m4: Use AC_HELP_STRING macro in
	all AC_ARG_ENABLE and AC_ARG_WITH macros.

2005-08-16  Wayne Davison  <>

	* 21629:, Src/system.h: moved the optional definition
	of ZLE_UNICODE_SUPPORT into configure, and added support for the
	new --enable-multibyte and --disable-multibyte configure options.

	* 1/2 of 21644: Src/Zle/complete.c: fixed bug in do_comp_vars()
	when the first char in compprefix is metafied.

2005-08-16  Andrey Borzenkov  <>

	* 21642: Src/Zle/compcore.c: cleanup for 21627, remove redundant

2005-08-16  Clint Adams  <>

	* 21631: Src/Zle/compcore.c: make sure an unmetafied string is
	passed to ztat to determine file type.

2005-08-15  Andrey Borzenkov  <>

	* 21622: Src/Zle/zle_refresh.c: metafy line back before calling
	completion code in zrefresh()

	* 21627: Src/Zle/compcore.c: unmetafy line back before calling
	ZLE from within completion code in do_completion()

2005-08-15  Clint Adams  <>

	* 21619: Src/string.c, Src/utils.c, Src/Zle/zle.h: define wide
	versions of zarrdup, zputs, niceztrlen.

	* 21565: Completion/Unix/Command/_man: better handle uncompressed
	manpages with .[0-9] in their names.

2005-08-15  Wayne Davison  <>

	* 21609: Src/glob.c: fixed the readlink() call in statfullpath().

2005-08-15  Felix Rosencrantz <>

	* 21611: Completion/X/Command/_mozilla: Added Firefox support.

2005-08-15  Peter Stephenson  <>

	* c.f. 21616: Src/zle_misc.c: "unmetafy_line" typo.

	* 21610: Src/system.h, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c,
	Src/Zle/zle_misc.c: Turn on ZLE_UNICODE_SUPPORT by default where
	allowed; fix suffix removal; fix metafication when removing
	suffix by function; fix insert-last-word.

2005-08-14  Bart Schaefer  <>

	* 21369: Completion/Unix/Command/_cvs: assign to array with
	builtin stat rather than parsing stdout.

	* unposted: Functions/Prompts/prompt_bart_setup: more adjustments
	for the PROMPT_SP option.

	* 21366: Src/jobs.c: LONG_LIST_JOBS applies to more places where
	job listing are printed.

2005-08-12  Wayne Davison  <>

	* 21606: Src/Zle/zle.h: When compiled with gcc, the ZS_str* macros
	get replaced by inline functions that give us complete compile-time
	type-checking.  For other compilers, the ZS_str* macros now cast
	the string pointers to char*, which will avoid any warnings about
	pointer signedness.

2005-08-12  Peter Stephenson  <>

	* 21603: Src/Zle/zle_utils.c: conversions from wide character
	to multibyte didn't convert the cursor position properly if it
	was at the end of the line.

	* 21412: Travis Spencer: Completion/Unix/Command/_pkg-config:
	new completion.

2005-08-11  Wayne Davison  <>

	* unposted: Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c: changed some
	uses of ZWC() on string literals to use ZWS().

	* unposted: Test/B02typeset.ztst: improved the final test to ensure
	that all the locally-unset environment variables get restored after
	a function call. This also fixed an interaction with the cleanup
	code that caused the ztst.* temporary files to not be removed.

2005-08-11  Oliver Kiddle  <>

	* 21598: Completion/Unix/Command/_subversion: fix typo that broke
	svn ci completion and avoid problem if LC_ALL overrides LC_MESSAGES

	* 21571: Completion/Debian/Command/_aptitude: avoid localised
	translations that break parsing

2005-08-10  Peter Stephenson  <>

	* 21596: Src/Zle/compresult.c, Src/Zle/zle_tricky.c: more fall out
	from 21590: run-help, which-command and accept-and-menu-complete
	were broken.

2005-08-10  Peter Stephenson  <>

	* 21593: Src/Zle/complist.c, Src/Zle/zle_refresh.c: character
	arrays wrongly declared with ZLE_UNICODE_SUPPORT.

	* 21592: Src/Zle/complist.c: attempt to browse a new directory
	in menu selection caused crash.

	* c.f. 21590: Src/hist.c, Src/lex.c, Src/utils.c,
	Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c,
	Src/Zle/compresult.c, Src/Zle/zle.h, Src/Zle/zle_hist.c,
	Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_params.c,
	Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c,
	Src/Zle/zle_utils.c: upgrade metafy_line()/unmetafy_line() to
	take account of wide characters.  Add extra conversion where
	necessary.  Also attempt fix for singlerefresh() prompt with

2005-08-10  Wayne Davison  <>

	* 21579: Thorsten Dahlheimer: Src/builtin.c: Made printf %s
	handle embedded nuls in its arg.

2005-08-09  Peter Stephenson  <>

	* 21583: Thorsten Dahlheimer: Src/module.c: extend circularity
	test of zmodload -A.

	* 21582: Thorsten Dahlheimer: Src/module.c: failure status of
	zmodload -R was wrong.

	* 21578: Thorsten Dahlheimer: Src/ script used not
	to exit after cleaning up.

	* 21577 (adapted): Dan Bullok: Src/Zle/zle_main.c, Src/init.c,
	Src/utils.c: improved 21567 which re-expands the prompt and
	refreshes but doesn't trash the line editor.

2005-08-08  Wayne Davison  <>

	* 21580: Thorsten Dahlheimer: Test/C03traps.ztst: disable any
	pre-existing traps that could interfere with the tests.

	* 21581: Thorsten Dahlheimer: Src/builtin.c: fixed error output
	for unknown signal names when using "trap -".

	* 21581 (modified): Doc/Zsh/builtins.yo: improved "trap" docs.

	* 21584: Src/builtin.c, Test/B03print.ztst: fixed a bug in printf
	%b (introduced in the 21552 changes) where a missing arg could not
	be printed with a zero width.

2005-08-08  Peter Stephenson  <>

	* 21576: Test/E01options.ztst: test for 21575.

	* unposted: Src/exec.c: removed unnecessary augment variable from

	* 21575 plus unposted changes to Functions/TCP/*:
	Completion/compinit, Doc/Zsh/options.yo, Functions/TCP/tcp_expect,
	Functions/TCP/tcp_open, Functions/TCP/tcp_read, Src/exec.c,
	Src/options.c, Src/params.c, Src/zsh.h: Add WARN_CREATE_GLOBAL
	option to warn when an assignment in a function creates a global

	* 21567: Dan Bullok: Src/utils.c: trash zle when updating window
	size since otherwise multiline prompts get screwed up.

2005-08-08  Oliver Kiddle  <>

	* 21570: Completion/Unix/Command/_subversion: complete for the
	help sub-command

	* unposted: Completion/Linux/Command/_brctl: new brctl completion

	* 21566: Tobias Gruetzmacher: Completion/Unix/Command/_darcs:
	fix to list all repositories

2005-08-07  Clint Adams  <>

	unposted: Completion/Unix/Command/_mencal: fix syntax error
	introduced by recent cleanup.

2005-08-02  Peter Stephenson  <>

	* 21557: Thorsten Dahlheimer: Src/glob.c: BRACE_CCL was broken
	for character 255.

2005-08-01  Wayne Davison  <>

	* unposted: Src/builtin.c: silenced a compiler warning.

	* unposted: Test/B03print.ztst: some slight improvements to
	the existing no-newline test cases, plus a few more tests.

2005-08-01  Oliver Kiddle  <>

	* unposted: Completion/Debian/Command/_apt-move,
	Completion/Debian/Command/_uscan, Completion/Debian/Command/_wajig,
	Completion/Unix/Command/_cal, Completion/Unix/Command/_ccal,
	Completion/Unix/Command/_dhclient, Completion/Unix/Command/_fortune,
	Completion/Unix/Command/_mencal, Completion/Unix/Command/_perforce,
	Completion/Unix/Command/_pump, Completion/Unix/Command/_surfraw:
	various cleanups: fix indentation and capitalisation of descriptions

	* 21393: Completion/Unix/Command/_kvno: add missing local declarations

2005-08-01  Peter Stephenson  <>

	* 21552: Thorsten Dahlheimer: Src/builtin.c: various fixes to the
	print builtin.

	* unposted: Completion/Unix/Command/_perforce: add the as yet
	undocumented "attribute" command.

	* 21551: Matthias Kopfermann: FEATURES: file<20-> globbing
	example is confusing.

	* 21546: Doc/Zsh/params.yo: document the oddities of subscripts
	when searching arrays.

	* 21544: Thorsten Dahlheimer:, Src/system.h: ioctl()
	prototyping was substandard and missing on Cygwin.

2005-07-31  Peter Stephenson  <>

	* 21553: Doc/, Doc/.distfiles: Create zsh.pdf
	using texi2dvi to ensure cross-references and indexes are OK;
	don't distribute PostScript files any more, though they can
	still be made.

2005-07-29  Wayne Davison  <>

	* 21548: Completion/Unix/Command/_rsync:  Made file completion
	work after --include-from= and --exclude-from=.

2005-07-28  Peter Stephenson  <>

	* unposted: Functions/Exceptions/.distfiles: added to archive.

	* 21541: Src/Zle/zle_hist.c, Src/Zle/zle_main.c,
	Src/Zle/zle_misc.c, Src/Zle/zle_params.c, Src/Zle/zle_tricky.c,
	Src/Zle/zle_utils.c: remove some warnings from

	* unposted: Completion/Unix/Command/_perforce: updated for
	features of Perforce 2005.1 release.

2005-07-28  Doug Kearns  <>

	* 21540: Completion/Unix/Command/_aap: update aap completion for version
	1.076; add target descriptions; search up directory tree for main.aap
	recipe file if --up is specified

2005-07-26  Wayne Davison  <>

	* unposted: Src/utils.c, Src/Zle/zle_main.c, Doc/Zsh/options.yo:
	Moved the PROMPT_SP output into preprompt() so that it takes
	effect prior to things like precmd, the mail-check output, etc.
	Also added an inverse hash (#) that helps to distinguish when a
	partial line was preserved.

	* 21532: Etc/FAQ.yo: updated the precmd in the prompt-
	overwriting section to output an inverse hash when we preserve a
	partial line, to simplify the output (it's all one "print" now),
	and include a \r at the end (so that the echoing of user-input
	will be less likely to cause an unintended wrap).

2005-07-26  Clint Adams  <>

	* 21529:, Src/zsh.mdd: move scriptdir to a scripts
	subdir, and don't include Scripts in fpath.

2005-07-26  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_rake: declare expl local

2005-07-26  Peter Stephenson  <>

	* 21527: Functions/Newuser/.distfiles,
	Functions/Newuser/zsh-newuser-install, Scripts/newuser: don't
	use function if it failed to load; rename to zsh-newuser-install
	in case there are more zsh-newuser-* functions in future.

2005-07-25  Clint Adams  <>

	* 21526: Completion/Unix/Command/_dhclient: handle dhclient V3 as
	well as V2.

	* 21523, 21524: Julius Plenz: Completion/Unix/Command/_dhclient,
	Completion/Unix/Command/_pump: completions for pump and dhclient.

2005-07-25  Wayne Davison  <>

	* 21518 (modified): Src/builtin.c, Src/utils.c, Test/B03print.ztst:
	more collaboration with Thorsten Dahlheimer to change the handling
	of \c in echo and printf to make it comply with POSIX.

2005-07-25  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_php: add missing compset -S call
	when completing directives

2005-07-24  Wayne Davison  <>

	* unposted: Src/utils.c: improved the function comment for

	* 21509: Thorsten Dahlheimer: Src/utils.c, Src/params.c: fixed
	some issues with \c parsing.

	* 21501: Thorsten Dahlheimer: Src/ fixed a cygwin
	install target to make sure the bindir exists.

2005-07-24  Clint Adams  <>

	* 21519: Completion/Unix/Command/_baz: only complete files
	after baz commit, not archive/version.

	* 21517: Completion/Unix/Command/_baz: complete files after
	build-config if there's a configs subdir, even if one is not in a
	project tree.

	* 21510: Config/ use && rather than -a binary
	test operator.

2005-07-23  Clint Adams  <>

	* 21505, 21506: Completion/Unix/Command/_rubber: use an array for
	common arguments rather than an additional function, and use
	globbing instead of ls and sed.

	* 21504: Completion/Unix/Command/_xscreensaver,
	Completion/X/Command/_xscreensaver: move xscreensaver-command
	completion to the X dir.

2005-07-21  Peter Stephenson  <>

	* unposted: Completion/Debian/Command/.distfiles,
	Completion/Unix/Type/.distfiles, Completion/X/Command/.distfiles,
	Doc/Zsh/.distfiles, Functions/MIME/.distfiles,
	Functions/Newuser/.distfiles, Functions/TCP/.distfiles,
	Functions/Zle/.distfiles, Scripts/.distfiles,
	Src/Modules/.distfiles:  Bring .distfiles up to date.

2005-07-20  Peter Stephenson  <>

	* 21500:, Config/,
	Config/, Functions/Newuser/zsh-install-newuser,
	Scripts/newuser, Src/Modules/newuser.mdd: Add framework for
	function to be edited to provide new user startup files.

2005-07-20  Clint Adams  <>

	* 21499: Doc/ use newer texi2html syntax.

2005-07-20  Peter Stephenson  <>

	* 21498:, Configs/, Doc/,
	Doc/Zsh/mod_newuser.yo, Src/init.c, Src/module.c, Src/zsh.mdd,
	Src/Modules/newuser.c, Src/Modules/newuser.mdd: Add zsh/newuser
	module, currently with no associated shell code.

2005-07-20  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_rake: add -s option to _arguments

2005-07-19  Wayne Davison  <>

	* unposted: Etc/FAQ.yo: revert erroneous 3.0 -> 4.3.0 change.

	* 21492: Etc/FAQ.yo: a more extensive update to the prompt-
	overwriting section in light of PROMPT_SP.

2005-07-18  Peter Stephenson  <>

	* unposted: Etc/FAQ.yo: version in 21490 should be 4.3.0.

	* 21490: Etc/FAQ.yo: update FAQ to reflect 21464.

2005-07-16  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_python: escape colons in -W option
	argument message

2005-07-15  Wayne Davison  <>

	* 21464: Doc/Zsh/options.yo, Src/zsh.h, Src/options.c, Src/init.c,
	Src/Zle/zle_main.c: added a new option, PROMPT_SP, designed to save
	a partial line before the prompt can cover it up (due to PROMPT_CR).

2005-07-15  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_python: add missing -C option to
	_arguments; complete script arguments with _normal

2005-07-14  Peter Stephenson  <>

	* 21466: Src/Modules/files.c: lstat() should be stat() in mkdir -p
	test (from Fr. Br. George).

2005-07-12  Doug Kearns  <>

	* 21449: Completion/Unix/Command/_ruby: limit options available to
	RUBYOPT env variable to -[IdvwrK]; include directories specified with
	-I in the search path used to generate library matches

	* 21446 (modified): Completion/Unix/Command/_rake: generate targets for
	rakefiles in parent directories and those specified with -f; include
	directories specified with -I in the search path used to generate
	library matches

2005-07-12  Clint Adams  <>

	* 21447: Completion/Unix/Command/_rubber: completion for
	rubber, contributed by Emmanuel Hainry and Emmanuel

2005-07-11  Doug Kearns  <>

	* 21443: Completion/Unix/Command/_rake: new completion for rake

	* unposted: Completion/Unix/Command/_ruby: fix typo in first normal arg

2005-07-11  Bart Schaefer  <>

	* 21428: Travis Spencer: Src/Zle/computil.c: fix null pointer deref
	on wrong number of arguments to compvalues.

2005-07-10  Bart Schaefer  <>

	* 21423: Travis Spencer: Completion/Unix/Command/_unexpand:
	completion for both GNU and Sun/BSD unexpand variants.

	* unposted: Functions/Misc/allopt: use "set -o" to avoid twaddling
	the setting of kshoptionprint.

2005-07-10  Clint Adams  <>

	* 21416: Completion/Unix/Command/_gpg: cope with an equals
	sign after --keyring.

	* 21417: Completion/Unix/Command/_xscreensaver: completion
	for xscreensaver-command.

	* 21418: Completion/Debian/Command/_madison: completion
	for madison.

2005-07-08  Peter Stephenson  <>

	* users/9059: Nikolai Weibull: Completion/Unix/Command/_vim:
	improved _vim_files.

2005-07-07  Peter Stephenson  <>

	* users/9049: Completion/Unix/Command/_vim: add variant names
	of vim, but not yet vi, ex, view.

	* users/9045: Nikolai Weibull
	Completion/Unix/Command/_vim: new completion function.

2005-07-06  Peter Stephenson  <>

	* 21402: Src/Zle/compmatch.c: Fix crash completing the set
	of files AIWebKitMessageViewController.m,
	AIWebKitMessageViewPlugin.m, AIWebkitMessageViewStyle.m
	with case-insensitive matching.

2005-07-03  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_w3m: add missing compset -S calls
	when completing option names and proxy usernames

	* 21400: Completion/Unix/Command/_ruby: add completion for RUBYOPT,
	RUBYLIB and RUBYPATH env variables

2005-06-30  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_links: declare parameter vals

2005-06-28  Doug Kearns  <>

	* 21392: Completion/Unix/Command/_w3m: update w3m completion for
	version 0.5.x; add completion for URLs from the bookmarks file,
	options, charsets, and proxy authentication

2005-06-28  Peter Stephenson  <>

	* 21391: Src/jobs.c: Restrict passing of signals from foreground
	processes to the shell to SIGINT and SIGQUIT (i.e. those
	generated from the keyboard).  This removes some unexpected
	behaviour with SIGPIPE being passed to the shell.

2005-06-27  Doug Kearns  <>

	* unposted: Completion/Unix/Type/_urls: complete WWW_HOME, ftp_proxy
	and https_proxy with URLs

2005-06-27  Peter Stephenson  <>

	* 21387: Doc/Zsh/contrib.yo: document the precision features
	in zcalc.

2005-06-26  Clint Adams  <>

	* 21384: Completion/X/Command/_urxvt: small fixes
	to urxvt completion.

	* 21383: nuno alexandre: Completion/X/Command/_urxvt:
	completion for rxvt-unicode.

2005-06-24  Clint Adams  <>

	* 21382: Completion/Unix/Command/_kvno: completion for MIT
	krb5's kvno.

2005-06-24  Oliver Kiddle  <>

	* 21380: Completion/Linux/Command/_iwconfig,
	Completion/Linux/Command/_tune2fs, Completion/Unix/Command/_wget,
	Completion/Linux/Command/_mii-tool: update for wget 1.10, add
	missing descriptions and other minor improvements

2005-06-24  Doug Kearns  <>

	* unposted: Completion/Debian/Command/_apt-move: prevent function from
	returning early and preventing prefix-needed style from working when
	set to false

	* 21379: Completion/Unix/Command/_wget: improve --restrict-file-names
	completion by allowing 'nocontrol' as an argument

2005-06-21  Doug Kearns  <>

	* 21334: Completion/Linux/Command/_pkgtool: fix typo in -target_dir

2005-06-21  Oliver Kiddle  <>

	* 21317: Src/glob.c, Test/D02glob.ztst: fix bug where recursive
	glob within e qualifier would hang the shell

2005-06-20  Bart Schaefer  <>

	* unposted: Functions/Misc/zargs: support -I and -L as synonyms
	for -i and -l, except that the former require their arguments.
	Document several differences from POSIX xargs behavior.  V 1.4.

2005-06-18  Doug Kearns  <>

	* 21343: Completion/Unix/Command/_php: update php completion for
	version 5.0; continue supporting version 4.x via _pick_variant

2005-06-17  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_darcs: tidy up command

2005-06-17  Oliver Kiddle  <>

	* 21352: Harald van Dijk: Src/builtin.c: handle null after % in
	printf format specifier

	* unposted: Test/B03print.ztst: add test for 21352

2005-06-16  Clint Adams  <>

	* 21351: Completion/X/Command/_vnc: complete for xvnc4viewer and

2005-06-14  Clint Adams  <>

	* 21243: Kazuhiro NISHIYAMA: Completion/Unix/Command/_subversion:
	complete first option of svn subcmds.

2005-06-13  Bart Schaefer  <>

	* 21328: Src/init.c: in loop(), avoid preprompt() when not looping at
	the top level (prevents double precmd call during "fc -e -").

2005-06-11  Doug Kearns  <>

	* 21316 (modified): Completion/Unix/Command/_less,
	Completion/Unix/Type/_ctags_tags: new completion for ctags tags; update
	less -t completion to use it

	* 21320: Completion/Unix/Command/_screen: complete -D and -R with the
	appropriate session types; fix incorrect completion of -c and -dmS

	* 21321: Completion/Unix/Command/_antiword: update antiword completion
	for version 0.36

2005-06-09  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_less: fix typo in state name

2005-06-08  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_ant: add missing options specific
	to the launch script

2005-06-08  Oliver Kiddle  <>

	* 21315: Completion/AIX/Command/_floppy,
	Completion/AIX/Command/_lsdev, Completion/AIX/Command/_lslv,
	Completion/AIX/Command/_lsvg, Completion/AIX/Type/_logical_volumes,
	Completion/Debian/Command/_bug, Completion/Unix/Command/_gs,
	Completion/Unix/Command/_imagemagick, Completion/Unix/Command/_java,
	Completion/Unix/Command/_last, Completion/Unix/Command/_links,
	Completion/Unix/Command/_lsof, Completion/Unix/Command/_mount,
	Completion/Unix/Command/_perldoc, Completion/Unix/Command/_user_admin,
	Completion/Unix/Command/_yp, Completion/Unix/Command/_zdump,
	Completion/Unix/Type/_dir_list, Completion/Unix/Type/_domains,
	Completion/Unix/Type/_file_systems, Completion/Unix/Type/_groups,
	Completion/Unix/Type/_hosts, Completion/Unix/Type/_java_class,
	Completion/Unix/Type/_locales, Completion/Unix/Type/_perl_basepods,
	Completion/Unix/Type/_perl_modules, Completion/Unix/Type/_pids,
	Completion/Unix/Type/_ports, Completion/Unix/Type/_printers,
	Completion/Unix/Type/_services, Completion/Unix/Type/_tex,
	Completion/Unix/Type/_texi, Completion/Unix/Type/_time_zone,
	Completion/Unix/Type/_users, Completion/X/Type/_x_cursor,
	Completion/X/Type/_x_extension, Completion/X/Type/_x_font,
	Completion/X/Type/_x_keysym, Completion/Zsh/Command/_print,
	Completion/Zsh/Command/_read, Completion/Zsh/Command/_unhash,
	Completion/Zsh/Type/_arrays, Completion/Zsh/Type/_file_descriptors,
	Completion/Zsh/Type/_functions, Completion/Zsh/Type/_jobs_bg,
	Completion/Zsh/Type/_jobs_fg, Completion/Zsh/Type/_limits,
	Completion/Zsh/Type/_options, Completion/Zsh/Type/_options_set,
	Completion/Zsh/Type/_options_unset: make completion functions
	give precedence to descriptions passed as parameters and
	cleanup	descriptions in calling functions

	* 21314: Doc/Zsh/compsys.yo: declare expl local in example use
	of _wanted

	* unposted: Completion/Linux/Command/_yast: new yast completion

	* 21313: Completion/Unix/Type/_email_addresses: make code for
	extracting mutt aliases do a better job of finding rc files

2005-06-08  Doug Kearns  <>

	* 21306: Completion/Zsh/Command/_disable: add -s option for removing
	suffix aliases

	* 21310: Completion/Unix/Type/_global_tags: pass an array to compadd;
	redirect stderr to /dev/null when generating matches with _call_program

	* 21302: Completion/Linux/Command/_pkgtool,
	Completion/Unix/Command/_ant, Completion/Unix/Command/_bogofilter,
	Completion/Unix/Command/_cdrecord, Completion/Unix/Command/_chkconfig,
	Completion/Unix/Command/_chmod, Completion/Unix/Command/_gs,
	Completion/Unix/Command/_look, Completion/Unix/Command/_mount,
	Completion/Unix/Command/_python, Completion/Unix/Command/_rar,
	Completion/Unix/Type/_file_systems, Completion/Unix/Type/_global_tags,
	Completion/Unix/Type/_locales, Completion/Unix/Type/_user_at_host,
	Completion/X/Command/_mozilla, Completion/X/Command/_mplayer,
	Completion/X/Command/_netscape, Completion/X/Type/_x_visual,
	Completion/Zsh/Context/_equal: make sure expl is declared local in
	completion functions

2005-06-07  Doug Kearns  <>

	* unposted: Completion/Zsh/Command/_dirs: fix typo in opt description

2005-06-06  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_raggle: fix typo in tag name

2005-06-02  Doug Kearns  <>

	* 21293: Completion/Unix/Command/_ant: update ant completion for
	version 1.6.4; always use the -find and -buildfile options when
	completing targets

2005-06-01  Peter Stephenson  <>

	* unposted: Src/builtin.c: need const for result of getsigname().

	* 21296: Doc/Zsh/builtins.yo [this hunk missing from post],
	Doc/Zsh/func.yo, Src/builtin.c, Src/jobs.c, Src/zsh.h:
	Allow ERR signal as alias for ZERR on systems that don't
	have SIGERR.  Make "trap" report the name used when the trap
	was set rather than the canonical name.

2005-06-01  Doug Kearns  <>

	* 21294: Completion/Cygwin/Command/_cygstart,
	Completion/Unix/Command/_ccal, Completion/Unix/Command/_perl,
	Completion/Unix/Command/_surfraw, Completion/Unix/Command/_vux,
	Completion/X/Command/_kfmclient: fix incorrectly capitalized completion

2005-05-31  Geoff Wing  <>

	* 21290: don't need backslash quoting within single-quote
	areas.  Change constant RE boundary characters to slash.

2005-05-30  Oliver Kiddle  <>

	* 21266: Completion/Unix/Command/_mh: improve completion of sequences

2005-05-26  Doug Kearns  <>

	* 21275 (modified): Completion/Unix/Command/_raggle: update raggle
	completion for version 0.4.0

2005-05-23  Bart Schaefer  <>

	* unposted: Functions/Prompts/prompt_bart_setup: print whitespace
	to stderr for promptcr adjustments, because the prompt itself is
	printed to stderr.

2005-05-23  Peter Stephenson  <>

	* 21270: Src/system.h: don't use poll() on Apple.

	* users/8863: Doc/Zsh/contrib.yo, Functions/Zle/which-command:
	enhanced which-command that traces the final command better.

	* users/8856: Src/Zle/zle_tricky.c: which-command shouldn't expand
	aliases before passing first argument.

2005-05-22  Bart Schaefer  <>

	* unposted: Completion/Base/Widget/_complete_debug: add a colon
	command so name and version of zsh appear in debug output.

2005-05-21  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_webbrowser: add firefox to
	list of basic URL completed web browsers

2005-05-17  Peter Stephenson  <>

	* 21264: Doc/Zsh/arith.yo: document the return status of (( ... )).

2005-05-17  Geoff Wing  <>

	* unposted: Etc/FAQ.yo: update mirror sites

2005-05-13  Oliver Kiddle  <>

	* Jesse W: 21244 (modified): Completion/Darwin/Command/_qtplay:
	new completion for qtplay (Quick Time wrapper for Mac OS X)

	* unposted: Completion/X/Command/_qiv: new completion for qiv

2005-05-13  Motoi Washida <>

	* users/8826: Completion/Darwin/Type/_retrieve_mac_apps: search
	applications using spotlight.

2005-05-12  Felix Rosencrantz <>

	* 21257: Completion/Unix/Command/_perforce: fix minor typo
	in completion for the p4 password command.

2005-05-11  Oliver Kiddle  <>

	* Joerg Sonnenberger: 21252:, Src/Modules/zpty.c,
	Completion/BSD/Command/_chflags, Completion/Unix/Command/_apm,
	Completion/Unix/Command/_cvs, Completion/Unix/Command/_ifconfig,
	Completion/Unix/Command/_mount, Completion/Unix/Command/_mt,
	Completion/Unix/Command/_sysctl, Completion/Unix/Type/_file_systems,
	Completion/Unix/Type/_net_interfaces: Dragonfly BSD support

2005-05-10  Oliver Kiddle  <>

	* 21248: Doc/Zsh/mod_socket.yo: avoid use of subsection within
	list because it causes makeinfo to produce broken docbook XML

	* Haakon Riiser: 21188: Completion/X/Command/_acroread: handle
	acroread 7.x

2005-05-09  Bart Schaefer  <>

	* unposted (see 21240): Functions/Prompts/prompt_bart_setup,
	Functions/Prompts/prompt_fire_setup, Functions/Prompts/promptinit:
	assorted cleanup triggered by the discovery that elite2 has never
	really worked correctly.

2005-05-09  Clint Adams  <>

	* 21239: Completion/Unix/Command/_ccal: completion for

2005-05-09  Peter Stephenson  <>

	* 21211: Doc/Zsh/expn.yo, Src/pattern.c, Test/D02glob.ztst:
	Add [[:IDENT:]], [[:IFS:]], [[:IFSSPACE:]], [[:WORD:]] tests.

2005-05-08  Bart Schaefer  <>

	* 21235, 21236: Completion/Unix/Command/_ssh: fix remote filename
	quoting and wrong exit status, both in _remote_files.

2005-05-07  Clint Adams  <>

	* Jesse Weinstein: 21233: Completion/Debian/Command/_dpkg:
	completion for dpkg-query.

2005-05-06  Bart Schaefer  <>

	* 21229: Doc/ fix fake build run when yodl isn't found

2005-05-05  Clint Adams  <>

	* Jesse Weinstein: 21230 (reformatted as 21231):
	Completion/Debian/Command/_dpkg: complete -W/--show
	for dpkg-deb.

2005-04-30  Bart Schaefer  <>

	* 21215: Test/C03traps.ztst: clean up TRAPEXIT file left behind by
	autoloaded trap test.

2005-04-27  Peter Stephenson  <>

	* 21197: Src/exec.c, Src/signals.c: LOCAL_TRAPS didn't restore
	a trap when modified inside another trap.

2005-04-27  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  Made some
	options repeatable (--include, --exclude, --filter, -f)
	and added the one new option that will be in 2.6.5.

2005-04-26  Peter Stephenson  <>

	* 21195 (c.f. 21194 from Bart): Src/pattern.c,
	Test/D04parameter.ztst: 21170 broke handling of zero-length
	quoted test strings.

2005-04-25  Peter Stephenson  <>

	* 21184: Test/B04read.ztst: test for foregoing fix.

	* users/8752: Src/builtin.c: stripping IFS characters after
	reading a line in the read builtin wasn't sensitive to metafied

2005-04-24  Bart Schaefer  <>

	* unposted: Src/parse.c: get rid of unused third argument of

	* unposted: Functions/Prompts/prompt_bart_setup: employ a variant
	of Oliver's suggestion from 21117 to handle promptcr better.

	* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/compctl.yo,
	Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Doc/Zsh/expn.yo,
	Doc/Zsh/invoke.yo, Doc/Zsh/mod_zutil.yo, Doc/Zsh/tcpsys.yo:
	fix a lot of places where info compilation was reducing two
	hyphens to only one.

	* unposted: Doc/ yodl with a little less echo.

	* unposted (cf. 20494): Completion/Base/Widget/_generic,
	Doc/Zsh/compsys.yo: pass the positional parameters of _generic
	through to _main_complete.

	* 21174: Src/glob.c: additional Meta-increment/decrement of
	pointers when walking metafied strings (goes with 21170).

	* Tobias Gruetzmacher 21168 (slightly tweaked):
	Completion/Unix/Command/_subversion: localize some completion
	variables that were unnecessarily made global, and hide from
	typeset display the values of a few others.

2005-04-24  Peter Stephenson  <>

	* 21170: Src/glob.c, Src/pattern.c: optimise length calculations
	which were causing inefficiency in ${...//.../...} on large

2005-04-22  Geoff Wing  <>

	* 20162: Src/Zle/compresult.c: in printlist() don't output new line
	if we haven't printed anything

2005-04-21  Clint Adams  <>

	* users/8733: Completion/Unix/Command/_surfraw: rudimentary
	completion for surfraw.

2005-04-19  Clint Adams  <>

	* 21156: Completion/Debian/Command/_dpkg: tweaks to
	dpkg-reconfigure completion.

2005-04-18  Felix Rosencrantz <>

	* 21154: Completion/Unix/Command/_perforce: add pid completion for
	monitor (clear|terminate) commands.

2005-04-17  Clint Adams  <>

	* 21153: Completion/Debian/Command/_module-assistant: incorporate
	most of the features of Stephen Rueger's _module-assistant, posted
	as 21152.

	* 21151: Completion/Debian/Command/_module-assistant: completion
	for module-assistant.

	* 21150: Completion/Unix/Command/_baz,
	Completion/Unix/Command/_tla: handle parsing of subcommand help
	output a bit more sanely.

2005-04-16  Bart Schaefer  <>

	* unposted (see 21148): Test/A04redirect.ztst: update test for
	change in error message.

2005-04-16  Clint Adams  <>

	* 21147: Completion/Unix/Command/_baz,
	Completion/Unix/Command/_tla, Completion/Unix/Type/_arch_archives,
	Completion/Unix/Type/_arch_namespace: factor out some common code
	from _tla and _baz, and fix some breakage from 21075.

2005-04-15  Peter Stephenson  <>

	* 21143: Src/exec.c, Src/Modules/socket.c: be more careful when
	closing or opening sockets onto file descriptors.

2005-04-14  Peter Stephenson  <>

	* 21141: Doc/Zsh/redirect.yo, Src/exec.c, Test/A04redirect.ztst:
	make NO_CLOBBER apply to {myfd}>... redirections, improve
	some error cases, fix bug that {myfd}>>(...) hung on a builtin.

2005-04-13  Bart Schaefer  <>

	* 21064: Test/D03procsubst.ztst: test case for 21049.

2005-04-13  Peter Stephenson  <>

	* 21136: Test/C03traps.ztst: don't leave TRAPEXIT file lying
	around in Test directory.

2005-04-12  Clint Adams  <>

	* 21135: Completion/Unix/Command/_screen: complete attached
	sessions after screen -x.

2005-04-12  Peter Stephenson  <>

	* 21134: Test/A04redirect.ztst: error for bad file descriptor
	can vary between systems.

	* 21133: Doc/Zsh/redirect.yo, Src/exec.c, Src/parse.c, Src/text.c,
	Src/zsh.h, Test/A04redirect.ztst: New {myfd}> syntax for
	allocating file descriptors.

2005-04-11  Clint Adams  <>

	* 21132: Completion/Unix/Type/_pdf, Completion/X/Command/_xpdf:
	complete xpdf options, and also complete .pdf.bz2 files when
	completing compressed PDF files.

2005-04-11  Peter Stephenson  <>

	* 21131: Src/init.c, Test/A01grammar.ztst: exit with status 127
	when a script is not found, making the error message more

2005-04-10  Clint Adams  <>

	* unposted: config.guess, config.sub: update to 2005-03-24 and
	2005-02-10, respectively.

2005-04-08  Clint Adams  <>

	* 21125: Src/Zle/zle_main.c: do an initial conversion when
	zle is loaded.

	* 21124: Src/Zle/zle_main.c, Src/init.c, Src/params.c:
	have zle cache a wide-char version of WORDCHARS each time
	it's changed (when ZLE_UNICODE_SUPPORT is defined).

2005-04-08  Oliver Kiddle  <>

	* 21107: handle case where there is a native iconv
	but GNU libiconv's iconv.h is picked up first

2005-04-06  Clint Adams  <>

	* 21096: Completion/X/Command/_gv: update for gv 3.6,
	which uses double-hyphen options.

2005-04-06  Peter Stephenson  <>

	* Carlos Phillips <>:
	private email: Completion/Unix/Command/_darcs: much improved
	completion for darcs.

2005-04-05  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  Made --address
	work for both client- and daemon-mode.

2005-04-05  Peter Stephenson  <>

	* 21095 slightly tweaked to include bits of users/8658:
	Etc/FAQ.yo: update completion FAQ and the most out-of-date
	parts of the description of bugs and features.

2005-04-04  Peter Stephenson  <>

	* Toby Peterson: 21083: On Mac OS X 10.4, the AS and RSS rlimits
	are the same.  Also utmpx doesn't have ut_name.  In fact, it
	doesn't seem to have it on any system.

	* Dan Nelson: 21082: Src/exec.c, Test/A01grammar.ztst: fix zsh -c
	exit status on parse error.

2005-04-03  Andrey Borzenkov  <>

	* 21086: Completion/Unix/Command/_rsync: fix module completion,
	redirect rsync errors to /dev/null, use -S "" as suggested
	by Oliver.

	* 21085: Completion/Mandrake/Command/_urpmi: update for 10.2,
	add parsehdlist, use urpmq --list options to get media and
	package list

2005-04-01  Oliver Kiddle  <>

	* 21081: Completion/Unix/Command/_fuser: complete network
	services for the psmisc version of fuser

	* unposted: Completion/Unix/Command/_subversion: minor correction

2005-04-01  Peter Stephenson  <>

	* c.f. 21071: Doc/Zsh/{builtins.yo,compsys.yo,compwid.yo,func.yo,
	tcpsys.yo}: use "status" for exit and return status
	instead of "value" or "code".

	* 21078: Src/init.c, Test/A01grammar.ztst: parse errors didn't
	cause non-zero exit status.

2005-03-31  Oliver Kiddle  <>

	* 21076: Completion/Unix/Command/_subversion: use _files with
	(e) glob qualifier to handle completing files by their status

2005-03-27  Clint Adams  <>

	* 21075: Completion/Unix/Command/_baz: update baz completion
	to not use -A option since it's being dropped in baz 1.3.

	* Zack Cerza: 21074: Completion/Debian/Command/_aptitude: update
	for newer aptitude.

2005-03-31  Peter Stephenson  <>

	* 21049: Src/exec.c, Src/init.c, Src/utils.c, Src/zsh.h: Don't
	close file descriptors opened for process substitution when
	executing external programmes in a shell function.  Rewrite
	the corresponding code to make it more transparent.

2005-03-28  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  Added --protocol.

2005-03-27  Clint Adams  <>

	* 21068: Completion/Unix/Command/_subversion: complete modified
	files for 'svn revert'.

2005-03-27  Andrey Borzenkov  <>

	* 21066: Completion/Unix/Command/_rsync: rsync:// URL support,
	fix modules completion, strip remote banners

2005-03-24  Andrey Borzenkov  <>

	* 21053: Completion/X/Command/_kfmclient: use kde search path
	to find profiles in openProfile

2005-03-22  Andrey Borzenkov  <>

	* 21051 (modified as suggested by Oliver in 21052):
	Completion/Unix/Command/_fuser: for SVR4 complete signals only after
	-k; fix file name as first argument.

2005-03-21  Peter Stephenson  <>

	* 21046: Completion/Base/Completer/_approximate:  use extra tests
	and "always" block to make unfunction of compadd more reliable.

2005-03-21  Peter Stephenson  <>

	* 21045: Src/Zle/compcore.c, Src/Zle/complete.c: more places
	where completion didn't handled Meta characters.

2005-03-21  Oliver Kiddle  <>

	* Stephen Rüger: 21019: Completion/Unix/Command/_mpc:
	new completion for mpc

2005-03-21  Peter Stephenson  <>

	* 21042: Src/Zle/zle_main.c, Doc/Zsh/zle.yo: test for and
	document limitation that execute-named-command and
	execute-last-named-command can't be redefined or called by name.

2005-03-18  Wayne Davison  <>

	* 20984 (modified): Src/zsh.h, Src/options.c, Src/hist.c,
	Doc/Zsh/options.yo:  Added a new option, HIST_SAVE_BY_COPY, and
	made it enabled by default.  This changes the rewriting of the
	history file to be done via copy and rename rather than truncate
	and write-in-place.

2005-03-18  Peter Stephenson  <>

	* 21014: Src/Zle/zle_hist.c: remember_edits() was broken,
	which meant that searching the current line didn't work.

	* zsh-users/8609: Doc/Zsh/expn.yo: document order of (u), (o)
	and (O) parameter expansion flags.

2005-03-16  Peter Stephenson  <>

	* 20983: Test/D02glob.ztst, Src/glob.c: fixed string segments
	in globbed paths could be copied wrongly, resulting in failed globs.

2005-03-15  Peter Stephenson  <>

	* 20978: Src/zle_main.c: don't propagate EOFs from recursive

2005-03-11  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  A few more tweaks
	to the various --*-dest options.

2005-02-28  Philippe Troin  <>

	* 20886: Use TTOU with trap rather than SIGTTOU.

2005-03-13  Bart Schaefer  <>

	* unposted: Functions/Prompts/prompt_bart_setup: Update to some
	4.2.2+ features, and add special handling for nopromptcr.

2005-03-11  Bart Schaefer  <>

	* 20892: Src/utils.c: sanity improvements for setopt correctall,
	plus spell-check directory names for autocd with setopt correct.
	(Note this works only one level deep, not for paths with slashes.)

2005-03-11  Peter Stephenson  <>

	* 20966: Src/Zle/zle_misc.c: need to copy strings to avoid
	crash in completion for execute-named-command.

2005-03-09  Clint Adams  <>

	* 20961: Completion/Unix/Command/_baz: fix completion of status and
	diff subcommands.

2005-03-10  Andrey Borzenkov  <>

	* 20957: Completion/Unix/Command/_fuser:
	Add support for Solaris and SVR4

2005-03-10  Peter Stephenson  <>

	* 20959 (variant of 20958): Src/params.c, Src/Module/parameter.c,
	Test/V01zmodload.ztst: fix crash unloading zsh/parameter and test.

2005-03-09  Peter Stephenson  <>

	* 20955: README, Src/builtin.c: "unset foo" should return
	status 0 if foo was not set.

2005-03-09  Motoi Washida  <>

	* 20953: Completion/Unix/Command/_du: "du --version" tries to
	display size of files in current directory on FreeBSD and Darwin.

2005-03-09  Clint Adams  <>

	* 20951: Completion/Unix/Command/_baz: fix version detection
	and baz merge completion.

2005-03-07  Clint Adams  <>

	* 20946: Completion/Linux/Command/_iwconfig: completion for
	iwconfig command.

2005-03-07  Peter Stephenson  <>

	* 20945: Src/Zle/zle_misc.c: rename static variables to
	avoid clash with "cmdstr" exported by zle_tricky.c.

2005-03-07  Clint Adams  <>

	* 20944: Completion/Debian/Command/_uscan: completion for
	uscan command.

	* 20943: Completion/Linux/Command/_tune2fs: completion for
	tune2fs command.

	* 20942: Completion/Unix/Command/_showmount: completion for
	showmount command.

	* 20941: Completion/Unix/Command/_mii-tool: completion for mii-tool

	* 20940: Completion/Unix/Command/_knock: completion for knock

	* 20939: Completion/Unix/Command/_groff: completion for groff

	* 20938: Completion/Unix/Command/_fuser: completion for fuser

	* 20937: Completion/Unix/Command/_fortune: completion for fortune

	* 20936: Completion/Linux/Command/_acpi: completion for acpi

2005-03-05  Andrey Borzenkov  <>

	* Tobias Gruetzmacher: 20932: Completion/X/Command/_kfmclient:
	Add copy command

2005-03-04  Peter Stephenson  <>

	* unposted: Src/Zle/zle_refresh.c: correct deliberate mistake.

	* 20928: Src/Zle/zle_refresh.c: null terminate lines so that they
	can be compared reliably.

2005-03-04  Motoi Washida  <>

	* unposted: Completion/Darwin/Command/_softwareupdate: new completion

	* unposted: Completion/Darwin/Command/_hdiutil: arguments are
	required after -imagekey, -srcimagekey options

2005-03-03  Oliver Kiddle  <>

	* 20921, 20924: Src/utils.c, Completion/Unix/Command/_iconv:
	using UCS-4BE instead of ISO-10646 to identify character
	encoding is more portable; make error message more specific;
	find more encodings in iconv completion on Solaris

	* Henryk Konsek: 20918 (modified): Completion/Unix/Command/_unace:
	new completion for unace

2005-03-03  Peter Stephenson  <>

	* from Wayne, adapted: 20900: another way of preventing
	text without a newline from being overwritten by the prompt.
	(Originally suggested by Karl Chen in 20896.)

2005-03-02  Clint Adams  <>

	* 20906: Completion/Unix/Command/_make: patch from
	Mike "Stew" O'Connor to limit recursion depth in make
	completion variable expansion.

2005-03-02  Wayne Davison  <>

	* 20917: Completion/Unix/Command/_make: Don't try to expand a
	single-character Makefile variable if it is a digit.  Avoids
	an infinite recursion from a Makefile referencing $1.

2005-03-02  Clint Adams  <>

	* 20909, 20911: Src/Modules/termcap.c: reverse row and col
	arguments to tgoto(), and set affcnt to 1 unconditionally
	when we echotc a capability with arguments (which we then
	assume to be the 'cm' capability, with arguments in the
	form <rows> <columns>.

2005-03-01  Peter Stephenson  <>

	* 20897: Completion/Unix/Command/_a2ps: complete system printers
	as well as those configured into a2ps.

2005-02-28  Peter Stephenson  <>

	* 20888: Doc/Zsh/builtins.yo, Src/jobs.c: allow the prefix
	SIG in signal names used with the trap and kill builtins, for

2005-02-26  Andrey Borzenkov  <>

	* 20872: Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c:
	Fix ZC_ vs. ZS_ confusion.

2005-02-25  Peter Stephenson  <>

	* 20869: Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c,
	Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c,
	Src/Zle/zle_word.c: more small Unicode tweaks

2005-02-25  Oliver Kiddle  <>

	* 20867: Completion/Unix/Command/_ant: handle imported files
	that are specified using a relative path

2005-02-24  Peter Stephenson  <>

	* 20866: Src/Zle/zle_misc.c: two mistakes in 20861.

2005-02-24  Oliver Kiddle  <>

	* Konstantin Sobolev: 20832 (modified):
	Completion/Unix/Command/_ant: gather targets from imported files

	* 20862:, Src/system.h, Src/utils.c: attempt to
	fix configure scripts to detect iconv properly

2005-02-24  Peter Stephenson  <>

	* 20863: Src/utils.c, Src/zsh.h, Src/Zle/zle.h,
	Src/Zle/zle_hist.c, Src/Zle/zle_utils.c: fix history (i)searching
	for Unicode.

	* 20861: Src/Zle/complist.c, Src/Zle/zle.h, Src/Zle/zle_hist.c,
	Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c,
	Src/Zle/zle_thingy.c, Src/Zle/zle_vi.c: Fix use of statusline
	with Unicode, apart from isearch.

2005-02-23  Andrey Borzenkov  <>

	* 20857 (modified): Src/Zle/zle.h, Src/Zle/zle_refresh.c: use
	wide characters internally. This fixed cursor position with
	multibyte characters bug without any significant code change.
	Is still does not use character width information.

2005-02-23  Peter Stephenson  <>

	* 20856: Src/Zle/complist.c: use VARARR for multibyte string.

	* 20854: Src/Zle/complist.c, Src/Zle/zle.h, Src/Zle/zle_hist.c,
	Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_move.c,
	Src/Zle/zle_params.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c,
	Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: more Unicode stuff.

2005-02-23  Clint Adams  <>

	* 20847: Completion/compaudit: stop adding gratuitous
	elements to fpath when MARK_DIRS is set.

2005-02-23  Andrey Borzenkov  <>

	* 20845: Src/Zle/zle_main.c, Src/Zle/zle_utils.c: fix
	multibyte input in getrestchar; fix cursor position in
	zlelineasstring when cs == ll.

2005-02-22  Peter Stephenson  <>

	* 20843: Doc/Zsh/expn.yo, Src/utils.c: named directories always
	have trailing slashes pruned.  Any related parameter remains

	* Andrey Borzenkov: 20838 with minor tweaks: Src/system.h,
	Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_misc.c,
	Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: fixes to
	get ZLE_UNICODE_SUPPORT basically working.

2005-02-21  Peter Stephenson  <>

	* 20837: Doc/Zsh/contrib.yo: typos.

	* 20834: Completion/X/Command/_kfmclient: use _webbrowser for
	file/URL arguments.

	* 20833: Src/Zle/zle.h: typo in 20822: int_t should have
	been wint_t.

2005-02-19  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  A little more
	cleanup and 2 more options for the upcoming rsync 2.6.4

2005-02-19  Motoi Washida <>

	* users/8522: Completion/Darwin/Command/_defaults: fixed the
	number of spaces broken while sending the patch by email.

2005-02-18  Peter Stephenson  <>

	* 20828: Src/zle_main.c, Src/zle_misc.c: typos in 20822.

	* 20823: Src/Modules/stat.c: debugging test failed on 64-bit

	* 20822: system.h, Src/Zle/complist.c, Src/Zle/deltochar.c,
	Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c,
	Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_move.c,
	Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c,
	Src/Zle/zle_vi.c: improve input ready for multibyte/Unicode
	handling, massaging use of getkey() and lastchar.

	* Motoi Washida: users/8522: Completion/Darwin/Command/_defaults:
	Fix quotation in Darwin completion.

2005-02-16  Peter Stephenson  <>

	* 20816: Src/Builtins/rlimits.awk: extra tricks to get limit
	names and numbers required with new glibc.

2005-02-15  Peter Stephenson  <>

	* 20812: Doc/Zsh/contrib.yo, Functions/Exceptions/catch,
	Functions/Exceptions/throw, Src/zsh.mdd: add functions for
	exception handling using "always" block.

2005-02-14  Peter Stephenson  <>

	* 20811: Copy the trick for finding the
	file with signal names to make finding the file with resource
	names more reliable.

2005-02-14  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync:  Divided the options
	so that daemon options and client options are not intermixed.
	Improved some descriptions and added new options for 2.6.4.

2005-02-10  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_yodl:  Added missing
	closing double-quote.

2005-02-09  Bart Schaefer  <>

	* Kris Shannon: 20801: Completion/Unix/Command/_init_d: fix
	missing $ in the param expansion that parses the init script.

2005-02-07  Peter Stephenson  <>

	* 20798: Src/init.c: need to propagate some #ifdef's to get
	warnings to go away.

	* 20794: Config/, Src/init.c: change dev version
	to 4.3.0-dev-1 and (unrelated) don't compile in static function
	unless needed.

2005-02-06  Peter Stephenson  <>

	* (cheated and guessed) 20793: Src/builtin.c, Src/exec.c,
	Src/hashtable.c, Src/Modules/parameter.c, Src/Module/zftp.c,
	Src/parse.c, Src/signals.c, Test/C03traps.ztst: Fix bug that
	autoloaded TRAPEXIT wasn't restored properly after running an
	intermediate function; only use sigfuncs (renamed to siglists) for
	eval-style traps; augment and fix trap tests.

2005-02-04  Peter Stephenson  <>

	* 20787:, Config/, Doc/.distfiles,
	Doc/ generate zsh.pdf from zsh.texi using pdfetex;
	much better output than PS from DVI.

	* Motoi Washida: 20785: libiconv test needed
	for Mac OS X 3.

2005-02-02  Peter Stephenson  <>

	* 20777: Test/A06assign.ztst, Test/C02cond.ztst: tests for
	users/8422 and 20774.

2005-02-01  Bart Schaefer  <>

	* 20774: Src/exec.c: fix e.g. "FOO=BAR BAR=FOO echo" failure to
	unset FOO after finishing.

2005-02-01  Clint Adams  <>

	* 20773: Completion/Unix/Command/_getconf: additional variables
	from confstr().

2005-02-01  Peter Stephenson  <>

	* Peter A. Castro: 20759 updated as 20760 and 20765:,
	Src/system.h, Src/utils.c: Improve configuration of libiconv and
	pcre on Cygwin.

2005-01-28  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: Added new options
	for impending 2.6.4 release and improved the descriptions of
	several others.  Also dropped "-- ..." options to _arguments.

2005-01-27  Peter Stephenson  <>

	* users/8433: Latest Cygwin hangs on FIFO test,
	so tell it explicitly that FIFOs don't work.

2005-01-26  Clint Adams  <>

	* 20753: Src/system.h, Src/Zle/zle_params.c: use ZS_memmove
	instead of memmove.

2005-01-26  Peter Stephenson  <>

	* 20752: Src/system.h, Src/Zle/zle.h, Src/Zle/zle_hist.c,
	Src/Zle/zle_main.c, Src/Zle/zle_params.c, Src/Zle/zle_refresh.c,
	Src/Zle/zle_utils.c: Fix access to zle parameters.

2005-01-26  Clint Adams  <>

	* 20747, 20751: Src/Zle/zle_refresh.c, Src/system.h: some
	wide char support in the zle refresh code.

2005-01-26  Peter Stephenson  <>

	* 20750: Src/zle_utils.c: 20742 could cause hang when line
	resized to empty.

2005-01-25  Peter Stephenson  <>

	* 20742: Src/system.h, Src/Zle/zle.h, Src/Zle/zle_main.c,
	Src/Zle/zle_misc.c, Src/Zle/zle_params.c, Src/Zle/zle_utils.c:
	More Unicode stuff.  A few more definitions, some conversion
	utilities between line and string, fix types and sizes for
	cutbuffer/killring and undo.

2005-01-24  Peter Stephenson  <>

	* users/8422: Src/cond.c: [[ ... -nt ... ]] and [[ ... -ot ... ]]
	with non-existent files (or any failed state) were recorded
	as errors, causing initialisation scripts, functions, etc., etc.
	to exit.

2005-01-23  Clint Adams  <>

	* 20737, 20739: Completion/Unix/Command/_subversion: run svn
	  commands with LC_MESSAGES=C.

2005-01-22  Clint Adams  <>

	* 20736: Src/Zle/zle_utils.c: change zlegetline() to return
	a metafied string.

	* unposted (cf. zsh-users/8412): Config/ fix
	year typo.

	* 20735: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and
	zlegetline caller so that the octet-based and wide-character
	versions should return the same string.

2005-01-21  Bart Schaefer  <>

	* unposted (cf. zsh-users/8409): Functions/Zle/keeper: "keeper"
	suite from article.

2005-01-21  Oliver Kiddle  <>

	* unposted: remove Completion/Unix/Command/_larch: larch has
	been superseded by tla and is no longer available

	* 20734: Completion/Linux/Command/_valgrind: rewrite to handle
	version 2.2.0 of valgrind

	* 20730 (modified): Completion/Base/Completer/_expand: fix
	suffix style to regard quoted special characters as not special

2005-01-19  Peter Stephenson  <>

	* 20728 (with typo fixed):, Doc/Zsh/builtins.yo,
	Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: Handle
	-x for RLIMIT_LOCKS in ulimit.

2005-01-17  Peter Stephenson  <>

	* unposted: suggested by Bart: Etc/FAQ.yo: update a few entries.

2005-01-17  Oliver Kiddle  <>

	* Motoi Washida: users/8380: Completion/Darwin/Command/_defaults:
	complete plist files

2005-01-16  Clint Adams  <>

	* 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode

2005-01-14  Peter Stephenson  <>

	* unposted: update version to 4.2.3-dev-1.

	* c.f. 20675:, Src/builtin.c, Src/exec.c, Src/hist.c,
	Src/init.c, Src/input.c, Src/jobs.c, Src/lex.c, Src/loop.c,
	Src/params.c, Src/signals.c, Src/system.h, Src/utils.c, Src/zsh.h,
	Src/Zle/compcore.c, Src/Zle/compctl.c,
	Src/Zle/complist.c, Src/Zle/compresult.c, rc/Zle/deltochar.c,
	Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c,
	Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_params.c,
	Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c,
	Src/Zle/zle_vi.c, Src/Zle/zle_word.c: Make it easier to add
	support for Unicode etc. to Zle. line is called zleline and is not
	directly visible in the main shell.  cs and ll are called zlecs
	and zlell but are still visible in the main shell (this will
	probably need changing).  Pointers to zle functions are addressed
	by pointer not by confusing #define's.  Add beginnings of support
	to and system.h.  Very many pitfalls remain.

2005-01-13  Peter Stephenson  <>

	* 20708: Doc/Zsh/contrib.yo, Functions/Zle/replace-string:
	replace-string can offer previous values for editing.

	* unposted: README, Config/, Etc/FAQ.yo:
	release 4.2.3.

	* 20698: Test/ztst.zsh: improve 20692 by using tail function
	to overcome POSIX problems.

2005-01-12  Oliver Kiddle  <>

	* 20701: Src/system.h: fix compilation on Mac OS X

2005-01-12  Peter Stephenson  <>

	* users/8359: Src/Zle/complete.mdd: add in Completion/Darwin
	directories to default installation.

	* users/8354: Doc/Zsh/options.yo: with glob_complete, completing
	a word with a pattern does not use matching control.

	* unposted: Config/, README, Etc/FAQ.yo: release
	zsh version 4.2.2.

	* 20695: Src/module.c, Src/zsh.h, Src/Modules/parameter.c,
	Src/Zle/zleparameter.c: Cygwin barfs on an attempt to
	use a pointer to an imported variable in a compile-time

	* unposted: Fix .distfiles and .cvsignore for distribution.

	* unposted: Completion/Unix/Command/_perforce: minor comment

	* 20692: Test/ztst.zsh: having POSIXLY_CORRECT set makes
	GNU tail report warning with -<NUM>.

2005-01-11  Clint Adams  <>

	* unposted: config.guess, config.sub: update to 2004-11-12 and
	2004-11-30, respectively.

	* 20689: Etc/FAQ.yo: fix missing-word typo.

	* 20657: Src/Zle/zle_tricky.c: sort completions partially based on
	LC_COLLATE setting.

	* unposted: Completion/X/Command/_gnome-gv: move gnome-gv
	completion from C/U/C to C/X/C.

2005-01-11  Peter Stephenson  <>

	* 20688: Etc/FAQ.yo: add notes on Unicode/UTF-8 adapted from

	* 20687: NEWS: news for 4.2.2.

2005-01-11  Bart Schaefer  <>

	* 20666 (tweaked): Src/exec.c: In closemn(), discard the multio
	structure when it has only one descriptor so far, to avoid
	creating an unnecessary multio if a later redirect re-opens that

2005-01-10  Clint Adams  <>

	* 20665: Completion/Unix/Command/_gnome-gv,
	Completion/Unix/Type/_pspdf: improve completion for

2005-01-10  Peter Stephenson  <>

	* 20661: Doc/Zsh/expn.yo, Src/glob.c: allow (+func) as shorthand
	for (e:func:) in glob qualifier.

2005-01-10  Oliver Kiddle  <>

	* 20662: Completion/X/Command/_nedit: update for nedit 5.5

2005-01-09  Clint Adams  <>

	* 20655: Completion/Debian/Type/_deb_packages:
	_deb_packages fix from Karl Chen.

	* 20654: Completion/Debian/Command/_dpkg,
	Completion/Debian/Type/_deb_packages: completion for wajig, and
	dpkg/deb_packages improvements from Karl Chen.

2005-01-07  Clint Adams  <>

	* 20650: Completion/Unix/Command/_mencal:
	completion for mencal.

	* 20649: Completion/Unix/Command/_cal:
	completion for cal and ncal.

2005-01-05  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: limit many
	uses of pending changes to pending changes on the current client.

	* 20632: propagating signals incorrectly to current process
	group could kill shell.

2004-12-27  Clint Adams  <>

	* 20639: Completion/Unix/Command/_bogofilter:
	improve 'bogoutil' completion for

2004-12-25  Clint Adams  <>

	* 20637: Completion/Debian/Command/_lintian: add
	completion for 'lintian', a Debian package checker.

	* 20636: Completion/Unix/Command/_bogofilter: add
	completion for 'bogofilter' and 'bogotune' commands.

2004-12-24  Clint Adams  <>

	* 20635: Completion/Unix/Command/_bogofilter: update
	bogoutil completion for 0.93.3.

	* 20634: Completion/Unix/Command/_postfix: completion
	for postsuper.

2004-12-15  Clint Adams  <>

	* 20626: Completion/Unix/Command/_baz: completion
	derived from _tla by Matt Zimmerman.

	* 20627: Completion/Unix/Command/_bogofilter:
	updated completion for newer bogoutil.

2004-12-10  Andrey Borzenkov  <>

	* 20617: Completion/Linux/Command/_modutils: fix
	completion of compressed modules on kernel 2.6; add
	trivial insmod completion.

2004-12-09  Peter Stephenson  <>

	* 20613, 20614: Functions/Zle/match-words-by-style: fix
	inconsistencies with embedded whitespace when matching by shell

	* 20612: Doc/Zsh/contrib.yo, Functions/Zle/match-words-by-style:
	options to match-words-by-style can override styles.

2004-12-07  Peter Stephenson  <>

	* 20605: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c,
	Src/module.c, Src/params.c, Src/subst.c, Src/zsh.h,
	Src/Modules/datetime.c, Src/Modules/langinfo.c,
	Src/Modules/mapfile.c, Src/Modules/parameter.c,
	Src/Modules/system.c, Src/Modules/termcap.c,
	Src/Modules/terminfo.c, Src/Modules/zftp.c, Src/Zle/compctl.c,
	Src/Zle/complete.c, Src/Zle/computil.c, Src/Zle/zle_params.c,
	Src/Zle/zleparameter.c, Test/B02typeset.ztst: Use separate
	structures for get, set and unset methods of parameters.
	Separate width and base/precision for parameters, so that
	justification works for integers.

	* 20606: Test/V03mathfunc.ztst: simple verification of
	pseudorandom numbers.

2004-12-06  Doug Kearns  <>

	* 20601: Completion/Unix/Command/_python: update python completion for
	version 2.4

2004-12-01  Wayne Davison  <>

	* 20595 (modified): Src/compat.c: some style tweaks to zchdir().

2004-12-01  Doug Kearns  <>

	* 20587: Completion/Unix/Command/_screen: update screen completion for
	version 4.00

2004-11-30  Peter Stephenson  <>

	* 20599: Test/C01arith.ztst: 20592 needs consequent test change.

2004-11-29  Peter Stephenson  <>

	* 20591: Stephane Chazelas <>:
	Src/compat.c: use of fchdir in zchdir could leak a file descriptor.

	* 20592: Src/math.c: $((##)) caused mayhem by passing null
	string to getkeystring().  Report error instead.

2004-11-24  Clint Adams  <>

	* 20583: Completion/Unix/Command/_ssh: complete "modern" options
	such as GSSAPIAuthentication.

2004-11-27  Doug Kearns  <>

	* 20584: Completion/Unix/Command/_screen: offer multiuser screen
	sessions for attaching/detaching

2004-11-24  Clint Adams  <>

	* 20578: Functions/Prompts/prompt_elite2_setup:
	handle ttys with slashes in them.

2004-11-23  Peter Stephenson  <>

	* 20576: Src/signals.c: 20572 caused core dump when
	trying to run a signal where the function had already
	been removed.

2004-11-22  Peter Stephenson  <>

	* 20572: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c,
	Src/jobs.c, Src/signals.c, Src/utils.c: Allow -CLD and -IO
	as alternatives to -CHLD and -POLL where they are the same signal.

2004-11-20  Doug Kearns  <>

	* 20571: Completion/Unix/Command/_java: update javac completion for
	J2SE 5.0

2004-11-19  Peter Stephenson  <>

	* 20568: Src/pattern.c: in debug test, checking for NULL
	character is no longer valid.

	* 20566: Src/signames2.awk: prefer SIGCHLD to SIGCLD.
	Also (unposted) prefer SIGPOLL to SIGIO.

2004-11-18  Clint Adams  <>

	* unposted: Completion/Unix/Command/_bogofilter: fix -w/-p typo, which was
	noticed by Michał Politowski.
	* unposted: Completion/Unix/Type/_pdf: complete pdf files for kpdf.

2004-11-16  Peter Stephenson  <>

	* users/8219: Doc/Zsh/params.yo, Doc/Zsh/zle.yo,
	Src/params.c: Add $HISTCMD which gives the current history
	line number as in bash.  Works like ${(%):-%!} except that a human
	being could find out how to use it, too.  Note it is
	distinct from zle's $HISTNO.

	* 20556: AIX 5.3 has a SOCKLEN_T definition, so use
	ZSOCKLEN_T internally.

2004-11-12  Peter Stephenson  <>

	* Motoi Washida <>: 20274, 20552:
	Completion/Darwin/Type/_retrieve_mac_apps: improved completion
	for Mac.

2004-11-10  Wayne Davison  <>

	* 20551: Completion/Unix/Command/_make: handle $$ when
	expanding variables.

2004-11-09  Peter Stephenson  <>

	* Jussi Pakkanen <>: users/8189:
	Completion/Unix/Command/_bittorrent: new completion.

2004-11-05  Bart Schaefer  <>

	* 20546: Src/Zle/compcore.c: fix "compadd -k assoc1 assoc2".

2004-11-02  Clint Adams  <>

	* 20539: Completion/Unix/Command/_make: avoid problems with
	minus signs in expandVars().

2004-10-29  Peter Stephenson  <>

	* 20528: Src/exec.c: Clint spotted that fix in 18492 to make
	> >(...) synchronous failed in the case of an fd opened for the
	shell's own use with an	exec.

2004-10-26  Peter Stephenson  <>

	* 20522: Src/glob.c, Test/D02glob.ztst: must-match optimisation
	was broken for pattern substitutions in parameters.

2004-10-22  Wayne Davison  <>

	* 20510: Borzenkov Andrey: Src/jobs.c: Fixed the arg to a call
	to times().

2004-10-22  Bart Schaefer  <>

	* unposted (based on 20514): Completion/compinit: _comp_options
	needs to include NO_kshtypeset.

2004-10-22  Peter Stephenson  <>

	* 20513: Src/pattern.c, Test/D02glob.ztst: tests of zero length
	patterns didn't work after 20500.

	* unposted: Src/jobs.c: trivial optimisation.

2004-10-20  Wayne Davison  <>

	* 20505: Src/utils.c, Src/builtin.c, Src/exec.c, Src/hist.c,
	Src/Modules/zftp.c:  Added gettempfile(), which works like a
	specialized mkstemp().

2004-10-19  Wayne Davison  <>

	* 20503: Alexey Tourbin: Doc/Zsh/compsys.yo: corrected the
	completion-cache's default value.

2004-10-18  Wayne Davison  <>

	* 20499 (modified): Src/builtin.c, Src/exec.c, Src/hist.c,
	Src/string.c, Src/utils.c, Src/Modules/zftp.c: improved gettempname(),
	added bicat(), and used these improvements to make the history-file
	locking better.

2004-10-18  Peter Stephenson  <>

	* 20500: Misc/globtests, Src/glob.c, Src/pattern.c, Src/zsh.h,
	Src/Zle/complist.c, Test/D02glob.ztst: Use unmetafied strings
	in patterns more; improve glob.c/pattern.c interface; fix
	minor <num-> issue; add bogus quotation from Proust (it's
	my file and I'll do what I like with it).

2004-10-17  Wayne Davison  <>

	* 20496: Src/utils.c: made zclose() not call close() when the
	fd arg is < 0.

	* unposted: Src/Zle/zle_main.c: initialize the first byte of
	the allocated "line" buffer so that we avoid uninitialized-
	memory warnings in valgrind.

2004-10-16  Peter Stephenson  <>

	* 20490: Src/pattern.c, Src/zsh.h: use lengths for test strings in
	patterns instead of null termination.

2004-10-14  Peter Stephenson  <>

	* 20482: Src/Zle/complist.c: A TAB after entering interactive
	completion caused nonsense to be inserted into the command
	line.  The behaviour of TAB is still probably not ideal.

2004-10-12  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_make: got rid of an unused
	local vaiable (cmdargs).

	* unposted: Completion/Unix/Command/_rsync: added 7 more options
	that were not described.

2004-10-08  Peter Stephenson  <>

	* 20467:, Doc/Zsh/params.yo, Src/exec.c, Src/jobs.c,
	Src/signals.c, Src/zsh.h: Finally reintroduce the
	TIMEFMT escapes from struct rusage removed ages ago.  Uses more
	sophisticated autconf tests to make configuration seamless.

2004-10-07  Peter Stephenson  <>

	* 20462:, Src/exec.c, Src/init.c, Src/jobs.c,
	Src/signals.c, Src/zsh.h: Improve process timing by using
	getrusage() where available (everywhere?) and by starting
	the wallclock just before a process is forked.

2004-10-07  Wayne Davison  <>

	* unposted: Completion/Unix/Command/_rsync: added options that
	are new in rsync 2.6.3.

2004-10-05  Peter Stephenson  <>

	* unposted: Update README to indicate 20412.

	* 20435: Src/pattern.c: fix crash in negative matching.  Could do
	with being streamlined but that might be a big change.

	* 20412 (tweaked): Doc/Zsh/builtins.yo, Src/builtin.c, Src/cond.c,
	Src/exec.c, Src/utils.c: Make test and [ builtins more POSIX
	compatible: return status 2 for errors, require integer
	constants for numeric tests.

2004-10-01  Wayne Davison  <>

	* 20438: Src/builtin.c, Src/hist.c, Src/params.c, Src/zsh.h:
	If the shell is exiting because it received a signal, we now
	skip rewriting the history file after appending any new lines.
	Has no affect unless APPEND_HISTORY, INC_APPEND_HISTORY, or
	SHARE_HISTORY are set.  This should avoid a history truncation
	glitch when too many shells are all trying to update the history
	file at the same time before being killed by a follow-up signal.

2004-10-01  Wayne Davison  <>

	* unposted: Src/params.c: silenced two compiler warnings about
	unused parameters.

2004-10-01  Wayne Davison  <>

	* unposted: Src/builtin.c, Src/Modules/parameter.c: use convbase
	instead of a "%d" format to convert a zlong.

2004-10-01  Wayne Davison  <>

	* 20277 (modified): Completion/Unix/Command/_make: completer now
	follows include files and expands variables (and does it all in
	zsh code instead of using awk or perl).

2004-10-01  Peter Stephenson  <>

	* 20427, 20339 (modified): Completion/Base/Core/_main_complete,
	Doc/Zsh/compsys.yo:  Fix for problem with _oldlist and custom
	completion.  Also snuck in show-completer style with documentation.

2004-09-30  Clint Adams  <>

	* 20358: Completion/Unix/Command/_make: avoid potential gawk
	  locale bug by not using awk.

2004-09-29  Bart Schaefer  <>

	* 20418: Src/parse.c: fix crash-inducing bug with mis-parsing of
	incomplete pipeline expressions (e.g. "zsh -c 'echo |').

2004-09-28  Clint Adams  <>

	* 20414: Completion/Unix/Type/_diff_options: correct missing
	minus in --unified, spotted by Paul Wagland.

2004-09-27  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: when adding
	files, ignore files already open for whatever reason,
	including those already being added.

2004-09-24  Wayne Davison  <>

	* 20409: Completion/Unix/Command/_darcs: Completion for the darcs
	revision control system.  Derived from the zsh-completion example
	that comes with darcs.

2004-09-21  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: updated for
	Perforce release 2004.2.

	* 20398: Src/Zle/zle_main.c: allow clean exit from within
	a zle widget function.

2004-09-20  Bart Schaefer  <>

	* 20397: Doc/zmacros.yo, Doc/Zsh/invoke.yo, Doc/Zsh/zle.yo: tweaks
	to account for texinfo's tendency to condense "--" into "-".

2004-09-20  Peter Stephenson  <>

	* 20391: Src/params.c: SHLVL didn't get updated in the
	environment if it was already present.

2004-09-20  Bart Schaefer  <>

	* 20388: Src/Zle/zle_main.c: arrange that "zle internal-widget"
	called from a "zle -N" widget does not trip the ignoreeof warning.
	This is the long-documented behavior, but may break old "zle -N"
	widgets designed as wrappers around delete-char-or-list.

	* 20387: Src/init.c, Src/Zle/zle_main.c: rather than counting EOF
	keystrokes as in 20363, pretend that we received an EOF each time
	the "use 'logout' to logout" warning is printed, and let the top-
	level loop keep the count.  This way, disabling the warning (by
	rebinding that key to a "zle -N" widget) also disables counting.

2004-09-17  Peter Stephenson  <>

	* 20378: Matthias B <>: Src/params.c,
	Src/utils.c, B02typeset.ztst: Fix bugs with metafied characters
	in tied arrays.

2004-09-16  Peter Stephenson  <>

	* 20364: Functions/Completer/_oldlist: use $WIDGETSTYLE.

2004-09-13  Peter Stephenson  <>

	* 20363: Src/init.c, Src/Zle/zle_main.c: exiting after 10 EOFs
	with ignore_eof set was broken in zle.

2004-09-10  Peter Stephenson  <>

	* 20348: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Rejig WIDGETSTYLE
	and add WIDGETFUNC.

2004-09-09  Peter Stephenson  <>

	* 20332: Src/Zle/zle_params.c, Doc/Zsh/zle.yo: add WIDGETSTYLE zle
	parameter to reveal widget implementation: function name for zle
	-N widgets and internal completion widget for zle -C widgets.

	* 20331: Src/builtin.c, Src/hist.c, Src/params.c, Src/prompt.c,
	Src/zsh.h, Src/Zle/compctl.c: Where possible use internal zlong
	variables for integers that correspond to shell variables.

2004-09-08  Peter Stephenson  <>

	* 20330: Src/Zle/zle_thingy.c, Doc/Zsh/zle.yo: rationalise status
	from zle -I and improve documentation of status from zle, zle -I,
	zle -R.

2004-09-08  Bart Schaefer  <>

	* 20325: Src/exec.c, Test/E01options.ztst: fix crash when using
	the "command" builtin (as opposed to the "command" precommand
	modifier) when POSIX_BUILTINS is set; (unposted) add test for that
	and also for EVAL_LINENO.

	* 20320: Src/builtin.c: rewrite 20318 for simplicity and clarity.

2004-09-04  Bart Schaefer  <>

	* 20318: Src/builtin.c: fix subtle xtrace output bug introduced
	by 20308.

2004-09-03  Peter Stephenson  <>

	* 20308: Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c,
	Src/options.c, Src/zsh.h: add option EVAL_LINENO <Z> which
	issues separate line numbers inside eval's, as at present.
	Without it, the line from the surrounding environment is

2004-09-02  Peter Stephenson  <>

	* 20303: Src/Zle/zle_thingy.c, Doc/Zsh/zle.yo: Make test for
	zle -I more consistent with other uses of zle. Make zle widgets
	runnable inside traps.

	* 20300: Src/Zle/zle_main.c: typing ^D to list completions,
	then two ^C's caused a spurious EOF.

2004-08-24  Wayne Davison  <>

	* 20283: Completion/Unix/Command/_ant: Improved the parsing
	of the <target...> tag as suggested by Jean-Baptiste Quenot.

2004-08-23  Wayne Davison  <>

	* 20282: Src/Zle/zle_hist.c: fixed a problem with a negative
	NUMERIC causing wrong movement in combo zle commands such as
	up-/down-line-or-history and up-/down-line-or-search.

2004-08-18  Wayne Davison  <>

	* 20269, 20270: Completion/Unix/Command/_make: Don't output the
	make targets all clumped into a single string when useperl is
	enabled.  Don't output a bogus target for a "VAR := VAL" line.

2004-08-16  Peter Stephenson  <>

	* unposted: rename version to 4.2.1-dev-1 so as to avoid
	confusion with the released version.

	* unposted: update Etc/FAQ.yo as already sent to

	* 20258: Doc/Zsh/options.yo, Src/prompt.c: save command status
	as well as error flag when performing substitutions in prompts.

	* 20251: Src/math.c, Src/utils.c: Warn when an integer converted
	from a string is too long and truncate it rather than let it

2004-08-13  Clint Adams  <>

	* unposted: config.guess, config.sub: update to 2004-07-19 and
	2004-06-24, respectively.

2004-08-13  Peter Stephenson  <>

	* unposted: Version 4.2.1.

2004-08-11  Oliver Kiddle  <>

	* 20254: Completion/Base/Core/_tags: restrict the scope of the
	default tag-order to fix a problem with cdrecord completion

2004-08-10  Bart Schaefer  <>

	* 20244: Functions/Misc/zed: fix bug with editing of autoloaded
	functions (introduced by 20089).

2004-08-07  Oliver Kiddle  <>

	* 20237: Completion/Unix/Command/_screen: rewrite completion of
	screen sessions

	* 20237: Completion/Unix/Command/_mysql_utils: complete for
	mysqlimport and update some of the options

	* 20236: Completion/Base/Completer/_expand: fix problem with
	keep-prefix style where a modifier changes or removes the prefix

	* 20235: Completion/Unix/Command/_rsync: synched remote file
	completion with that in _ssh. quoting needed quoting.

2004-08-07  Geoff Wing  <>

	* 20196: Src/prompt.c: still allow user specified text modifiers
	with a short terminal.  Only disallow if the terminal is really
	unknown or without sufficient capabilities or if SINGLE_LINE_ZLE
	option is specified

2004-08-06  Peter Stephenson  <>

	* 20232 with typo corrected: Functions/Zftp/zfcd: remove
	cached directory listing when changing directory.

	* unposted: Config/ version 4.2.1-test-A.

2004-08-01  Clint Adams  <>

	* 20230: Completion/Debian/Command/_apt: dumb down apt-get
	install completion and always complete from all available

	* 20225: Doc/Zsh/mod_clone.yo: add Philippe Troin's explanations
	of clone usage.

2004-07-30  Peter Stephenson  <>

	* unposted: minor tidy up for 20219: neaten read-from-minibuffer
	and make history-pattern-search use last pattern as default.

	* unposted: README: mention max function depth is on by default

	* 20222: INSTALL, turn on max function depth by
	default to avoid crash.

2004-07-29  Peter Stephenson  <>

	* 20221: Src/exec.c, Src/signals.c, Test/A05execution.ztst:
	$LINENO in trap '...' DEBUG was wrongly reported as the line
	in the trap, not in the surrounding code.  Probably broken
	in all 4.x builds to date.

	* 20219: Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo,
	Functions/Zle/.distfiles, Functions/Zle/history-pattern-search,
	Src/Zle/zle_hist.c, Src/Zle/zle_params.c: make zle parameter
	HISTNO writeable, add history-pattern-search sample to use it.

	* 20208: Src/prompt.c, Doc/Zsh/prompt.yo: ternary code character C
	etc. treat / as path with zero elements.

2004-07-28  Peter Stephenson  <>

	* 20214: Src/parse.c: fix debugging test that didn't work
	with recursive functions.

	* 20204: Motoi Washida: Completion/Base/Utils/_retrieve_cache:
	typo in definition of _cache_dir.

	* 20200: Completion/Unix/Command/_kfmclient,
	Completion/Unix/Type/_mime_types: fix some points made by Oliver
	to tidy up.  Also unposted: don't let _kfmclient drop through
	to `no more arguments' on failed completion.

2004-07-26  Peter Stephenson  <>

	* 20199: Completion/Unix/Command/_elinks,
	Completion/Unix/Type/.distfiles, Completion/Unix/Type/_mime_types,
	Completion/X/Command/.distfiles, Completion/X/Command/_kfmclient,
	Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser,
	Functions/MIME/zsh-mime-setup: add completion for MIME types
	and kfmclient, use kfmclient to talk to konqueror and
	improve mime-types and mailcap styles.

	* 20198: Src/exec.c, Src/signals.c, Test/C03traps.ztst,
	Test/, Test/ztst.zsh: EXIT traps were freed before
	being run.  This isn't recommended by most programming text books.

2004-07-25  Bart Schaefer  <>

	* unposted: Doc/Zsh/contrib.yo: documentation for "zargs".

2004-07-23  Oliver Kiddle  <>

	* 20180 (based on Jean-Baptiste Quenot's 20177):
	Completion/Unix/Command/_killall: fix to work on BSD systems

	* Motoi Washida <>: 20179 (tweaked):
	Completion/Darwin/Command/_open, Completion/Darwin/Command/_defaults:
	new completions for Mac OS X

2004-07-19  Oliver Kiddle  <>

	* Jean-Baptiste Quenot: 20167: Completion/Unix/Command/_ant:
	find targets enclosed in single instead of double quotes

2004-07-17  Peter Stephenson  <>

	* 20173: Src/mem.c: crash when globbing lots of files; need to
	NULLify fheap optimisation when reallocating a heap.

2004-07-13  Peter Stephenson  <>

	* 20153: Src/Zle/zle_main.c: make zle-line-init run after
	the initial zrefresh() by moving the latter out of zlecore().
	Needs an extra call in recursiveedit().

2004-07-12  Peter Stephenson  <>

	* unposted: NEWS: read it through and tidied it up.
	Also additions from Oliver.

	* 20151: NEWS: notes on (F) and history -p.

	* unposted: improve 20150 by setting pointer to NULL when

2004-07-11  Peter Stephenson  <>

	* 20150: Src/Zle/compresult.c: repost of ancient attempt
	to fix memory leak in completion.

	* 20149: Doc/Zsh/zle.yo, Src/init.c, Src/input.c, Src/loop.c,
	Src/zsh.h, Src/Zle/zle_main.c: alter users/7650 so that
	prompt variable is always reread; fixes bug that if PS1
	was altered the prompt string was invalid.

2004-07-10  Bart Schaefer  <>

	* 20145: Doc/Zsh/contrib.yo, Functions/Zle/read-from-minibuffer:
	second and third arguments of read-from-minibuffer now specify the
	initial values of LBUFFER and RBUFFER.

2004-07-07  Peter Stephenson  <>

	* 20142: Test/A06assign.ztst: add test for bug fixed in

	* 20141: Src/builtin.c, Src/exec.c, Src/params.c:  Crash
	after restoring exported special parameters.  The
	answer was `pm = tpm' at exec.c:2590.

2004-07-02  Peter Stephenson  <>

	* 20127: Doc/Zsh/zle.yo, Src/Zle/zle_main.c,
	Src/Zle/zle_refresh.c: slightly tweaked version of Wayne's
	patch in users/7652 which only reexpands the prompt when
	the commandline was trashed by output.

	* 20126, with modifications: .distfiles, ChangeLog-3.1,
	ChangeLog-4.1, ChangeLog.3.0, FEATURES, INSTALL, MACHINES,
	NEWS, README, Etc/.distfiles, Etc/ChangeLog-3.1,
	Etc/ChangeLog-4.1, Etc/FAQ.yo, Etc/FEATURES, Etc/MACHINES,
	Etc/NEWS, Test/.distfiles, Etc/ChangeLog-3.0: tidy up
	ready for 4.2.1

	* 20125: Doc/Zsh/jobs.yo: say where the output for job
	notifications goes.

2004-07-01  Peter Stephenson  <>

	* users/7650: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list,
	Src/Zle/zle_main.c: new zle widget prompt-reset redisplays screen
	with prompt updated.

2004-06-30  Peter Stephenson  <>

	* 20118: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.c:
	Attempt to handle unknown limits by number.  Also improve
	output and collect common code.

2004-06-28  Peter Stephenson  <>

	* 20112, changed as per 20113: Src/exec.c, Src/parse.c,
	Src/subst.c, Doc/Zsh/redirect.yo, Test/A04redirect.yo:
	Fix here-strings to do standard single-word expansion (which
	was always intended but was partially broken), and also
	attempt to parse the end string for here-documents in
	a more standard fashion.

2004-06-26  Peter Stephenson  <>

	* unposted: Functions/Zle/.distfiles: add zed-set-file-name.

2004-06-24  Bart Schaefer  <>

	* unposted (see 20092): Completion/Zsh/Context/_condition: fix
	typos in descriptions.

2004-06-23  Peter Stephenson  <>

	* 20089: Doc/Zsh/contrib.yo, Functions/Misc/zed,
	Functions/Zle/zed-set-file-name: various zed enhancements.

2004-06-22  Clint Adams  <>

	* 20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings.

2004-06-22  Peter Stephenson  <>

	* 20076, 20084: Doc/Zsh/grammar.yo, Doc/Zsh/params.yo, Src/exec.c,
	Src/loop.c, Src/params.c, Src/parse.c, Src/prompt.c, Src/text.c,
	Src/zsh.h, Test/A01grammar.ztst: { ... } always { ... } syntax
	for making sure tidy-up code is run.

2004-06-21  Bart Schaefer  <>

	* unposted: Doc/Zsh/zle.yo: copy-prev-shell-word has no default
	bindings, so it shouldn't claim those of copy-prev-word.

	* 19785 (cont'd): Doc/zsh/builtins.yo, Doc/zsh/compsys.yo:
	Previously uncommitted documentation changes (Oliver).

	* users/7267: Functions/Zle/predict-on: Minor update to cooperate
	with zle-line-init.

2004-06-19  Clint Adams  <>

	* 20081: Doc/Zsh/mod_pcre.yo: document -pcre-match condition.

2004-06-18  Oliver Kiddle  <>

	* 20077: Completion/Zsh/Command/_disable,
	Completion/Zsh/Command/_enable: fix completion of reserved words

2004-06-18  Peter Stephenson  <>

	* 20033: Completion/Base/Utility/_arguments: unconfirmed fix
	for configure output parsing with square brackets.

2004-06-17  Oliver Kiddle  <>

	* 20069: Completion/Unix/Command/_iconv: complete character
	encodings case-insensitively for GNU iconv

	* 20059: Completion/Unix/Command/_chown: check for systems
	using . separator instead of for those using :

2004-06-16  Oliver Kiddle  <>

	* users/7553: Completion/compdump, Completion/compinit:
	include zsh version in dump file to avoid problems with upgrades

2004-06-15  Clint Adams  <>

	* 20055: Completion/Unix/Command/_tla: additions and fixes
	from Jason McCarty.

2004-06-09  Peter Stephenson  <>

	* c.f. 20034: Test/V03mathfunc.ztst: tests for the zsh/mathfunc

2004-06-08  Peter Stephenson  <>

	* 20029: Src/Modules/mathfunc.c: rand48(seed) stopped being
	random after the second call.

2004-06-08  Peter Stephenson  <>

	* Philippe Troin: 20026: INSTALL: nit-pick.

	* Philippe Troin, 19996, plus 20025:, INSTALL: add
	configure option --with-tcsetpgrp.

	* 20024: Doc/Zsh/func.yo: Improve documentation for TRAPNAL

2004-06-03  Felix Rosencrantz <>

	* 20002: Src/Zle/compmatch.c: Fix a problem with an inconsistent
	struct change in cmp_anchors().

2004-06-03  Peter Stephenson  <>

	* 20017: Doc/.distfiles: add zsh.html to doc distribution.

	* users/7467: Completion/Base/Core/_dispatch: quoted commands
	weren't found in dispatcher lookup.

2004-06-02  Wayne Davison  <>

	* unposted: builtin.c, exec.c, glob.c, hashtable.c, hist.c, init.c,
	jobs.c, loop.c, mem.c, module.c, options.c, params.c, parse.c,
	subst.c, system.h, utils.c, watch.c, Builtins/rlimits.c,
	Builtins/sched.c, Modules/cap.c, Modules/clone.c,
	Modules/datetime.c, Modules/example.c, Modules/files.c,
	Modules/langinfo.c, Modules/mapfile.c, Modules/mathfunc.c,
	Modules/parameter.c, Modules/socket.c, Modules/stat.c,
	Modules/system.c, Modules/tcp.c, Modules/termcap.c,
	Modules/terminfo.c, Modules/zftp.c, Modules/zprof.c,
	Modules/zpty.c, Modules/zselect.c, Modules/zutil.c, Zle/compcore.c,
	Zle/compctl.c, Zle/complete.c, Zle/complist.c, Zle/compresult.c,
	Zle/computil.c, Zle/deltochar.c, Zle/zle_hist.c, Zle/zle_keymap.c,
	Zle/zle_main.c, Zle/zle_misc.c, Zle/zle_move.c, Zle/zle_params.c,
	Zle/zle_refresh.c, Zle/zle_thingy.c, Zle/zle_tricky.c,
	Zle/zle_utils.c, Zle/zle_vi.c, Zle/zle_word.c, Zle/zleparameter.c:
	Silenced unused-parameter compiler warnings.

2004-05-28  Wayne Davison  <>

	* 19980: Src/glob.c, Src/hashtable.c, Src/jobs.c, Src/loop.c,
	Src/params.c, Src/parse.c, Src/pattern.c, Src/Modules/datetime.c,
	Src/prompt.c, Src/subst.c, Src/utils.c, Src/Modules/zftp.c,
	Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c,
	Src/Zle/computil.c, Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c,
	Src/Zle/zle_tricky.c:  Fixed some compiler warnings that gcc
	outputs with -W.

2004-05-28  Clint Adams  <>

	* 19991: Completion/Unix/Command/_lynx: complete .htm files

2004-05-25  Peter Stephenson  <>

	* 19976: Src/exec.c, Src/jobs.c: `job table full' messages
	spotted by many people were traced by Wayne to thisjob
	being -1, which wasn't handled in a test no one understands

	* Compiled by Thorsten Kampe in zsh-users/7474:
	Doc/Zsh/options.yo: reorder option descriptions into subheadings.

2004-05-21  Wayne Davison  <>

	* 19967+: Src/builtin.c, Src/hist.c Src/params.c,
	Doc/Zsh/builtins.yo, Functions/Misc/zcalc: added a -a
	option to `fc -p' to enable automatic popping of the
	pushed history list on function exit.  Updated zcalc.

2004-05-21  Peter Stephenson  <>

	* 19971: Src/exec.c, Src/params.c: use putenv to put "_"
	into exec'd environment, avoiding horrific hack.

2004-05-20  Wayne Davison  <>

	* 19962: Src/builtin.c, Src/hist.c, Doc/Zsh/builtins.yo,
	Functions/Misc/zcalc: added the ability to push/pop the history
	list via the new -p/-P options to fc.  Used this in zcalc to
	make the switch to zcalc's private history-list very smooth.

2004-05-19  Peter Stephenson  <>

	* unposted: Completion/Unix/Command/_perforce: tweak
	to allow changes and revisions with >, <, = qualifiers.

2004-05-13  Peter Stephenson  <>

	* 19941: Src/math.c, Test/C01arith.ztst: (( x, )) triggered
	an internal bug instead of reporting an error.

2004-05-13  Peter Stephenson  <>

	* 19936: Functions/Misc/zcalc: bad name for temporary history
	file invites clashes.

2004-05-12  Peter Stephenson  <>

	* 19920 modified c.f. 19921: Src/mem.c: attempt to improve
	behaviour of hrealloc, particularly when using mmap().

2004-05-11  Wayne Davison  <>

	* 19893 (plus one extra tweak): Src/hist.c: Fix the
	potential for an infinite loop in lockhistfile().

2004-05-05  Wayne Davison  <>

	* 19878: Src/utils.c: a single-character change fixes the
	new strftime() return-check idiom.

2004-05-04  Peter Stephenson  <>

	* 19877: Src/prompt.c, Src/utils.c, Src/Modules/datetime.c:
	Improve 19869: remove infinite loop and attempt to test
	for whether strftime() encountered an error.

2004-05-04  Clint Adams  <>

	* 19869: Src/prompt.c, Src/utils.c: avoid segfault when
	prompt-expanding '%D{%p}' or '%D{%P}' under locales with null
	strings for am_pm.

2004-05-02  Peter Stephenson  <>

	* 19858: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c,
	Src/signals.c, Src/signals.h: TRAPS_ASYNC option done properly,
	not blocking signals during sigsuspend to wait for children.

2004-05-01  Clint Adams  <>

	* 19863: Completion/Zsh/Type/_command_names, Doc/Zsh/compsys.yo:
	allow search path for command names to be overridden by means of new
	command-path style.

2004-04-28  Clint Adams  <>

	* 19845: Completion/Debian/Command/_apt-move: apt-move
	completion function from Steven Kowalik.

2004-04-27  Peter Stephenson  <>

	* 19839 (plus suggestion from 19842):
	Completion/Unix/Type/_path_files: handle existing (#q)'s
	in qualifiers when adding sort options and adding back
	qualifiers from command line.

	* 19840: Src/Zle/zle_main.c: also, vared now only takes
	one normal argument.

	* 19837: Src/Zle/zle_main.c: fix 19733 which accidentally
	removed the -e option to vared.

2004-04-26  Doug Kearns  <>

	* unposted: Completion/Unix/Command/_aap: short and long options
	are mutually exclusive

2004-04-23  Peter Stephenson  <>

	* 19825: Completion/Unix/Command/_perforce: suggested by Michael
	Denio: add `changes' style to allow limitting list of changes
	offered for completion.

	* 19810: Src/exec.c: avoid setting flag on Eprog which may
	no longer be valid.  Had no feedback, so don't know if
	it helps, but at worst harmless.

	* 19812: Src/builtin.c: avoid race with autoloaded trap functions.
	However, I think these still need substantial improvement.

2004-04-21  Peter Stephenson  <>

	* 19809: Src/jobs.c, Src/signals.c, Src/signals.h: improve
	zsh-users/7365 by only queuing traps when TRAPS_ASYNC is set.
	This avoids any nasty races, including one reported by Vincent

2004-04-21  Oliver Kiddle  <>

	* 19806: Src/prompt.c: fix bug with %v expansion and negative index

2004-04-20  Peter Stephenson  <>

	* 19801: Src/builtin.c: Autoloading of TRAP functions was never

2004-04-20  Oliver Kiddle  <>

	* 19767, 19785: Src/builtin.c, Src/exec.c, Src/hashtable.c,
	Src/zsh.h, Completion/compinit, Completion/compdump,
	Completion/compinstall, Completion/bashcompinit,
	Completion/Base/Widget/_next_tags, Completion/Zsh/Type/_functions,
	Completion/Zsh/Command/_typeset, Doc/Zsh/builtins.yo:
	store flags for -z and -k options to autoload allowing the
	completion system to be used with ksh_autoload set

	* 19800: Test/B02typeset.ztst: reverse sense of `declare +m' test

2004-04-19  Clint Adams  <>

	* 19798: Completion/Unix/Command/.distfiles,
	Completion/Unix/Command/_bogofilter: rudimentary completion for

2004-04-19  Peter Stephenson  <>

	* zsh-users/7365: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c,
	Src/signals.c, Src/zsh.h, plus unposted Etc/NEWS hunk: new option
	TRAPS_ASYNC, turn off to stop traps being run while waiting
	for a child process.

2004-04-18  Clint Adams  <>

	* 19792: Completion/X/Command/_mplayer: complete .m2v and .m2p,
	thanks to Rene H. Larsen.

2004-04-17  Oliver Kiddle  <>

	* 19790: Completion/Zsh/Command/_zcompile: complete functions
	after -a and allow multiple -z/-k options

2004-04-17  Doug Kearns  <>

	* 19775: Completion/Unix/Command/_php: new completion for php

	* unposted: Completion/Unix/Command/_elinks: declare and initialise
	return value parameter

2004-04-15  Peter Stephenson  <>

	* see 19778 etc.: Doc/ remove change from 19735.

2004-04-15  Clint Adams  <>

	* 19606: Completion/Unix/Command/_tla: switch tla completion to
	the version by Jason McCarty, Erik Toubro Nielsen, and Rob Weir.

2004-04-14  Clint Adams  <>

	* Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync:
	fix quoting for remote file completion, add -L to ls command.

2004-04-14  Oliver Kiddle  <>

	* Ingo Rohlfs: 19747: Completion/Unix/Command/_subversion:
	complete files/urls for svn cp and mv commands

	* unposted: Completion/Unix/Command/_cdrecord: add missing local

	* 19768: Completion/compinit: suggest running compaudit to see
	insecure files and directories and send errors to stderr

2004-04-06  Wayne Davison  <>

	* 19743: Test/D02glob.ztst: Test the new F glob qualifier.

	* 19741: Src/glob.c: Minor optimization to qualnonemptydir() when
	a dir contains a subdir.

2004-04-06  Oliver Kiddle  <>

	* 19712, 19740: Src/params.c, Doc/Zsh/params.c: allow assigning to
	associative array elements where the i or r subscript flag is used

2004-04-06  Peter Stephenson  <>

	* Peter Castro <>: 19735 (minus texinfo hunk):
	Doc/, Src/builtin.c, Src/exec.c, Src/main.c,
	Src/system.h, improved use of paths, text/binary
	and dynamic library usage for Cygwin.

	* 19733 (with improved documentation): Doc/Zsh/contrib.yo,
	Doc/Zsh/zle.yo, Functions/Misc/zed, Src/Zle/zle_keymap.c,
	Src/Zle/zle_main.c: vared -M and -m allow you to provide
	main and alternate keymap; zed will use keymaps zed and zed-vicmd.

2004-04-05  Peter Stephenson  <>

	* unposted, suggested by Wayne: Doc/Zsh/expn.yo:
	make 19728 clearer.

	* 19728: Doc/Zsh/expn.yo: explain that (^F) (from 19717)
	doesn't mean `non-empty directories', you need (/^F) for that.

	* unposted: ChangeLog, ChangeLog-4.1: move stuff up to 4.2.0
	out of ChangeLog.

	* unposted: Config/ update version to 4.2.0-dev-1;
	not tagged or released, this is just to avoid clashes with
	the released version.

2004-04-01  Peter Stephenson  <>

	* 19717: Doc/Zsh/expn.y, Src/glob.c: use F glob qualifier
	for `full' (non-empty) directories.

2004-03-31  Bart Schaefer  <>

	* unposted: Functions/Misc/zrecompile: change "mv" to "mv -f"
	when backing up .zwc files, because zcompile creates the files
	read-only.  See thread ending at users/7269.

2004-03-30  Oliver Kiddle  <>

	* 19708: Completion/compaudit: change getent() function to
	handle two arguments

	* 19707: Src/params.c, Test/D05array.ztst: fix bug where a
	nagative index into an array returned a one element array
	instead of a scalar

2004-03-25  Clint Adams  <>

	* 19691: Completion/Unix/Type/_diff_options: Allow more than
	one --exclude or -x to diff.

2004-03-25  Peter Stephenson  <>

	* 19683: Src/utils.c: Work around occasional problem on
	Cygwin with dllwrap.

	* 19682: Doc/Zsh/builtins.yo, Etc/NEWS, Src/signals.c: Don't
	run ZERR, DEBUG or EXIT traps inside other traps; caused confusion
	and incompatibility.

2004-03-24  Peter Stephenson  <>

	* 19674 plus unposted changes suggested in 19676:, Doc/Zsh/mod_zftp.yo, Src/Modules/zftp.c,
	Etc/NEWS, Functions/Zftp/zfstat: Add support for non-standard
	ports to core zftp.  Not yet handled by the function system
	(except zfstat reports port): needed in lastloc	and bookmarks.

2004-03-23  Peter Stephenson  <>

	* 19661: Danek Duvall: Completion/Unix/Type/_diff_options:
	support diff -u on Solaris from 2.10 up.

2004-03-22  Clint Adams  <>

	* 19673: Peter Palfrader: Completion/Unix/Command/_cvs:
	tags can contain the + character.

2004-03-22  Peter Stephenson  <>

	* 19669, 19670: Danek Duvall: Completion/compaudit: Use of
	getent to check groups was slow; typo caused duplicate fpath

	* 19671: Src/Zle/zle_main.c: error in zle-line-init caused
	infinite loop.

2004-03-20  Bart Schaefer  <>

	* 19666 (tweaked): Completion/Unix/Command/_ssh: fixes for remote
	file completion for scp, suggested by Jay Berkenbilt <>.

	* users/7172: Functions/Prompts/prompt_bart_setup: include "unset"
	among the localoptions, as this relies on it.