Deleted Added
sdiff udiff text old ( 136644 ) new ( 157184 )
full compact
1This is a terse description of the new features added to readline-5.0 since
2the release of readline-4.3.
3
41. New Features in Readline
5
6a. History expansion has a new `a' modifier equivalent to the `g' modifier
7 for compatibility with the BSD csh.
8
9b. History expansion has a new `G' modifier equivalent to the BSD csh `g'
10 modifier, which performs a substitution once per word.
11
12c. All non-incremental search operations may now undo the operation of
13 replacing the current line with the history line.
14
15d. The text inserted by an `a' command in vi mode can be reinserted with
16 `.'.
17
18e. New bindable variable, `show-all-if-unmodified'. If set, the readline
19 completer will list possible completions immediately if there is more
20 than one completion and partial completion cannot be performed.
21
22f. There is a new application-callable `free_history_entry()' function.
23
24g. History list entries now contain timestamp information; the history file
25 functions know how to read and write timestamp information associated
26 with each entry.
27
28h. Four new key binding functions have been added:
29
30 rl_bind_key_if_unbound()
31 rl_bind_key_if_unbound_in_map()
32 rl_bind_keyseq_if_unbound()
33 rl_bind_keyseq_if_unbound_in_map()
34
35i. New application variable, rl_completion_quote_character, set to any
36 quote character readline finds before it calls the application completion
37 function.
38
39j. New application variable, rl_completion_suppress_quote, settable by an
40 application completion function. If set to non-zero, readline does not
41 attempt to append a closing quote to a completed word.
42
43k. New application variable, rl_completion_found_quote, set to a non-zero
44 value if readline determines that the word to be completed is quoted.
45 Set before readline calls any application completion function.
46
47l. New function hook, rl_completion_word_break_hook, called when readline
48 needs to break a line into words when completion is attempted. Allows
49 the word break characters to vary based on position in the line.
50
51m. New bindable command: unix-filename-rubout. Does the same thing as
52 unix-word-rubout, but adds `/' to the set of word delimiters.
53
54n. When listing completions, directories have a `/' appended if the
55 `mark-directories' option has been enabled.