3 CL-READLINE is a simple UFFI-based wrapper for the GNU Readline
6 CL-READLINE has been tested on Debian GNU/Linux under SBCl, SBCL-MT
7 and CMUCL. Other platforms and UFFI compatible implementations should
8 work, but may require tweaking.
12 (asdf:oos 'asdf:load-op 'readline)
14 The interface exported by the package READLINE (nicknamed RL).
18 READLINE &key prompt history
20 prompt -- a string (default "")
21 history -- a boolean (default t)
23 Prompt is the prompt displayed to user.
25 History controls whether the string read is added to history, or
26 not. Note that history is available in any case. Currently there
27 is no way to erase history.
29 READEXPR &key primary-prompt secondary-prompt history
31 primary-prompt -- a string (default "=> ")
32 secondary-prompt -- a string (default "| ")
33 history -- a boolean (default t)
35 As READLINE, except reads enough lines to complete a lisp
38 Primary-prompt controls the prompt of the first line,
39 secondary prompt the prompt of the rest of the lines.
43 Adds the given string to history.
47 Use the Readline's default filename-completion system.
49 USE-PACKAGE-COMPLETE name
51 Insert symbols in package designated by NAME to the custom
52 completion pool, and start using the custom completion system.
56 Use the custom completion system.
60 Add a completion to the custom completion pool.
64 Empty the custom completion pool.