From 1f6786ef7ae24ff858f52c6d4ac2bc23d529c0c1 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 12 Jul 1999 17:02:40 +0000 Subject: zsh-3.1.6-test-1 --- Etc/BUGS | 21 ++++++++------ Etc/CONTRIBUTORS | 38 +++++++++++++++++++++++-- Etc/MACHINES | 3 ++ Etc/NEWS | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 138 insertions(+), 10 deletions(-) (limited to 'Etc') diff --git a/Etc/BUGS b/Etc/BUGS index 2a255444f..e89116f23 100644 --- a/Etc/BUGS +++ b/Etc/BUGS @@ -2,9 +2,20 @@ KNOWN BUGS IN ZSH ----------------- +On some terminals, display of lines with exactly 80 characters is +problematic. zsh assumes that the terminal does not print an extra +newline in this case, but some terminals (e.g. aixterm) do. ------------------------------------------------------------------------ -Completion has a habit of doing the wrong thing after a -backslash/newline. +When interrupting code like the following with ^C: + while true; do + sh -c '...' + done +if the `sh' is executing, zsh does not know that the sh received a ^C and +continues with the next iteration. This happens for any program which +handles the interrupt, then exits after tidying up; it does not happen for +zsh, which exits directly from the signal handler. The workaround is to +use ^Z which forks the shell and makes the loop a separate job, then kill +the suspended loop. ------------------------------------------------------------------------ If you suspend "man", zle seems to get into cooked mode. It works ok for plain "less". @@ -26,12 +37,6 @@ Then if you suspend % foo less something from zsh/bash, zle/readline gets into cooked mode. ------------------------------------------------------------------------ -% zsh -c 'cat a_long_file | less ; :' -can be interrupted with ^C. The prompt comes back and less is orphaned. -If you go to the end of the file with less and cat terminates, ^C -will not terminate less. The `; :' after less forces zsh to fork before -executing less. ------------------------------------------------------------------------- The pattern %?* matches names beginning with %? instead of names with at least two characters beginning with %. This is a hack to allow %?foo job substitution without quoting. This behaviour is incompatible with sh diff --git a/Etc/CONTRIBUTORS b/Etc/CONTRIBUTORS index 52d664fad..7064ef742 100644 --- a/Etc/CONTRIBUTORS +++ b/Etc/CONTRIBUTORS @@ -4,8 +4,8 @@ ZSH CONTRIBUTORS Zsh was originally written by Paul Falstad . Zsh is now maintained by the members of the zsh-workers mailing list -. The development is currently coordinated -by Andrew Main (Zefram) . +. The development is currently coordinated +by Peter Stephenson . This file credits only the major contributors to the current release. See the ChangeLog files for a complete list of people who have submitted @@ -15,6 +15,40 @@ to be currently accurate. If you feel that you or someone else have been unfairly omitted from this list please mail the current maintainer at . +Version 3.1.6 +------------- + +* Sven Wishnowsky : completion code, + major rewrite and enhancements, including matching control, completion + widgets and function system, complist module; zle code additions; job + control code changes; parameters code changes; parameter module; + additional autoloading code; general code changes for extra efficiency; + subscripting and ordering of globbing lists. + +* Peter Stephenson : zftp and mapfile modules and + zf* functions; local parameters and typeset changes; changes in autoconf + system; case-independent and approximate pattern matching; various + options; a few completion modules; some zle changes; FAQ. + +* Bart Schaefer : associative array + implementation; other parameter changes; keeping track of missing + patches; function autoloading changes. + +* Wayne Davison : History code novelties and improvements + with new options. + +* Geoff Wing : Zle display code fixes, mailing + list and patch archive. + +* Zoltán Hidvégi : AIX dynamic loading code. + +* Matt Armstrong: cygwin configuration changes. + +Other improvements, bug fixes and design suggestions from all the above +plus Andrej Borsenkow, Oliver Kiddle, Tanaka Akira, Naoki Wakamatsu, Tatuso +Furukawa, Ville Herva, Will Day, Lehti Rahmi, Larry P. Schrof, Helmut +Jarausch, Phil Pennock, Wilfredo Sanchez, Bruce Stephens. + Version 3.0 ----------- diff --git a/Etc/MACHINES b/Etc/MACHINES index 89ec474c9..fd386c7e0 100644 --- a/Etc/MACHINES +++ b/Etc/MACHINES @@ -87,6 +87,9 @@ SGI: IRIX 5.1.1.1, 5.2, 5.3, 6.2, 6.3, 6.5 full optimization (cc -O3 -OPT:Olimit=0) causes problems. Sun: SunOS 4.1.* + Dynamic loading does not work under SunOS 4.1. Sometimes, + you may need to turn it off explicitly with --disable-dynamic. + Under 4.1.3 if yellow pages is used, username completion may cause segmentation violation. This is a bug in the shared library not in zsh. Some libc.so.1.9.* has this bug (it fails in yp_all). diff --git a/Etc/NEWS b/Etc/NEWS index e4bafc08d..9d58c9cc6 100644 --- a/Etc/NEWS +++ b/Etc/NEWS @@ -2,6 +2,92 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH ------------------------------------- +New features in zsh version 3.1.6 (beta version) +------------------------------------------------ + +New completion system via shell functions; massive degree of +programmability and configurability: + - ready-made function suite to use, see zshcompsys(1) + - approximate completion and spelling correction via completion + - control over matching for case-independence, partial word completion, etc. + - menu selection: choose a completion by moving the cursor + - coloured completion lists + +Other editing changes: + - enhancements to function/editing interface: new parameters, numeric + arguments, string argument passing, reading keys from widgets. + - the old history-search-{back,for}ward behaviour and bindings have + returned (up to minor details). + - BASH_AUTO_LIST option to show completion list only on second key press. + - the ZBEEP parameter gives a string to output instead of beeping, + allowing you to have a visual bell. + +History changes: new options HIST_NO_FUNCTIONS, HIST_EXPIRE_DUPS_FIRST, +HIST_FIND_NO_DUPS, HIST_IGNORE_ALL_DUPS, INC_APPEND_HISTORY, +HIST_SAVE_NO_DUPS, SHARE_HISTORY, allow better control of when history is +read and written and how duplicates are handled. + +Associative arrays plus enhanced parameter substitutions to retrieve keys +and values. + +Globbing changes: + - Case-insensitive and approximate globbing. + - Ordering and indexing of globbing matches, e.g. *(om[1]) picks + most recently modified file. + +New loadable modules: + - zftp, plus associated function suite, for turning your zsh session + into an FTP session too + - parameter, for examining and altering shell hash tables via an + associative array interface. + - mapfile, for reading and writing external files via an associative + array interface. + +Debugging and prompt enhancements: + - LINENO is now very much more useful in scripts and functions and has + corresponding prompt escape %i + - $PS4 can contain %i as well as %N for script or function names + (default PS4 changed), also %_ for current shell structure executing; + - Prompt truncation %<...< is now more flexible: it applies to a + whole section of the prompt, not just one escape. You need to put + %<< after the truncated escape to get the old behaviour. + - %20(l.yes.no) in prompts prints yes if at least 20 characters have + been output, else no (e.g. for outputting extra newlines). + +Parameter and expansion changes + - typeset -t MYPATH mypath creates tied path/PATH-like variables + - typeset -g allows operations on parameters without making them local + - New expansions + - ${(t)param} prints type information for $param + - ${(P)param} treats value of $param as the name of a param to + substitute + - ${foo:q} can quote replaced parameter text from expansion + - ${foo/old/new} substitution, like bash; also (S) flag for shortest + match + - $foo[(b.2.i)bar] starts searching $foo for bar starting at 2nd match + - more logical behaviour of nested parameters, now properly documented + - quote only nested expansion, e.g. ${(f)"$(