GNU Readline Library. Node: Custom Completers

PREVReadline Convenience Functions UPProgramming with GNU Readline next

2.5: Custom Completers

Typically, a program that reads commands from the user has a way of disambiguating commands and data. If your program is one of these, then it can provide completion for commands, data, or both. The following sections describe how your program and Readline cooperate to provide this service.

  • How Completing Works The logic used to do completion.
  • Completion Functions Functions provided by Readline.
  • Completion Variables Variables which control completion.
  • A Short Completion Example An example of writing completer subroutines.
  • PREVReadline Convenience Functions UPProgramming with GNU Readline next