readline: Miscellaneous Functions

 
 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 an
      'inputrc' 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 (SeeReadline 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 an 'inputrc' 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.
 
  -- Function: void rl_clear_history (void)
      Clear the history list by deleting all of the entries, in the same
      manner as the History library's 'clear_history()' function.  This
      differs from 'clear_history' because it frees private data Readline
      saves in the history list.