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 CL-READLINE behaviour can be modified via ~/.inputrc, see GNU
15 Readline documentation for details.
20 (exported by "READLINE" package, nicknamed "RL")
25 Add a completion to the custom completion pool.
30 Adds the given string to history.
35 Empty the custom completion pool.
38 READEXPR &key primary-prompt secondary-prompt history
40 primary-prompt -- a string (default "=> ")
41 secondary-prompt -- a string (default "| ")
42 history -- a boolean (default t)
44 As READLINE, except reads enough lines to complete a lisp
47 Primary-prompt controls the prompt of the first line,
48 secondary prompt the prompt of the rest of the lines.
51 READLINE &key prompt history
53 prompt -- a string (default "")
54 history -- a boolean (default t)
56 Prompt is the prompt displayed to user.
58 History controls whether the string read is added to history, or
59 not. Note that history is available in any case. Currently there
60 is no way to erase history. Leading and trailing whitespace is trimmed
61 from string before they are added to history, and strings that consist
62 entirely of whitespace are not saved to history.
64 Dispite the cleanups performed on history, strings are returned as
70 Use the custom completion system.
75 Use the Readline's default filename-completion system.
78 USE-PACKAGE-COMPLETE name
80 Clear current custom completion pool, insert symbols in package
81 designated by NAME to the custom completion pool, and start using
82 the custom completion system.
87 Runs forms without echoing of input on screen.