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/NEWS | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) (limited to 'Etc/NEWS') 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)"$(