OAR

RTEMS GNU Tools On-Line Library


Custom Completers

PREV UP next Bookshelf GNU Readline Library

2.6: 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.

  • PREV UP next Bookshelf GNU Readline Library

    Packaging copyright © 1988-2000 OAR Corporation
    Context copyright by each document's author. See Free Software Foundation for information.