1This is a terse description of the new features added to readline-5.0 since 2the release of readline-4.3.
| 1This is a terse description of the new features added to readline-5.1 since 2the release of readline-5.0.
|
3 41. New Features in Readline 5
| 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.
| 6a. The key sequence sent by the keypad `delete' key is now automatically 7 bound to delete-char.
|
8
| 8
|
9b. History expansion has a new `G' modifier equivalent to the BSD csh `g' 10 modifier, which performs a substitution once per word.
| 9b. A negative argument to menu-complete now cycles backward through the 10 completion list.
|
11
| 11
|
12c. All non-incremental search operations may now undo the operation of 13 replacing the current line with the history line.
| 12c. A new bindable readline variable: bind-tty-special-chars. If non-zero, 13 readline will bind the terminal special characters to their readline 14 equivalents when it's called (on by default).
|
14
| 15
|
15d. The text inserted by an `a' command in vi mode can be reinserted with 16 `.'.
| 16d. New bindable command: vi-rubout. Saves deleted text for possible 17 reinsertion, as with any vi-mode `text modification' command; `X' is bound 18 to this in vi command mode.
|
17
| 19
|
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.
| 20e. If the rl_completion_query_items is set to a value < 0, readline never 21 asks the user whether or not to view the possible completions.
|
21
| 22
|
22f. There is a new application-callable `free_history_entry()' function.
| 23f. New application-callable auxiliary function, rl_variable_value, returns 24 a string corresponding to a readline variable's value.
|
23
| 25
|
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.
| 26g. When parsing inputrc files and variable binding commands, the parser 27 strips trailing whitespace from values assigned to boolean variables 28 before checking them.
|
27
| 29
|
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.
| 30h. A new external application-controllable variable that allows the LINES 31 and COLUMNS environment variables to set the window size regardless of 32 what the kernel returns.
|
| |