[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.4.11 Miscellaneous Functions
- Function: int rl_macro_bind (const char *keyseq, const char *macro, Keymap map)
Bind the key sequence keyseq to invoke the macro macro. The binding is performed in map. When keyseq is invoked, the macro will be inserted into the line. This function is deprecated; use
rl_generic_bind()
instead.
- Function: void rl_macro_dumper (int readable)
Print the key sequences bound to macros and their values, using the current keymap, to
rl_outstream
. If readable is non-zero, the list is formatted in such a way that it can be made part of aninputrc
file and re-read.
- Function: int rl_variable_bind (const char *variable, const char *value)
Make the Readline variable variable have value. This behaves as if the readline command ‘set variable value’ had been executed in an
inputrc
file (see section Readline Init File Syntax).
- Function: char * rl_variable_value (const char *variable)
Return a string representing the value of the Readline variable variable. For boolean variables, this string is either ‘on’ or ‘off’.
- Function: void rl_variable_dumper (int readable)
Print the readline variable names and their current values to
rl_outstream
. If readable is non-zero, the list is formatted in such a way that it can be made part of aninputrc
file and re-read.
- Function: int rl_set_paren_blink_timeout (int u)
Set the time interval (in microseconds) that Readline waits when showing a balancing character when
blink-matching-paren
has been enabled.
- Function: char * rl_get_termcap (const char *cap)
Retrieve the string value of the termcap capability cap. Readline fetches the termcap entry for the current terminal name and uses those capabilities to move around the screen line and perform other terminal-specific operations, like erasing a line. Readline does not use all of a terminal’s capabilities, and this function will return values for only those capabilities Readline uses.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |