2001-09-27 Peter Stephenson * Config/version.mk, Completion/Unix/Command/.distfiles, Doc/Zsh/.distfiles, Functions/Misc/.distfiles, Functions/Zle/.distfiles, Test/.distfiles: version 4.1.0-dev-2, with the usual fix for the list of distributed files. 2001-09-25 Bart Schaefer * 15871, 15872: Src/subst.c, Test/D04parameter.ztst: Equivalence of `...` and $(...) in parameter substitutions, e.g. ${(e)...}. 2001-09-25 Sven Wischnowsky * 15868, 15869: Src/text.c: job text building code couldn't handle empty sublists (as in `coproc || test') 2001-09-25 Clint Adams * 15866: Completion/Unix/Command/_ssh: complete v2 ciphers after -o Ciphers=, complete protocol numbers after -o Protocol. 2001-09-24 Bart Schaefer * 15865: Doc/Zsh/builtins.yo: Fix ancient `print -z' doc bug (see zsh-workers/214 (yes, really, 214)). * 15864: Doc/Zsh/params.yo: Document that assignment to TERM is necessary to re-initialize the terminal. * users/4269: Src/hist.c: Detect and reject corrupted history files ('\0' bytes) rather than consuming all available memory. 2001-09-24 Peter Stephenson * Src/builtin.c, Src/exec.c: Unwind function calls before exiting shell from exit command to allow EXIT traps to run. 2001-09-21 Andrew Main (Zefram) * Doc/Zsh/contrib.yo, Functions/Misc/tetris: Tetris game for ZLE. 2001-09-20 Bart Schaefer * 15847: Src/init.c: Avoid using the word "termcap" in an error message when it may in fact have been curses or terminfo that failed. 2001-09-19 Peter Stephenson * 15846: aczsh.m4: Fix attempt to restore LDFLAGS from non-existent saved value when testing RTLD_GLOBAL. 2001-09-18 Wayne Davison * 15836: Src/builtin.c: Further modify the "fc -l" code to tolerate out-of range values. 2001-09-17 Wayne Davison * 15837: Src/Zle/zle_hist.c: Fixed incremental search in vared (without -h) so that it doesn't access the history. 2001-09-16 Bart Schaefer * Akinori MUSHA: 15815: Completion/BSD/Command/_bsd_pkg: More detailed completion of package options on different BSD flavors. 2001-09-15 Bart Schaefer * 15812: Doc/Makefile.in, Doc/Zsh/zle.yo: Include mod_tcp.yo in MODDOCSRC. Cross-reference parameters used by ZLE. 2001-09-14 Wayne Davison * 15809: Src/hist.c: With HIST_NO_STORE, don't ignore what looks like a history command if we're really going to call a user-defined shell function. 2001-09-13 Wayne Davison * 15806: Src/builtin.c, Src/hist.c: Fixed "r" with an empty history and the non-storing nature of "r" with HIST_NO_STORE. 2001-09-12 Oliver Kiddle * 15792: Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo: update url references to http://zsh.sunsite.dk/ 2001-09-11 Oliver Kiddle * 15781: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_samba: new completion for samba tools * unposted: Completion/Zsh/Context/_subscript: complete ascii character class added in 15765 2001-09-10 Clint Adams * 15783: Doc/Zsh/builtins.yo, Doc/Zsh/mod_tcp.yo, Doc/Zsh/.distfiles: document ztcp builtin. * 15780: Src/Modules/tcp.c: tweak variable name. * 15779: Src/Modules/tcp.c: add -d (specify fd) for ztcp. * unposted: Src/Modules/tcp.c: don't segfault on -a if the session table is empty, and other fixes. * 15772: Src/Modules/tcp.c: add -t (test) for ztcp. 2001-09-09 Bart Schaefer * David Lebel: 15742: zshconfig.ac: Shared object linkage on OpenBSD. 2001-09-09 Clint Adams * 15770: Src/Modules/tcp.c, Src/Modules/tcp.h: add -a (accept) for ztcp. * 15768: Src/Modules/tcp.c: take service names in lieu of numbers, and stuff fd numbers into $REPLY instead of printing them. * 15766: Src/Modules/tcp.c, Src/Modules/tcp.h: add -l (listen) for ztcp. 2001-09-08 Clint Adams * 15765: Doc/Zsh/expn.yo, Src/pattern.c: introduce [:ascii:] class. * 15763: Src/Modules/tcp.c: add -v (verbose) for ztcp. * 15762: Src/Modules/tcp.c, Src/Modules/tcp.h, Src/Modules/tcp.mdd, Src/Modules/zftp.c: introduce ztcp builtin. 2001-09-06 Clint Adams * 15740: Completion/compaudit: don't whine about /usr/local/**/*(/) in $fpath being root:staff 2755 if we think we're on Debian. * 15739: Completion/compaudit: use getent instead of /etc/group if possible. 2001-09-03 Andrew Main (Zefram) * 15734: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_params.c, Src/Zle/zle_thingy.c: zle -K option to select a keymap, and zle KEYMAP parameter to examine the current selection. 2001-08-28 Peter Stephenson * 15722: Completion/Unix/Command/_sh: handle zsh options. * 15720: Functions/Misc/zmv: use ${(e)...} as suggested by Bart; fix problem with option arguments with special characters; more consistency with shifting arguments; fix verbose mode output with backslashes. 2001-08-28 Sven Wischnowsky * 15717: Src/subst.c, Src/Modules/parameter.c, Src/Zle/zle_misc.c: handle possible NULL pointer returned from bufferwords() 2001-08-27 Wayne Davison * 15713: Completion/Redhat/Command/_rpm: added package-specification options to the --verify command. 2001-08-27 Bart Schaefer * 15708: Src/lex.c: Fix PS2 prompt when there's an open double quote inside an open braced-parameter expression. 2001-08-25 Bart Schaefer * 15707: Src/init.c: Fix history crash caused by re-entering loop() when the `precmd' shell function uses `source' or `.'. * 15702: Doc/Zsh/expn.yo: Alphabetize (mostly) parameter flag descriptions; fix a couple of typos; parameter rule #12. 2001-08-24 Sven Wischnowsky * 15705: Src/Zle/complete.c: test if hash table pointer is NULL to avoid SEGV with compstate=() 2001-08-22 Clint Adams * 15683: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_links: completion for links(1). 2001-08-22 Bart Schaefer * 15676: Test/A01grammar.ztst, Test/A05execution.ztst, Test/C02cond.ztst, Test/D04parameter.ztst, Test/E01options.ztst, Test/E02xtrace.ztst, Test/Y01completion.ztst, Test/Y03arguments.ztst: Tweak %prep sections to exit sooner on certain failures (by adding blank lines). Other whitespace-only changes. Avoid [[ ! -r ... ]] test when running as root, as it always fails in that case. Test `typeset -ft' (function trace). * 15608: Completion/Zsh/Command/_cd: Don't treat numbers as cd-able vars. 2001-08-21 Clint Adams * 15675: Src/Builtins/rlimits.awk: handle case where RLIM_NLIMITS is set to a number within an enum. 2001-08-21 Bart Schaefer * users/4157 (plus workers/15674): Completion/Unix/Command/_man: Better handling of section numbers. 2001-08-20 Sven Wischnowsky * 15669: Completion/Base/Completer/_approximate, Src/Zle/compcore.c: undo most of 15650, do that in shell code 2001-08-18 Bart Schaefer * 15617: Src/exec.c: Fix exit status of zsh -fc '! command'. 2001-08-17 Adam Spiers * unposted: Functions/Prompts/prompt_adam2_setup: eliminate horrible inefficiencies resulting from avoidable fork()s 2001-08-17 Sven Wischnowsky * 15653: Completion/Base/Core/_main_complete: make insert-tab really default to `true' * 15650: Completion/Unix/Type/_path_files, Src/Zle/compcore.c: fix test for expanded paths in _path_files; more intelligently move glob flags (in particular those added by _approximate) after a tilde 2001-08-16 Peter Stephenson * 15647: Functions/Misc/zcalc: with output not showing the base (e.g. [##16]) reuse of previous values didn't work. 2001-08-16 Sven Wischnowsky * 15639: Src/text.c: fix bug for output of unquoted here-docs and -strings with special characters * 15638: Completion/Base/Completer/_approximate: make sure that there is one of the group-options before using it 2001-08-15 Geoff Wing * 15621: Src/Zle/zle_refresh.c: display of status line was being mucked up; also fix continuation markers "<...." and "<....>" * unposted: Src/Zle/zle_refresh.c: fix possible seg fault on a screen height shrink 2001-08-15 Adam Spiers * unposted: Doc/Zsh/expn.yo: mention the word `greedy' in the docs for the S flag, to make it easier to find for those used to Perl-speak. * unposted: Doc/Zsh/compsys.yo: add missing docs for cache-policy style. * 15630: Completion/Redhat/Command/_rpm: update caching policy for newer versions of rpm. 2001-08-14 Clint Adams * 15629: Completion/Unix/Command/_zip: unzip -Z should behave the same as zipinfo. 2001-08-13 Bart Schaefer * 15613 (plus unposted additions): Test/B02typeset.ztst: Tests for correct behavior of typeset options and arguments. * 15611: Src/builtin.c, Test/D06subscript.ztst: Fix crash bug when assigning to array elements in a function in the arguments of typeset or local. Change test for new typeset restrictions. 2001-08-13 Sven Wischnowsky * 15615: Completion/Unix/Type/_path_files: -[12n] options don't get arguments 2001-08-12 Bart Schaefer * Peter Breitenlohner: 14956: Makefile.in, Doc/Makefile.in, Test/Makefile.in: Fix various interactions of DESTDIR and use of multiple build targets, e.g. "make DESTDIR=/tmp all check info". 2001-08-09 Oliver Kiddle * 15606: Completion/Unix/Command/_dd: add exclusion lists * 15599: Completion/Unix/Command/_user_admin: detect redhat or mandrake before completing redhat's extensions 2001-08-08 Wayne Davison * 15596: Src/Zle/compmatch.c, Src/Zle/compresult.c, Src/Zle/computil.c: Silence some compiler warnings. 2001-08-08 Sven Wischnowsky * 15597: Completion/Unix/Command/_dd, Doc/Zsh/compsys.yo, Src/Zle/computil.c: follow-up to 15588; add -w option to _values (look at all words); change _dd back 2001-08-07 Wayne Davison * users/4092: Src/hist.c: Don't lose the last history line when a signal causes us to rewrite the history file. 2001-08-07 Oliver Kiddle * 15594: Completion/Zsh/Context/_value, Completion/Zsh/Command/_enable: use _x_display when setting $DISPLAY and fix substitution mistake in enable completion * 15590: Completion/Zsh/Context/_equal: after 15586, we no longer want to complete aliases in the equal context 2001-08-07 Sven Wischnowsky * 15588: Completion/Base/Completer/_approximate, Completion/Base/Utility/_describe, Completion/Unix/Command/_dd: make _dd not use already used specs; fix for selecting stuff to complete in _describe; fix for correction and _describe with grouped lists 2001-08-07 Peter Stephenson * 15586: Src/subst.c, Doc/Zsh/expn.yo: remove =alias expansion, so `=' only expands pathnames. Hooray! * 15585: Doc/Zsh/contrib.yo, Functions/Zle/bash-down-case-word, Functions/Zle/bash-up-case-word: two new Zle functions with bash-style word boundaries. * 15583: Config/installfns.sh: ignore CVS directories for all function installations, not just with subdirectories. 2001-08-07 Sven Wischnowsky * 15584: Src/parse.c: increment zwc file version (which means changing the magic number) 2001-08-06 Oliver Kiddle * 15574: Completion/Unix/Command/_cvs, Completion/Unix/Command/_dd, Completion/Unix/Command/_dict, Completion/Unix/Command/_grep, Completion/Unix/Command/_loadkeys, Completion/Unix/Command/_ls, Completion/Unix/Command/_patch, Completion/Unix/Command/_user_admin, Completion/Unix/Command/_wget, Completion/Unix/Type/_diff_options, Completion/Unix/Type/_directories, Completion/Unix/Type/_groups, Completion/Unix/Type/_users: new _user_admin for useradd, groupmod etc, rewrite of _dd to use _values and make more completions share descriptions for long and short options 2001-08-03 Oliver Kiddle * 15562, Akinori Musha: 15559, 15563: Completion/BSD/Command/_chflags, Completion/Unix/Command/_chown, Completion/Unix/Command/_sysctl: new BSD completion and fix _chown for symlinks 2001-07-31 Clint Adams * 15551: Completion/Unix/Command/_gzip: handle -l and -t as done for -d; only complete presumably compressed files. 2001-07-31 Sven Wischnowsky * 15549: Test/Y03arguments.ztst: fix for changed listing layout 2001-07-30 Sven Wischnowsky * 15526: Completion/Base/Utility/_arguments, Src/Zle/computil.c: change order in which compgroups adds groups; add comment to _arguments trying to explain how and why the return value is wrong 2001-07-28 Peter Stephenson * 15511: Functions/Misc/zcalc, Doc/Zsh/contrib.yo: make zcalc prompt configurable and allow ^D to exit. 2001-07-27 Sven Wischnowsky * 15509: Completion/Base/Utility/_describe, Src/Zle/compresult.c, Src/Zle/computil.c: improve grouped listings some more, so that TABs walk along the first column first; improve list_packed code 2001-07-27 Peter Stephenson * 15508: Completion/Unix/Command/_cvs: cvs tag told you it was going to complete a tag, but then didn't. * 15507: Functions/Misc/zcalc, Doc/Zsh/contrib.yo: new zcalc shell function. 2001-07-26 Oliver Kiddle * 15503: Test/E01options.ztst: fix posixbuiltins test so that it isn't broken by the existence of a print external command. 2001-07-26 Peter Stephenson * 15498: Doc/Zsh/builtins.yo, Doc/Zsh/zle.yo: fix cross-refs for zle builtins and add extra texinfo nodes for zle keymaps, builtins and widgets. 2001-07-25 Bart Schaefer * 15489: Completion/Base/Utility/_describe: Fix typo. * 15488: Doc/Zsh/expn.yo: More index entry cleanup. Reorder the description section to look less as if it has two menus in info and to add some cross-references. 2001-07-25 Sven Wischnowsky * 15487: Completion/Base/Utility/_describe, Src/Zle/complete.c: move pattern matching in the loop to make sure all match specs are used * 15485: Completion/Unix/Command/_lzop, Completion/Zsh/Type/_directory_stack, Completion/Zsh/Type/_file_descriptors, Completion/Zsh/Type/_jobs: some more places where list-separator should be used * 15484: Completion/AIX/Command/_lscfg, Completion/AIX/Type/_logical_volumes, Completion/Base/Utility/_describe, Completion/Unix/Type/_printers, Completion/Zsh/Command/_zstyle, Completion/Zsh/Context/_subscript, Doc/Zsh/compsys.yo, Src/Zle/computil.c: another fix for 15477 (separator strings); add list-separator style * 15482: Doc/Zsh/compwid.yo, Src/Zle/compcore.c, Src/Zle/computil.c: fixlet for 15477, don't let it remove consecutive dummy matches * 15477: Completion/Base/Utility/_describe, Doc/Zsh/compwid.yo, Src/Zle/comp.h, Src/Zle/compcore.c, Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/computil.c: make display for groups in _describe nicer; improve packing with list_packed; leave space for type character (list_types) only in groups with at least one file name 2001-07-24 Sven Wischnowsky * 15470: Src/parse.c: remove nulargs in here strings 2001-07-24 Bart Schaefer * 15472: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: Fix errors introduced by 15354. 2001-07-24 Sven Wischnowsky * 15468: Completion/Unix/Command/_ssh: improve user/host completion before a @ 2001-07-20 Peter Stephenson * 15432: Functions/Zle/bash-transpose-words, Doc/Zsh/contrib.yo: new bash-branspose-words widget. 2001-07-20 Sven Wischnowsky * 15433: Src/Zle/computil.c: don't use compsuffix when it might be freed; use the right variable in that loop there, dammit 2001-07-19 Sven Wischnowsky * 15415: Completion/Base/Utility/_describe, Src/Zle/computil.c: yet another followup to 15407; make _describe filter out non-matching strings before calling compdescribe, otherwise some matches will be hiddens 2001-07-18 Sven Wischnowsky * 15409: Src/Zle/computil.c: fix for 15407; there may be sets without matches * 15407: Completion/Base/Utility/_describe, Completion/Zsh/Command/_zstyle, Doc/Zsh/compsys.yo, Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/computil.c: add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user * 15402 (Akinora Musha): Completion/Unix/Command/_cvs: add support for -R option on BSDs 2001-07-17 Oliver Kiddle * 15393 (Akinori Musha): Completion/Unix/Command/_chown: use colon separator for BSD 2001-07-17 Sven Wischnowsky * 15400: Completion/Unix/Type/_path_files, Completion/Zsh/Command/_zstyle, Doc/Zsh/compsys.yo: add preserve-prefix style to keep pathname prefix unchanged 2001-07-13 Andrej Borsenkow * 15278 (Sven), 15390: Completion/Unix/Command/_mount, Completion/Unix/Type/_path_files: more Cygwin support 15278 was accidentally committed by me 2001-07-13 Sven Wischnowsky * 15389: Completion/Unix/Type/_files, Completion/Unix/Type/_path_files: make _files not use its own description if there is one from a calling function; improve -P-prefix handling in _path_files 2001-07-11 Bart Schaefer * 15375: Doc/Zsh/options.yo: Explain the effect of CORRECT on HASH_CMDS et al. 2001-07-10 Sven Wischnowsky * 15357: Completion/Base/Completer/_prefix, Src/Zle/compcore.c, Src/Zle/zle_tricky.c: prefix completion: make e-o-c-p leave a space before the cursor, make _prefix leave the cursor after the inserted match even if only a single match; and make the C-code not show explanation strings if the completion function it doesn't want a list 2001-07-10 Bart Schaefer * 15354: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Doc/Zsh/compat.yo, Doc/Zsh/files.yo, Doc/Zsh/func.yo, Doc/Zsh/grammar.yo, Doc/Zsh/intro.yo, Doc/Zsh/invoke.yo, Doc/Zsh/jobs.yo, Doc/Zsh/manual.yo, Doc/Zsh/params.yo, Doc/Zsh/prompt.yo, Doc/Zsh/redirect.yo: Add or clean up a lot of index entries. Reorder the documentation for prompt escapes for readability and ease of lookup (I hope). 2001-07-10 Sven Wischnowsky * 15352: Completion/Unix/Command/_man: remove not only numeric suffixes, but also `.n' and the like 2001-07-09 Peter Stephenson * 15334: Src/builtin.c, Test/A01grammar.ztst, Test/A02alias.ztst, Test/A04redirect.ztst, Test/C01arith.ztst, Test/D01prompt.ztst, Test/D04parameter.ztst, Test/D06subscript.ztst, Test/E01options.ztst, Test/E02xtrace.ztst, Test/V01zmodload.ztst: Another companion piece to 15327 to use `(eval)' as the script name in an eval. This neatens the test code considerably. * unposted: Config/version.mk: 4.1.0-dev-1. * 15329: Test/A01grammar.ztst, Test/A02alias.ztst, Test/A04redirect.ztst, Test/A05execution.ztst, Test/C01arith.ztst, Test/D04parameter.ztst, Test/D06subscript.ztst, Test/E01options.ztst, Test/E02xtrace.ztst, Test/V01zmodload.ztst: changes in test scripts required by 15327; mostly benign but the behaviour of LINENO in trap '...' DEBUG is probably wrong. * 15327: Src/builtin.c, Src/exec.c, Src/glob.c, Src/parse.c, Src/Modules/parameter.c, Src/Modules/zpty.c, Src/Modules/zutil.c: Always use local LINENOs in parse_string(). Currently we only do this sometimes in order for existing $LINENO to show through. This seems to cause more problems than it solves. 2001-07-09 Bart Schaefer * 15321: Src/exec.c: Fix line numbers in an error message; unwind function context properly on obscure autoloading failures. 2001-07-07 Bart Schaefer * 15308: Src/builtin.c: Fix infinite loop on `r OLD=NEW' when OLD is the empty string, by rejecting replacements with an empty OLD. * 15305: Src/Zle/zle_main.c: Suppress XTRACE during execution of user-defined ZLE widgets unless the widget function has been tagged for tracing with `typeset -ft'. * 15304: Src/math.c: Unset parameters should not always become typed as float upon assignment (fix for 15292). 2001-07-06 Peter Stephenson * 15291, 15292: Src/math.c, Src/zsh.h, Test/C01arith.yo: fix bug that assignment to scalar in math mode failed if scalar had non-math value in it. 2001-07-06 Clint Adams * 15250: zsh/pcre module will load gracefully even when pcre functions are unavailable. 2001-07-06 Peter Stephenson * 15288: Doc/Zsh/contrib.yo, Functions/Zle/bash-forward-word, Functions/Zle/bash-bacward-word, Functions/Zle/bash-kill-word, Functions/Zle/bash-backward-kill-word: complete set of bash-compatible word functions with documentation. * 15279: Doc/Zsh/expn.yo: describe those ${(S)...%%...} things so that even I understand what the code does. 2001-07-06 Oliver Kiddle * 15252 (and Akinori Musha: 15245): Completion/BSD/Command/_kld, Completion/Unix/Command/_sysctl: Add exclusion lists and use _multi_parts for BSD completion of sysctl. 2001-07-06 Sven Wischnowsky * 15283: Completion/Unix/Type/_path_files: when looking for parameter expansions, ignore `$'s with a backslash before them 2001-07-06 Peter Stephenson * 15277: Src/glob.c: *real* bug with ${(S)...%%...}: the indices for start and end of backreferences were incorrect. * Back out 15266: it was right before, I was looking at it back to front. 2001-07-06 Bart Schaefer * 15271: Src/Modules/pcre.mdd: Default to dynamic linkage only, as the pcre library is unlikely to be available. 2001-07-06 Peter Stephenson * 15266: Src/glob.c, Doc/Zsh/expn.yo: ${(S)...%%...} matches were wrong; try desperately to explain that in ${(SI:...:)...%%...} and ${(SI:...:)...%...} indices count matches finishing progressively earlier in the string. * 15265: Src/parse.c: correction problems with new `for' syntax. 2001-07-05 Peter Stephenson * 15264: Doc/Zsh/grammar.yo: improve description of use of variant complex command forms to avoid confusing the present writer. * 15261: Test/E01options.ztst, Test/ztst.zsh: remaining easy option tests. 2001-07-05 Andrej Borsenkow * 15253 : Src/hashtable.c: make hashdir() hash foo in addition to foo.exe on Cygwin again (lost when Cygwin gcc stopped setting _WIN32 by default). 2001-07-03 Clint Adams * 15242: Doc/Zsh/mod_pcre.yo, Src/Modules/pcre.c: set $match instead of pparams. pcre_match -a sets specified array instead of $match. * 15234: Doc/Zsh/mod_pcre.yo: describe behavior introduced by 15228. * 15228: zshconfig.ac, Src/Modules/pcre.c: switch AC_CHECK_LIB to AC_SEARCH_LIBS for pcre. Have pcre_match set positional parameters with the contents of capture buffers. * unposted: Doc/Makefile.in: add mod_pcre.yo to makefile. 2001-07-03 Oliver Kiddle * 15223, Akinori Musha: 15215: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_sysctl: Add completion for sysctl(8) 2001-07-03 Clint Adams * unposted: Doc/Zsh/.distfiles, Functions/Example/.distfiles, Src/Modules/.distfiles: update distfiles for 15211. 2001-07-02 Bart Schaefer * unposted: zshconfig.ac: Remove references to FUNCINST_MK. 2001-07-02 Clint Adams * 15211: zshconfig.ac, Doc/Zsh/mod_pcre.yo, Functions/Example/zpgrep, Src/Modules/pcre.c, Src/Modules/pcre.mdd: interface to PCRE library. 2001-07-02 Oliver Kiddle * 15204: zshconfig.ac, Src/compat.c, Src/params.c: fix compilation problems on IRIX 5.3 and correct error messages 2001-07-02 Bart Schaefer * 15198: Completion/Zsh/Context/_tilde: Return nonzero if no matches are found. 2001-06-30 Bart Schaefer * 15191: Src/init.c: Don't infinite loop if there's an error in the user's precmd -- reset errflag after preprompt(). 2001-06-29 Andrej Borsenkow * 15183: zshconfig.ac: fix DLLD in non-ELF case * 15181: zshconfig.ac: use -KPIC instead of -Kpic at request of Tomi Vainio * 15180: zshconfig.ac, Etc/MACHINES: make AIX default to termcap as workaround for apparent AIX curses bug; add flags to create modules with shared object type. Mention curses problem. 2001-06-29 Clint Adams * Bart: 15083 plus comments: Functions/Zle/bash-backward-kill-word: bash-style backward-kill-word function. 2001-06-28 Wayne Davison * 15172: Src/hist.c: Have prepnexthistent() remove any HIST_TEMPSTORE entry that is present. 2001-06-28 Peter Stephenson * 15169: README, Doc/zman.yo, Doc/ztexi.yo, Doc/Zsh/manual.yo: handle top node in a way texinfo 4.0 likes better. May require upgrading texinfo. * 15160 and Andrej zsh-users/3973: Doc/Makefile.in: install zsh.html if generated. 2001-06-28 Oliver Kiddle * unposted: Etc/zsh-development-guide, Test/B01cd.ztst: fix typos * 15159: Completion/X/Command/_vnc: fix for two digit display numbers, use _values for -encodings option and complete for xvncviewer 2001-06-28 Sven Wischnowsky * Bart: 15106, small changes in 15152: Completion/Zsh/Command/_cd, Completion/Zsh/Context/_tilde: Improve completion for `cd' with cdablevars set; cleanup in _cd and _tilde 2001-06-27 Peter Stephenson * 15151: zshconfig.ac: --enable-sitefndir should be --enable-site-fndir, spotted by Jos Backus. 2001-06-27 Sven Wischnowsky * 15123: Src/Zle/compmatch.c: (only the patch to compmatch.c from the mail); improve merging cline lists coming from different IPREFIX/PREFIX combinations and such by avoiding to generate cline structs for empty parts after a match spec anchor cline struct * 15115: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, Src/exec.c, Src/jobs.c, Src/options.c, Src/zsh.h: add autocontinue option to automatically make stopped jos running when they are being disowned; make that the default for `%job &!' and `%job &|' 2001-06-26 Andrej Borsenkow * 15099: Test/D03procsubst.ztst, Test/ztst.zsh: add some support for skipping unimplemented features 2001-06-26 Clint Adams * 15094: Functions/Prompts/prompt_clint_setup: don't display battery level if it's -1%. 2001-06-26 Sven Wischnowsky * user/3946: Src/Zle/computil.c: fix for finding the first ambiguous path component in compfiles * 15087: Src/jobs.c: make warning message for disowning stopped jobs more verbose (saying how to make the job running again) 2001-06-25 Peter Stephenson * zsh-users/3942: source installed as Etc/FAQ.yo: latest FAQ. * unposted: Completion/Zsh/Context/.distfiles: add _autocd. 2001-06-25 Clint Adams * 15079: Completion/Unix/Command/_last, Completion/Unix/Type/_users: last takes other arguments than users. 2001-06-25 Peter Stephenson * 15030: Doc/Zsh/grammar.yo, Src/loop.c, Src/parse.c, Src/text.c: `for' loops can take multiple parameter names before the `in' or left parenthesis, each of which takes one word from the list on each iteration. 2001-06-25 Sven Wischnowsky * user/3940: Src/Zle/zle_tricky.c: make expand-word not always restore the command line 2001-06-24 Bart Schaefer * 15060: Test/A02alias.ztst: Change expected return value to account for 15050. * 15060: Test/Y01completion.ztst, Test/Y02compmatch.ztst, Test/Y03arguments.ztst, Test/comptest: Abandon the tests during the %prep section if the zpty module can't be loaded. * 15057: Src/exec.c: PRINT_EXIT_VALUE for shell functions, too. 2001-06-23 Bart Schaefer * 15056: Src/Zle/zle_tricky.c: Change magic-space to recognize whether !" (quote against history expansion) has been typed. * 15050, 15054: Src/exec.c: Change exit status of external commands that could not be executed, to comply with POSIX. 2001-06-22 Andrej Borsenkow * 15021: Src/prompt.c, Doc/Zsh/prompt.yo: revert to old %l semantic; add new %y character instead as suggested by Wayne * 15038: Test/A01grammar.ztst: test case for 15023. (unposted) fix a couple of typos in test decriptions 2001-06-21 Sven Wischnowsky * 15029: Completion/Unix/Command/_man: improve pattern matching to make match specs work for manual page completion 2001-06-21 Bart Schaefer * 15023, 15027: Src/parse.c: Accept newlines before the "in" keyword in "for" and "select", per POSIX. * 15020: Completion/Zsh/Command/_cd, Completion/Zsh/Context/_autocd, Completion/Zsh/Type/_command_names: When AUTO_CD is set, complete directory names (including along cdpath) as well as commands when in command position. * 15018: Completion/compinit: Fix exit status of compdef. * 15002: Completion/Base/Widget/_complete_debug, Completion/Base/Widget/_complete_help: Use `trap' to restore state properly in case of keyboard interrupt. 2001-06-20 Bart Schaefer * 14880: Completion/Base/Core/_main_complete: Fix insert-tab style when value is `pending'. (Belated commit, out of number order.) 2001-06-20 Peter Stephenson * 14988 with mod suggested in 14989: Src/exec.c: avoid names of saved special parameters being trashed. 2001-06-19 Bart Schaefer * 14976: aczsh.m4: Add socklen_t to possible SOCKLEN_T types. 2001-06-19 Andrej Borsenkow * 14973: acconfig.h, aczsh.m4, zshconfig.ac, Src/Modules/zftp.c: fix for reported problems on AIX 4.x. Still no feedback if it finally works (or even compiles) 2001-06-18 Bart Schaefer * 14965: Src/Zle/computil.c: Silence compiler warnings. 2001-06-18 Sven Wischnowsky * 14962: Completion/Unix/Type/_path_files: make special-dirs work together with file-sort (ignore added qualifiers in a test) 2001-06-18 Peter Stephenson * 14959: Src/signals.c: more renames for 14951. 2001-06-18 Sven Wischnowsky * 14952: Src/parse.c: make zcompile unlink() the zwc file first (in case it is currently mapped we don't want to overwrite it); also, create the file read-only * 14951: Src/signals.c, Src/signals.h: rename handler() to zhandler() because it's now exported to modules 2001-06-17 Bart Schaefer * Jason Began: 3931 (see cvs.netbsd.org): zshconfig.ac: Use -fPIC for gcc dynamic linking rather than -fpic. 2001-06-16 Wayne Davison * unposted: Src/utils.c: Revert the mkstemp() change since it was not right. Left zshconfig.ac alone in case someone wants to create a more elaborate mkstemp() change. 2001-06-16 Peter Stephenson * 14939: zshconfig.ac, Src/utils.c: Some systems with GNU-based utilities scream at you for using mktemp() instead of mkstemp(). 2001-06-15 Peter Stephenson * 14929: Src/params.c: after 14915, assigning to individual positional parameters failed. 2001-06-15 Andrej Borsenkow * 14931: Src/Modules/tcp.c, Src/Modules/zftp.c: fix length calculation in tcp_connect and zftp_open 2001-06-14 Peter Stephenson * 14921: Functions/Zftp/zfinit, Completion/Zsh/Command/_zftp: Load tcp module for zftp; autoload zfget_match and zfcd_match for _zftp. * 14915: Doc/Zsh/builtins.yo, Doc/Zsh/params.yo, Src/builtin.c, Src/params.c: special parameters can't have readonly turned off; $* and $@ are readonly. 2001-06-13 Sven Wischnowsky * 14903: Src/Zle/complist.c, Src/Zle/zle_tricky.c: fixes for display bugs for completion lists (cursor left one line to far up or down) 2001-06-13 Peter Stephenson * 14893: Src/signals.c: make handler mod_export because it's needed for signal queueing in various modules. Probably sensible to change handler to zhandler too --- not done yet. 2001-06-13 Sven Wischnowsky * 14897 (and Oliver Kiddle: 14862): Completion/Base/Utility/_values, Completion/Unix/Command/_mount, Completion/Unix/Type/_dir_list, Src/Zle/computil.c: fix for comparguments (completing after single letter options that get their argument in the next word); make _values ignore some of the standard option it may get; make _mount use _dir_list in some places and improve that; `document' comparguments and compvalues with some comments in computil.c 2001-06-13 Oliver Kiddle * 14896: Completion/Zsh/Type/_command_names: don't complete read-only parameters on the left side of an assignment 2001-06-13 Peter Stephenson * unposted: Completion/compinstall: spotted by Bart: assignments when finding $fpath if not set in current shell were completely garbled. 2001-06-13 Sven Wischnowsky * 14883 (Jos Backus): Completion/Unix/Command/_mount: add code for BSDish systems 2001-06-12 Clint Adams * 14863: Src/Modules/tcp.c, Src/Modules/zftp.c: introduce tcp_connect. 2001-06-12 Peter Stephenson * 14858: Doc/Zsh/options.yo, Src/options.c, Src/subst.c, Src/zsh.h, Test/E01options.ztst: KSH_TYPESET option allows assignments after typeset not to be split. 2001-06-12 Bart Schaefer * 14849: README: Request "reporter" output only if a bug cannot be reproduced with 'zsh -f'. 2001-06-11 Clint Adams * 14843: Src/Modules/tcp.c, Src/Modules/zftp.c: introduce tcp_close and use it to close control fd. 2001-06-11 Sven Wischnowsky * 14841: Completion/Base/Utility/_values, Src/Zle/computil.c: new word parsing for compvalues; this should now handle empty separators correctly, as far as it is possible 2001-06-11 Peter Stephenson * 14840: Doc/Zsh/options.yo: document search behaviour with PATH_DIRS option. 2001-06-10 Clint Adams * 14830: config.guess, config.sub: upgrade to GNU's June 5 and 8 versions, respectively. 2001-06-09 Bart Schaefer * unposted (see 14826): Test/C02cond.ztst: Force group of new directory created for file-mode tests to be owned by the current effective group. * 14827: Src/parse.c, Src/utils.c: Move zwcstat() to parse.c where it can be wrapped in #ifdef USE_MMAP. * 14824: Test/comptest: Avoid echotc (improvement on 14792). 2001-06-08 Clint Adams * 14815: Src/utils.c: actually check the filename of the dump. * 14813: zshconfig.ac, Src/parse.c, Src/utils.c, Src/zsh.h: try to autoload functions from digest files that are deleted but still open. 2001-06-08 Bart Schaefer * 14796: zshconfig.ac: More reliable BROKEN_KILL_ESRCH test. 2001-06-07 Bart Schaefer * 14792: Test/comptest: Don't import the current terminal type for the zpty terminal, because the current terminal might not be able to run ZLE (e.g., emacs shell mode). * 14792: Src/Modules/tcp.h, Src/Modules/zftp.c: Shuffle around several #include directives to get the sockaddr_in definition in all the places it's needed. * 14712: Doc/Zsh/builtins.yo: Improve appearance of long hanging paragraph tag for the "read" builtin. * 14578: Src/Modules/termcap.c: Handle vagaries of tgetflag() return value in new function ztgetflag(). 2001-06-07 Wayne Davison * 14793: Src/hist.c: Don't mark a HIST_TMPSTORE entry with HIST_OLD so that the HFILE_FAST algorithm in savehistfile() will recheck this histnum later. 2001-06-06 Clint Adams * unposted: Src/Modules/.distfiles: add tcp.* files. * 14778: Src/Modules/tcp.mdd, Src/Modules/zftp.mdd: rename zsh/tcp to zsh/net/tcp. * 14770: Src/Modules/tcp.c, Src/Modules/tcp.h, Src/Modules/tcp.mdd, Src/Modules/zftp.c, Src/Modules/zftp.mdd: move some functionality from zftp to independent tcp module. 2001-06-06 Andrej Borsenkow * 14772: David Lebel : zshconfig.ac: patch for dynamic linking on OpenBSD * unposted: Etc/zsh-development-guide: we now support autoconf-2.50 * 14766: Src/prompt.c: uniform %l substitution * 14760: zshconfig.ac: use old-style AC_INIT without version * 14758: zshconfig.ac: no more ac_cv_cygwin in autoconf-2.50; use host_os instead * unposted; based on 14679 (me) and 14693 (Bart): configure.ac, zshconfig.ac, .distfiles, Makefile.in, configure.in, Src/mkmakemod.sh: Allow processing by both autoconf-2.13 and autoconf-2.50; remove config.status hack for autoconf-2.50 2001-06-06 Sven Wischnowsky * 14736: Doc/Zsh/compsys.yo: make docs for _wanted and _requested clearer (command has to allow options passed to it) * 14733: Completion/Base/Utility/_arguments: two fixes: try all actions that have to be tried (but only once), execute actions if we aren't after an option already (in the same word) 2001-06-05 Chmouel Boudjnah * 14550: Completion/Redhat/Command/_rpm: Add --nobuild and --nogpg to rpm completion 2001-06-04 Peter Stephenson * Relabelled this version 4.1.0-dev-0. 2001-06-01 Peter Stephenson * Config/version.mk: 4.0.1 released, finally.