1 This is a terse description of the new features added to readline-5.0 since
2 the release of readline-4.3.
4 1. New Features in Readline
6 a. History expansion has a new `a' modifier equivalent to the `g' modifier
7 for compatibility with the BSD csh.
9 b. History expansion has a new `G' modifier equivalent to the BSD csh `g'
10 modifier, which performs a substitution once per word.
12 c. All non-incremental search operations may now undo the operation of
13 replacing the current line with the history line.
15 d. The text inserted by an `a' command in vi mode can be reinserted with
18 e. 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.
22 f. There is a new application-callable `free_history_entry()' function.
24 g. History list entries now contain timestamp information; the history file
25 functions know how to read and write timestamp information associated
28 h. Four new key binding functions have been added:
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()
35 i. New application variable, rl_completion_quote_character, set to any
36 quote character readline finds before it calls the application completion
39 j. 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.
43 k. 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.
47 l. 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.
51 m. New bindable command: unix-filename-rubout. Does the same thing as
52 unix-word-rubout, but adds `/' to the set of word delimiters.
54 n. When listing completions, directories have a `/' appended if the
55 `mark-directories' option has been enabled.