Deleted Added
full compact
1,2c1,2
< This is a terse description of the new features added to readline-5.0 since
< the release of readline-4.3.
---
> This is a terse description of the new features added to readline-5.1 since
> the release of readline-5.0.
6,7c6,7
< a. History expansion has a new `a' modifier equivalent to the `g' modifier
< for compatibility with the BSD csh.
---
> a. The key sequence sent by the keypad `delete' key is now automatically
> bound to delete-char.
9,10c9,10
< b. History expansion has a new `G' modifier equivalent to the BSD csh `g'
< modifier, which performs a substitution once per word.
---
> b. A negative argument to menu-complete now cycles backward through the
> completion list.
12,13c12,14
< c. All non-incremental search operations may now undo the operation of
< replacing the current line with the history line.
---
> c. A new bindable readline variable: bind-tty-special-chars. If non-zero,
> readline will bind the terminal special characters to their readline
> equivalents when it's called (on by default).
15,16c16,18
< d. The text inserted by an `a' command in vi mode can be reinserted with
< `.'.
---
> d. New bindable command: vi-rubout. Saves deleted text for possible
> reinsertion, as with any vi-mode `text modification' command; `X' is bound
> to this in vi command mode.
18,20c20,21
< e. New bindable variable, `show-all-if-unmodified'. If set, the readline
< completer will list possible completions immediately if there is more
< than one completion and partial completion cannot be performed.
---
> e. If the rl_completion_query_items is set to a value < 0, readline never
> asks the user whether or not to view the possible completions.
22c23,24
< f. There is a new application-callable `free_history_entry()' function.
---
> f. New application-callable auxiliary function, rl_variable_value, returns
> a string corresponding to a readline variable's value.
24,26c26,28
< g. History list entries now contain timestamp information; the history file
< functions know how to read and write timestamp information associated
< with each entry.
---
> g. When parsing inputrc files and variable binding commands, the parser
> strips trailing whitespace from values assigned to boolean variables
> before checking them.
28,55c30,32
< h. Four new key binding functions have been added:
<
< rl_bind_key_if_unbound()
< rl_bind_key_if_unbound_in_map()
< rl_bind_keyseq_if_unbound()
< rl_bind_keyseq_if_unbound_in_map()
<
< i. New application variable, rl_completion_quote_character, set to any
< quote character readline finds before it calls the application completion
< function.
<
< j. New application variable, rl_completion_suppress_quote, settable by an
< application completion function. If set to non-zero, readline does not
< attempt to append a closing quote to a completed word.
<
< k. New application variable, rl_completion_found_quote, set to a non-zero
< value if readline determines that the word to be completed is quoted.
< Set before readline calls any application completion function.
<
< l. New function hook, rl_completion_word_break_hook, called when readline
< needs to break a line into words when completion is attempted. Allows
< the word break characters to vary based on position in the line.
<
< m. New bindable command: unix-filename-rubout. Does the same thing as
< unix-word-rubout, but adds `/' to the set of word delimiters.
<
< n. When listing completions, directories have a `/' appended if the
< `mark-directories' option has been enabled.
---
> h. A new external application-controllable variable that allows the LINES
> and COLUMNS environment variables to set the window size regardless of
> what the kernel returns.