File: README

package info (click to toggle)
cl-readline 0.2.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 72 kB
  • ctags: 28
  • sloc: lisp: 94; ansic: 88; makefile: 52; sh: 28
file content (64 lines) | stat: -rw-r--r-- 1,641 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
CL-READLINE 0.2.0

 CL-READLINE is a simple UFFI-based wrapper for the GNU Readline
 library. 

 CL-READLINE has been tested on Debian GNU/Linux under SBCl, SBCL-MT
 and CMUCL. Other platforms and UFFI compatible implementations should
 work, but may require tweaking.

  To load: 

	(asdf:oos 'asdf:load-op 'readline)

  The interface exported by the package READLINE (nicknamed RL).

Functions:

  READLINE &key prompt history

     prompt  -- a string (default "")
     history -- a boolean (default t)

     Prompt is the prompt displayed to user.

     History controls whether the string read is added to history, or
     not. Note that history is available in any case. Currently there
     is no way to erase history.

  READEXPR &key primary-prompt secondary-prompt history

     primary-prompt   -- a string (default "=> ")
     secondary-prompt -- a string (default "|      ")
     history          -- a boolean (default t)

     As READLINE, except reads enough lines to complete a lisp
     expression.

     Primary-prompt controls the prompt of the first line,
     secondary prompt the prompt of the rest of the lines.

  ADD-HISTORY string

     Adds the given string to history.

  USE-FILENAME-COMPLETE

     Use the Readline's default filename-completion system.

  USE-PACKAGE-COMPLETE name

     Insert symbols in package designated by NAME to the custom
     completion pool, and start using the custom completion system.

  USE-CUSTOM-COMPLETE

     Use the custom completion system.

  ADD-COMPLETION

     Add a completion to the custom completion pool.

  CLEAR-COMPLETIONS

     Empty the custom completion pool.