| www.delorie.com/gnu/docs/readline/rlman_46.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Here is the complete list of callable completion functions present in Readline.
rl_completion_matches() and rl_completion_entry_function).
The default is to do filename
completion. This calls rl_complete_internal() with an
argument depending on invoking_key.
rl_complete
(). This calls rl_complete_internal() with an argument of
`?'.
rl_complete().
This calls rl_complete_internal() with an argument of `*'.
rl_complete_internal()
depending on whether cfunc was called twice in succession and
the value of the show-all-if-ambiguous variable.
Application-specific completion functions may use this function to present
the same interface as rl_complete().
NULL.
The first entry in the returned array is the substitution for text.
The remaining entries are the possible completions. The array is
terminated with a NULL pointer.
entry_func is a function of two args, and returns a
char *. The first argument is text. The second is a
state argument; it is zero on the first call, and non-zero on subsequent
calls. entry_func returns a NULL pointer to the caller
when there are no more matches.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |