The cl-readline Reference Manual

This is the cl-readline Reference Manual, version 0.1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:19:09 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-readline

Common Lisp bindings to GNU Readline library

Author

Mark Karpov

License

GNU GPL, version 3

Version

0.1.1

Dependencies
  • alexandria (system).
  • cffi (system).
Source

cl-readline.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-readline/cl-readline.asd

Source

cl-readline.asd.

Parent Component

cl-readline (system).

ASDF Systems

cl-readline.


3.1.2 cl-readline/package.lisp

Source

cl-readline.asd.

Parent Component

cl-readline (system).

Packages

cl-readline.


3.1.3 cl-readline/utils.lisp

Dependency

package.lisp (file).

Source

cl-readline.asd.

Parent Component

cl-readline (system).

Internals

3.1.4 cl-readline/ctypes.lisp

Dependency

utils.lisp (file).

Source

cl-readline.asd.

Parent Component

cl-readline (system).

Internals

history-entry-tclass (class).


3.1.5 cl-readline/cl-readline.lisp

Dependency

ctypes.lisp (file).

Source

cl-readline.asd.

Parent Component

cl-readline (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 cl-readline

Source

package.lisp.

Nickname

rl

Use List
  • alexandria.
  • cffi.
  • common-lisp.
Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Symbol macros

Symbol Macro: *basic-quote-characters*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *basic-word-break-characters*
Package

cl-readline.

Source

cl-readline.lisp.

Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *catch-signals*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *catch-sigwinch*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *change-environment*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *completer-word-break-characters*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *completion-append-character*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *completion-query-items*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *display-prompt*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *done*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *ignore-completion-duplicates*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *inhibit-completion*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *line-buffer*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *mark*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *point*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *prefer-env-winsize*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *readline-name*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *sort-completion-matches*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *terminal-name*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +binding-keymap+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +completion-type+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +dispatching+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +editing-mode+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +end+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +executing-key+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +executing-keymap+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +executing-keyseq+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +executing-macro+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +explicit-arg+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +gnu-readline-p+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +key-sequence-length+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +library-version+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +numeric-arg+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +prompt+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +readline-state+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +readline-version+
Package

cl-readline.

Source

cl-readline.lisp.


5.1.2 Macros

Macro: undo-group (&body body)

All insertion and deletion inside this macro will be grouped together into one undo operation.

Package

cl-readline.

Source

cl-readline.lisp.

Macro: with-message (message save-prompt &body body)

Show message MESSAGE in the echo area while executing BODY. If SAVE-PROMPT is not NIL, save prompt before showing the message and restore it before clearing the message.

Package

cl-readline.

Source

cl-readline.lisp.

Macro: with-new-keymap (form &body body)

Create new keymap evaluating FORM, bind symbol ‘keymap’ to the result, then free it when control flow leaves BODY. ‘make-keymap’ and ‘copy-keymap’ can be used to produce new keymap.

Package

cl-readline.

Source

cl-readline.lisp.


5.1.3 Ordinary functions

Function: add-defun (name function &optional key)

Add NAME to the list of named functions. Make FUNCTION be the function that gets called. If KEY is not NIL and it’s a character, then bind it to function using ‘bind-key’. FUNCTION must be able to take two arguments: integer representing its argument and character representing key that has invoked it.

Package

cl-readline.

Source

cl-readline.lisp.

Function: add-funmap-entry (name function)

Add NAME to the list of bindable Readline command names, and make FUNCTION the function to be called when name is invoked.

Package

cl-readline.

Source

cl-readline.lisp.

Function: add-undo (what start end text)

Remember how to undo an event (according to WHAT). The affected text runs from START to END, and encompasses TEXT. Possible values of WHAT include: :UNDO-DELETE, :UNDO-INSERT, :UNDO-BEGIN, and :UNDO-END.

Package

cl-readline.

Source

cl-readline.lisp.

Function: backward-byte (&optional count key)

Move backward COUNT bytes (1 by default).

Package

cl-readline.

Source

cl-readline.lisp.

Function: backward-char (&optional count key)

Move backward COUNT characters (1 by default).

KEY is ignored.

Package

cl-readline.

Source

cl-readline.lisp.

Function: backward-word (&optional count key)

Move backward COUNT word(s).

We do what Emacs does. Handles multibyte chars.

Package

cl-readline.

Source

cl-readline.lisp.

Function: beginning-of-line (&optional count key)

Move to the beginning of the line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: bind-key (key function &key keymap if-unbound)

Bind KEY to FUNCTION in the currently active keymap. If KEYMAP argument supplied, binding takes place in specified keymap. If IF-UNBOUND is supplied and it’s not NIL, KEY will be bound to FUNCTION only if it’s not already bound.

Package

cl-readline.

Source

cl-readline.lisp.

Function: bind-keyseq (keyseq function &key keymap if-unbound)

Bind the key sequence represented by the string KEYSEQ to the function FUNCTION, beginning in the current keymap. This makes new keymaps as necessary. If KEYMAP is supplied and it’s not NIL, initial bindings are performed in KEYMAP. If IF-UNBOUND is supplied and it’s not NIL, KEYSEQ will be bound to FUNCTION only if it’s not already bound. The return value is T if KEYSEQ is invalid and NIL otherwise.

Package

cl-readline.

Source

cl-readline.lisp.

Function: cleanup-after-signal ()

This function will reset the state of the terminal to what it was before ‘readline’ was called, and remove the Readline signal handlers for all signals, depending on the values of ‘*catch-signals*’ and ‘*catch-sigwinch*’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: clear-display (&optional count key)

Clear the screen and update the display.

Package

cl-readline.

Source

cl-readline.lisp.

Function: clear-history ()

Clear the history list by deleting all of the entries.

Package

cl-readline.

Source

cl-readline.lisp.

Function: clear-pending-input ()

Negate the effect of any previous call to ‘execute-next’. This works only if the pending input has not already been read with ‘read-key’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: clear-screen (&optional count key)

C-l typed to a line without quoting clears the screen, and then reprints the prompt and the current input line.

Given a numeric arg, redraw only the current line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: clear-signals ()

Remove all of the Readline signal handlers installed by ‘set-signals’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: copy-keymap (keymap)

Return a new keymap which is a copy of KEYMAP.

Package

cl-readline.

Source

cl-readline.lisp.

Function: crlf ()

Move the cursor to the start of the next screen line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: delete-text (start end)

Delete the text between START and END in the current line. Return the number of characters deleted.

Package

cl-readline.

Source

cl-readline.lisp.

Function: deprep-terminal ()

Undo the effects of ‘prep-terminal’, leaving the terminal in the state in which it was before the most recent call to ‘prep-terminal’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: ding ()

Ring the terminal bell, obeying the setting of bell-style.

Package

cl-readline.

Source

cl-readline.lisp.

Function: do-undo ()

Undo the first thing on the undo list. Returns NIL if there was nothing to undo, T if something was undone.

Package

cl-readline.

Source

cl-readline.lisp.

Function: echo-signal-char (sig)

If an application wishes to install its own signal handlers, but still have readline display characters that generate signals, calling this function with SIG set to :SIGINT, :SIGQUIT, or :SIGTSTP will display the character generating that signal.

Package

cl-readline.

Source

cl-readline.lisp.

Function: end-of-line (&optional count key)

Move to the end of the line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: execute-next (char)

Make CHAR be the next command to be executed when ‘read-key’ is called.

Package

cl-readline.

Source

cl-readline.lisp.

Function: extend-line-buffer (len)

Ensure that line buffer has enough space to hold LEN characters, possibly reallocating it if necessary.

Package

cl-readline.

Source

cl-readline.lisp.

Function: forced-update-display ()

Force the line to be updated and redisplayed, whether or not Readline thinks the screen display is correct.

Package

cl-readline.

Source

cl-readline.lisp.

Function: forward-byte (&optional count key)

Move forward COUNT bytes (1 by default).

Package

cl-readline.

Source

cl-readline.lisp.

Function: forward-char (&optional count key)

Move forward COUNT characters (1 by default).

Package

cl-readline.

Source

cl-readline.lisp.

Function: forward-word (&optional count key)

Move forward COUNT word(s).

We do what Emacs does. Handles multibyte chars.

Package

cl-readline.

Source

cl-readline.lisp.

Function: free-keymap (keymap)

Free all storage associated with KEYMAP.

Package

cl-readline.

Source

cl-readline.lisp.

Function: free-line-state ()

This will free any partial state associated with the current input
line (undo information, any partial history entry, any partially-entered keyboard macro, and any partially-entered numeric argument). This should be called before ‘cleanup-after-signal.’ The Readline signal handler for SIGINT calls this to abort the current input line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: free-undo-list ()

Free the existing undo list.

Package

cl-readline.

Source

cl-readline.lisp.

Function: function-dumper (readable &optional filename append)

Print the Readline function names and the key sequences currently bound to them to stdout. If READABLE is non-NIL, the list is formatted in such a way that it can be made part of an inputrc file and re-read. If FILENAME is supplied and it’s a string or path, output will be redirected to the file. APPEND allows to append text to the file instead of overwriting it.

Package

cl-readline.

Source

cl-readline.lisp.

Function: funmap-names ()

Return a list of known function names. The list is sorted.

Package

cl-readline.

Source

cl-readline.lisp.

Function: get-keymap ()

Return currently active keymap.

Package

cl-readline.

Source

cl-readline.lisp.

Function: get-keymap-by-name (name)

Return the keymap matching NAME. NAME is one which would be supplied in a set keymap inputrc line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: get-keymap-name (keymap)

Return the name matching KEYMAP. Name is one which would be supplied in a set keymap inputrc line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: get-screen-size ()

Return Readline’s idea of the terminal’s size. The function returns multiple values: number of rows and columns.

Package

cl-readline.

Source

cl-readline.lisp.

Function: initialize ()

Initialize or re-initialize Readline’s internal state. It’s not strictly necessary to call this; ‘readline’ calls it before reading any input.

Package

cl-readline.

Source

cl-readline.lisp.

Function: insert-text (text)

Insert TEXT into the line at the current cursor position. Return the number of characters inserted.

Package

cl-readline.

Source

cl-readline.lisp.

Function: kill-text (start end)

Copy the text between START and END in the current line to the kill ring, appending or prepending to the last kill if the last command was a kill command. The text is deleted. If START is less than END, the text is appended, otherwise prepended. If the last command was not a kill, a new kill ring slot is used.

Package

cl-readline.

Source

cl-readline.lisp.

Function: list-funmap-names (&optional filename append)

Print the names of all bindable Readline functions to stdout. If FILENAME is supplied and it’s a string or path, output will be redirected to the file. APPEND allows append text to the file instead of overwriting it.

Package

cl-readline.

Source

cl-readline.lisp.

Function: macro-dumper (readable &optional filename append)

Print the key sequences bound to macros and their values, using the current keymap to stdout. If READABLE is non-NIL, the list is formatted in such a way that it can be made part of an inputrc file and re-read. If FILENAME is supplied and it’s a string or path, output will be redirected to the file. APPEND allows to append text to the file instead of overwriting it.

Package

cl-readline.

Source

cl-readline.lisp.

Function: make-keymap (&optional bare)

Return a new keymap with self-inserting printing characters, the lowercase Meta characters bound to run their equivalents, and the Meta digits bound to produce numeric arguments. If BARE is supplied and it’s not NIL, empty keymap will be returned.

Package

cl-readline.

Source

cl-readline.lisp.

Function: modifying (start end)

Tell Readline to save the text between START and END as a single undo unit. It is assumed that you will subsequently modify that text.

Package

cl-readline.

Source

cl-readline.lisp.

Function: on-new-line (&optional with-prompt)

Tell the update functions that we have moved onto a new (empty) line, usually after outputting a newline. When WITH-PROMPT is not NIL, Readline will think that prompt is already displayed. This could be used by applications that want to output the prompt string themselves, but still need Readline to know the prompt string length for redisplay. This should be used together with :ALREADY-PROMPTED keyword argument of ‘readline’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: parse-and-bind (line)

Parse LINE as if it had been read from the inputrc file and perform any key bindings and variable assignments found.

Package

cl-readline.

Source

cl-readline.lisp.

Function: prep-terminal (eight-bit-input)

Modify the terminal settings for Readline’s use, so ‘readline’ can read a single character at a time from the keyboard. The EIGHT-BIT-INPUT argument should be non-NIL if Readline should read eight-bit input.

Package

cl-readline.

Source

cl-readline.lisp.

Function: read-history (filename)

Add the contents of filename to the history list, a line at a time.

Package

cl-readline.

Source

cl-readline.lisp.

Function: read-init-file (filename)

Read keybindings and variable assignments from FILENAME.

Package

cl-readline.

Source

cl-readline.lisp.

Function: read-key ()

Return the next character available from Readline’s current input stream.

Package

cl-readline.

Source

cl-readline.lisp.

Function: readline (&key prompt already-prompted num-chars erase-empty-line add-history novelty-check)

Get a line from user with editing. PROMPT, if supplied, is printed before reading of input. Non-NIL value of ALREADY-PROMPTED will tell Readline that the application has printed prompt already. However, PROMPT must be supplied in this case too, so redisplay functions can update the display properly. If NUM-CHARS argument is a positive number, Readline will return after accepting that many characters. If ERASE-EMPTY-LINE is not NIL, ‘readline’ will completely erase the current line, including any prompt, any time a newline is typed as the only character on an otherwise-empty line. The cursor is moved to the beginning of the newly-blank line. Supplying ADD-HISTORY tells Readline that user’s input should be added to
history. However, blank lines don’t get into history anyway. NOVELTY-CHECK, if given, must be a predicate that takes two strings: the actual line and the most recent history line. Only when the predicate evaluates to non-NIL value new line will be added to the history. Return value on success is the actual string and NIL on failure.

Package

cl-readline.

Source

cl-readline.lisp.

Function: redisplay ()

Change what’s displayed on the screen to reflect the current contents of ‘*line-buffer*’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: refresh-line (&optional count key)

Clear the current line. Numeric argument to C-l does this.

Package

cl-readline.

Source

cl-readline.lisp.

Function: register-function (func function)

Register a function. FUNC should be a keyword, one of the following:

:GETC function is used to get a character from the input stream, thus FUNCTION should take pointer to C stream and return a character if this function is desired to be registered. In general, an application that registers :GETC function should consider registering :INPUTP hook as well (see REGISTER-HOOK).

:REDISPLAY function is used to update the display with the current contents of the editing buffer, thus FUNCTION should take no arguments and return NIL on success and non-NIL of failure. By default, it is set to REDISPLAY, the default Readline redisplay function.

:PREP-TERM function is used to initialize the terminal, so FUNCTION must be able to take one argument, a flag that says whether or not to use eight-bit characters. By default, PREP-TERMINAL is used.

:DEPREP-TERM function is used to reset the terminal. This function should undo the effects of :PREP-TERM function.

:COMPLETE function is used to generate list of possible completions for given partially entered word. The function must be able to take three arguments: partially entered word, start index of the word in *LINE-BUFFER* and end index of the word in the buffer. The function must return a list where first element is the actual completion (or part of completion if two or more completions share common prefix) and the rest arguments are possible completions.

Other values of FUNC will be ignored.

FUNCTION must be a function, if FUNCTION is NIL, result is unpredictable.

Package

cl-readline.

Source

cl-readline.lisp.

Function: register-hook (hook function)

Register a hook. HOOK should be a keyword, one of the following:

:STARTUP hook is called just before READLINE prints the prompt.

:PRE-INPUT hook is called after prompt has been printed and just before READLINE starts reading input characters.

:EVENT hook is called periodically when waiting for terminal input. By default, this will be called at most ten times a second if there is no keyboard input.

:SIGNAL hook is called when a read system call is interrupted when READLINE is reading terminal input.

:INPUTP hook is called when Readline need to determine whether or not there is available input on the current input source. If FUNCTION returns NIL, it means that there is no available input.

:LSMATCHES hook is called to display list of completions. FUNCTION must be able to take three arguments: list of completions, length of the list, and length of the longest completion in the list. It’s up to the function how to display these completions.

Other values of HOOK will be ignored.

FUNCTION must be a function that takes no arguments and returns NIL on success and T on failure. If FUNCTION is NIL, hook will be removed (or default function will be used).

Package

cl-readline.

Source

cl-readline.lisp.

Function: replace-line (text clear-undo)

Replace the contents of ‘*line-buffer*’ with TEXT. The point and mark are preserved, if possible. If CLEAR-UNDO is non-NIL, the undo list associated with the current line is cleared.

Package

cl-readline.

Source

cl-readline.lisp.

Function: reset-after-signal ()

This will reinitialize the terminal and reinstall any Readline signal handlers, depending on the values of ‘*catch-signals*’ and ‘*catch-sigwinch*’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: reset-line-state ()

Reset the display state to a clean state and redisplay the current line starting on a new line.

Package

cl-readline.

Source

cl-readline.lisp.

Function: reset-screen-size ()

Cause Readline to reobtain the screen size and recalculate its dimensions.

Package

cl-readline.

Source

cl-readline.lisp.

Function: reset-terminal (terminal)

Reinitialize Readline’s idea of the terminal settings using TERMINAL as the terminal type (e.g., vt100).

Package

cl-readline.

Source

cl-readline.lisp.

Function: resize-terminal ()

Update Readline’s internal screen size by reading values from the kernel.

Package

cl-readline.

Source

cl-readline.lisp.

Function: set-keyboard-input-timeout (u)

While waiting for keyboard input in ‘read-key’, Readline will wait for U microseconds for input before calling any function assigned to ‘event-hook’. U must be greater than or equal to zero (a zero-length timeout is equivalent to a poll). The default waiting period is one-tenth of a second. Return the old timeout value.

Package

cl-readline.

Source

cl-readline.lisp.

Function: set-keymap (keymap)

Make KEYMAP the currently active keymap.

Package

cl-readline.

Source

cl-readline.lisp.

Set the time interval (in microseconds) that Readline waits when showing a balancing character when ’blink-matching-paren’ has been enabled. The function returns previous value of the parameter.

Package

cl-readline.

Source

cl-readline.lisp.

Function: set-prompt (prompt)

Make Readline use PROMPT for subsequent redisplay. This calls ‘expand-prompt’ to expand the prompt and sets ‘+prompt+’ to the result.

Package

cl-readline.

Source

cl-readline.lisp.

Function: set-screen-size (rows cols)

Set Readline’s idea of the terminal size to ROWS rows and COLS columns. If either rows or columns is less than or equal to 0, Readline’s idea of that terminal dimension is unchanged.

Package

cl-readline.

Source

cl-readline.lisp.

Function: set-signals ()

Install Readline’s signal handler for SIGINT, SIGQUIT, SIGTERM, SIGHUP, SIGALRM, SIGTSTP, SIGTTIN, SIGTTOU, and SIGWINCH, depending on the values of ‘*catch-signals*’ and ‘*catch-sigwinch*’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: show-char (char)

Display character CHAR on outstream. If Readline has not been set to display meta characters directly, this will convert meta characters to a meta-prefixed key sequence. This is intended for use by applications which wish to do their own redisplay.

Package

cl-readline.

Source

cl-readline.lisp.

Function: stuff-char (char)

Insert CHAR into the Readline input stream. It will be «read» before Readline attempts to read characters from the terminal with ‘read-key’. Up to 512 characters may be pushed back. ‘stuff-char’ returns T if the character was successfully inserted; NIL otherwise.

Package

cl-readline.

Source

cl-readline.lisp.

Function: tty-set-default-bindings (keymap)

Read the operating system’s terminal editing characters (as would be displayed by stty) to their Readline equivalents. The bindings are performed in KEYMAP.

Package

cl-readline.

Source

cl-readline.lisp.

Function: tty-unset-default-bindings (keymap)

Reset the bindings manipulated by ‘tty-set-default-bindings’ so that the terminal editing characters are bound to ‘insert’. The bindings are performed in KEYMAP.

Package

cl-readline.

Source

cl-readline.lisp.

Function: unbind-command (command keymap)

Unbind all keys that are bound to COMMAND in KEYMAP.

Package

cl-readline.

Source

cl-readline.lisp.

Function: unbind-key (key &optional keymap)

Unbind KEY in KEYMAP. If KEYMAP is not supplied or it’s NIL, KEY will be unbound in currently active keymap. The function returns NIL on success and T on failure.

Package

cl-readline.

Source

cl-readline.lisp.

Function: variable-bind (variable value)

Make the Readline variable VARIABLE have VALUE. This behaves as if the readline command ’set variable value’ had been executed in an inputrc file.

Package

cl-readline.

Source

cl-readline.lisp.

Function: variable-dumper (readable &optional filename append)

Print the readline variable names and their current values to stdout. If readable is not NIL, the list is formatted in such a way that it can be made part of an inputrc file and re-read. If FILENAME is supplied and it’s a string or path, output will be redirected to the file. APPEND allows to append text to the file instead of overwriting it.

Package

cl-readline.

Source

cl-readline.lisp.

Function: variable-value (variable)

Return a string representing the value of the Readline variable VARIABLE. For Boolean variables, this string is either ’on’ or ’off’.

Package

cl-readline.

Source

cl-readline.lisp.

Function: write-history (filename)

Write the current history to filename, overwriting filename if necessary.

Package

cl-readline.

Source

cl-readline.lisp.


5.2 Internals


5.2.1 Special variables

Special Variable: +c-buffer-size+

How many bytes to allocate per Lisp string when converting list of Lisp strings into array of C strings.

Package

cl-readline.

Source

utils.lisp.

Special Variable: +states+

Possible state values for ‘+readline-state+’.

Package

cl-readline.

Source

utils.lisp.


5.2.2 Symbol macros

Symbol Macro: *already-prompted*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *attempted-completion-function*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *attempted-completion-over*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *completion-display-matches-hook*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *deprep-term-function*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *erase-empty-line*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *event-hook*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *getc-function*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *input-available-hook*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *instream*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *last-func*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *num-chars-to-read*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *outstream*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *pending-input*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *pre-input-hook*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *prep-term-function*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *redisplay-function*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *signal-event-hook*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: *startup-hook*
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +history-base+
Package

cl-readline.

Source

cl-readline.lisp.

Symbol Macro: +history-length+
Package

cl-readline.

Source

cl-readline.lisp.


5.2.3 Macros

Macro: produce-callback (function return-type &optional func-arg-list)

Return pointer to callback that calls FUNCTION. RETURN-TYPE specifies return type of the function and FUNC-ARG-LIST is list of argument types (it can be ommited if FUNCTION doesn’t take any arguments).

Package

cl-readline.

Source

utils.lisp.

Macro: with-possible-redirection (filename append &body body)

If FILENAME is not NIL, try to create C file named FILENAME,
temporarily reassign ‘*outstream*’ to pointer to this file, perform BODY, then close the file and assign ‘*outstream*’ the old value. If APPEND is not NIL, output will be appended to the file. Returns NIL on success and T on failure.

Package

cl-readline.

Source

cl-readline.lisp.


5.2.4 Ordinary functions

Function: %var-accessor-*already-prompted* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*already-prompted*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*attempted-completion-function* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*attempted-completion-function*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*attempted-completion-over* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*attempted-completion-over*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*basic-quote-characters* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*basic-quote-characters*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*basic-word-break-characters* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*basic-word-break-characters*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Package

cl-readline.

Source

cl-readline.lisp.

Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*catch-signals* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*catch-signals*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*catch-sigwinch* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*catch-sigwinch*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*change-environment* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*change-environment*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*completer-word-break-characters* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*completer-word-break-characters*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*completion-append-character* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*completion-append-character*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*completion-display-matches-hook* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*completion-display-matches-hook*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*completion-query-items* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*completion-query-items*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*deprep-term-function* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*deprep-term-function*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*display-prompt* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*display-prompt*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*done* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*done*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*erase-empty-line* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*erase-empty-line*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*event-hook* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*event-hook*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*getc-function* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*getc-function*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*ignore-completion-duplicates* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*ignore-completion-duplicates*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*inhibit-completion* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*inhibit-completion*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*input-available-hook* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*input-available-hook*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*instream* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*instream*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*last-func* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*last-func*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*line-buffer* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*line-buffer*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*mark* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*mark*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*num-chars-to-read* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*num-chars-to-read*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*outstream* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*outstream*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*pending-input* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*pending-input*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*point* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*point*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*pre-input-hook* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*pre-input-hook*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*prefer-env-winsize* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*prefer-env-winsize*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*prep-term-function* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*prep-term-function*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*readline-name* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*readline-name*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*redisplay-function* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*redisplay-function*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*signal-event-hook* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*signal-event-hook*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*sort-completion-matches* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*sort-completion-matches*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*startup-hook* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*startup-hook*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-*terminal-name* ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-*terminal-name*) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+binding-keymap+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+binding-keymap+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+completion-type+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+completion-type+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+dispatching+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+dispatching+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+editing-mode+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+editing-mode+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+end+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+end+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+executing-key+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+executing-key+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+executing-keymap+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+executing-keymap+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+executing-keyseq+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+executing-keyseq+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+executing-macro+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+executing-macro+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+explicit-arg+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+explicit-arg+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+gnu-readline-p+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+gnu-readline-p+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+history-base+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+history-base+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+history-length+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+history-length+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+key-sequence-length+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+key-sequence-length+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+library-version+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+library-version+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+numeric-arg+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+numeric-arg+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+prompt+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+prompt+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+readline-state+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+readline-state+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: %var-accessor-+readline-version+ ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: (setf %var-accessor-+readline-version+) ()
Package

cl-readline.

Source

cl-readline.lisp.

Function: decode-state (state)

Transform Readline state STATE into list of keywords. See ‘+states+’ for list of components that can appear in result list.

Package

cl-readline.

Source

utils.lisp.

Function: decode-version (version)

Transform VERSION into two values representing major and minor numbers of Readline library version.

Package

cl-readline.

Source

utils.lisp.

Function: ensure-initialization ()

Make sure that Readline is initialized. If it’s not initialized yet, initialize it.

Package

cl-readline.

Source

cl-readline.lisp.

Function: produce-callback* (function return-type &optional func-arg-list)

Variant of PRODUCE-CALLBACK that should hopefully be more portable.
This avoids using a GENSYM as the name of a callback, and is also funcallable.

Package

cl-readline.

Source

utils.lisp.

Function: recent-history-line-satisfies-p (predicate)

Check if the most recent history line satisfies given predicate PREDICATE. Return T if there is no history saved.

Package

cl-readline.

Source

cl-readline.lisp.

Function: to-array-of-strings (list)

Convert a list of Lisp strings LIST into null-terminated array of C strings. Memory for every string and the array itself should be freed with ‘free’ (C function). If LIST is NIL, null pointer will be returned.

Package

cl-readline.

Source

utils.lisp.

Function: to-list-of-strings (pointer)

Convert a null-terminated array of pointers to chars that POINTER points to into list of Lisp strings.

Package

cl-readline.

Source

utils.lisp.


5.2.5 Classes

Class: history-entry-tclass
Package

cl-readline.

Source

ctypes.lisp.

Direct superclasses
  • foreign-struct-type.
  • translatable-foreign-type.

Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   I   K   L   M   O   P   R   S   T   U   V   W  
Index Entry  Section

%
%var-accessor-*already-prompted*: Private ordinary functions
%var-accessor-*attempted-completion-function*: Private ordinary functions
%var-accessor-*attempted-completion-over*: Private ordinary functions
%var-accessor-*basic-quote-characters*: Private ordinary functions
%var-accessor-*basic-word-break-characters*: Private ordinary functions
%var-accessor-*blink-matching-paren*: Private ordinary functions
%var-accessor-*catch-signals*: Private ordinary functions
%var-accessor-*catch-sigwinch*: Private ordinary functions
%var-accessor-*change-environment*: Private ordinary functions
%var-accessor-*completer-word-break-characters*: Private ordinary functions
%var-accessor-*completion-append-character*: Private ordinary functions
%var-accessor-*completion-display-matches-hook*: Private ordinary functions
%var-accessor-*completion-query-items*: Private ordinary functions
%var-accessor-*deprep-term-function*: Private ordinary functions
%var-accessor-*display-prompt*: Private ordinary functions
%var-accessor-*done*: Private ordinary functions
%var-accessor-*erase-empty-line*: Private ordinary functions
%var-accessor-*event-hook*: Private ordinary functions
%var-accessor-*getc-function*: Private ordinary functions
%var-accessor-*ignore-completion-duplicates*: Private ordinary functions
%var-accessor-*inhibit-completion*: Private ordinary functions
%var-accessor-*input-available-hook*: Private ordinary functions
%var-accessor-*instream*: Private ordinary functions
%var-accessor-*last-func*: Private ordinary functions
%var-accessor-*line-buffer*: Private ordinary functions
%var-accessor-*mark*: Private ordinary functions
%var-accessor-*num-chars-to-read*: Private ordinary functions
%var-accessor-*outstream*: Private ordinary functions
%var-accessor-*pending-input*: Private ordinary functions
%var-accessor-*point*: Private ordinary functions
%var-accessor-*pre-input-hook*: Private ordinary functions
%var-accessor-*prefer-env-winsize*: Private ordinary functions
%var-accessor-*prep-term-function*: Private ordinary functions
%var-accessor-*readline-name*: Private ordinary functions
%var-accessor-*redisplay-function*: Private ordinary functions
%var-accessor-*signal-event-hook*: Private ordinary functions
%var-accessor-*sort-completion-matches*: Private ordinary functions
%var-accessor-*startup-hook*: Private ordinary functions
%var-accessor-*terminal-name*: Private ordinary functions
%var-accessor-+binding-keymap+: Private ordinary functions
%var-accessor-+completion-type+: Private ordinary functions
%var-accessor-+dispatching+: Private ordinary functions
%var-accessor-+editing-mode+: Private ordinary functions
%var-accessor-+end+: Private ordinary functions
%var-accessor-+executing-key+: Private ordinary functions
%var-accessor-+executing-keymap+: Private ordinary functions
%var-accessor-+executing-keyseq+: Private ordinary functions
%var-accessor-+executing-macro+: Private ordinary functions
%var-accessor-+explicit-arg+: Private ordinary functions
%var-accessor-+gnu-readline-p+: Private ordinary functions
%var-accessor-+history-base+: Private ordinary functions
%var-accessor-+history-length+: Private ordinary functions
%var-accessor-+key-sequence-length+: Private ordinary functions
%var-accessor-+library-version+: Private ordinary functions
%var-accessor-+numeric-arg+: Private ordinary functions
%var-accessor-+prompt+: Private ordinary functions
%var-accessor-+readline-state+: Private ordinary functions
%var-accessor-+readline-version+: Private ordinary functions

(
(setf %var-accessor-*already-prompted*): Private ordinary functions
(setf %var-accessor-*attempted-completion-function*): Private ordinary functions
(setf %var-accessor-*attempted-completion-over*): Private ordinary functions
(setf %var-accessor-*basic-quote-characters*): Private ordinary functions
(setf %var-accessor-*basic-word-break-characters*): Private ordinary functions
(setf %var-accessor-*blink-matching-paren*): Private ordinary functions
(setf %var-accessor-*catch-signals*): Private ordinary functions
(setf %var-accessor-*catch-sigwinch*): Private ordinary functions
(setf %var-accessor-*change-environment*): Private ordinary functions
(setf %var-accessor-*completer-word-break-characters*): Private ordinary functions
(setf %var-accessor-*completion-append-character*): Private ordinary functions
(setf %var-accessor-*completion-display-matches-hook*): Private ordinary functions
(setf %var-accessor-*completion-query-items*): Private ordinary functions
(setf %var-accessor-*deprep-term-function*): Private ordinary functions
(setf %var-accessor-*display-prompt*): Private ordinary functions
(setf %var-accessor-*done*): Private ordinary functions
(setf %var-accessor-*erase-empty-line*): Private ordinary functions
(setf %var-accessor-*event-hook*): Private ordinary functions
(setf %var-accessor-*getc-function*): Private ordinary functions
(setf %var-accessor-*ignore-completion-duplicates*): Private ordinary functions
(setf %var-accessor-*inhibit-completion*): Private ordinary functions
(setf %var-accessor-*input-available-hook*): Private ordinary functions
(setf %var-accessor-*instream*): Private ordinary functions
(setf %var-accessor-*last-func*): Private ordinary functions
(setf %var-accessor-*line-buffer*): Private ordinary functions
(setf %var-accessor-*mark*): Private ordinary functions
(setf %var-accessor-*num-chars-to-read*): Private ordinary functions
(setf %var-accessor-*outstream*): Private ordinary functions
(setf %var-accessor-*pending-input*): Private ordinary functions
(setf %var-accessor-*point*): Private ordinary functions
(setf %var-accessor-*pre-input-hook*): Private ordinary functions
(setf %var-accessor-*prefer-env-winsize*): Private ordinary functions
(setf %var-accessor-*prep-term-function*): Private ordinary functions
(setf %var-accessor-*readline-name*): Private ordinary functions
(setf %var-accessor-*redisplay-function*): Private ordinary functions
(setf %var-accessor-*signal-event-hook*): Private ordinary functions
(setf %var-accessor-*sort-completion-matches*): Private ordinary functions
(setf %var-accessor-*startup-hook*): Private ordinary functions
(setf %var-accessor-*terminal-name*): Private ordinary functions
(setf %var-accessor-+binding-keymap+): Private ordinary functions
(setf %var-accessor-+completion-type+): Private ordinary functions
(setf %var-accessor-+dispatching+): Private ordinary functions
(setf %var-accessor-+editing-mode+): Private ordinary functions
(setf %var-accessor-+end+): Private ordinary functions
(setf %var-accessor-+executing-key+): Private ordinary functions
(setf %var-accessor-+executing-keymap+): Private ordinary functions
(setf %var-accessor-+executing-keyseq+): Private ordinary functions
(setf %var-accessor-+executing-macro+): Private ordinary functions
(setf %var-accessor-+explicit-arg+): Private ordinary functions
(setf %var-accessor-+gnu-readline-p+): Private ordinary functions
(setf %var-accessor-+history-base+): Private ordinary functions
(setf %var-accessor-+history-length+): Private ordinary functions
(setf %var-accessor-+key-sequence-length+): Private ordinary functions
(setf %var-accessor-+library-version+): Private ordinary functions
(setf %var-accessor-+numeric-arg+): Private ordinary functions
(setf %var-accessor-+prompt+): Private ordinary functions
(setf %var-accessor-+readline-state+): Private ordinary functions
(setf %var-accessor-+readline-version+): Private ordinary functions

A
add-defun: Public ordinary functions
add-funmap-entry: Public ordinary functions
add-undo: Public ordinary functions

B
backward-byte: Public ordinary functions
backward-char: Public ordinary functions
backward-word: Public ordinary functions
beginning-of-line: Public ordinary functions
bind-key: Public ordinary functions
bind-keyseq: Public ordinary functions

C
cleanup-after-signal: Public ordinary functions
clear-display: Public ordinary functions
clear-history: Public ordinary functions
clear-pending-input: Public ordinary functions
clear-screen: Public ordinary functions
clear-signals: Public ordinary functions
copy-keymap: Public ordinary functions
crlf: Public ordinary functions

D
decode-state: Private ordinary functions
decode-version: Private ordinary functions
delete-text: Public ordinary functions
deprep-terminal: Public ordinary functions
ding: Public ordinary functions
do-undo: Public ordinary functions

E
echo-signal-char: Public ordinary functions
end-of-line: Public ordinary functions
ensure-initialization: Private ordinary functions
execute-next: Public ordinary functions
extend-line-buffer: Public ordinary functions

F
forced-update-display: Public ordinary functions
forward-byte: Public ordinary functions
forward-char: Public ordinary functions
forward-word: Public ordinary functions
free-keymap: Public ordinary functions
free-line-state: Public ordinary functions
free-undo-list: Public ordinary functions
Function, %var-accessor-*already-prompted*: Private ordinary functions
Function, %var-accessor-*attempted-completion-function*: Private ordinary functions
Function, %var-accessor-*attempted-completion-over*: Private ordinary functions
Function, %var-accessor-*basic-quote-characters*: Private ordinary functions
Function, %var-accessor-*basic-word-break-characters*: Private ordinary functions
Function, %var-accessor-*blink-matching-paren*: Private ordinary functions
Function, %var-accessor-*catch-signals*: Private ordinary functions
Function, %var-accessor-*catch-sigwinch*: Private ordinary functions
Function, %var-accessor-*change-environment*: Private ordinary functions
Function, %var-accessor-*completer-word-break-characters*: Private ordinary functions
Function, %var-accessor-*completion-append-character*: Private ordinary functions
Function, %var-accessor-*completion-display-matches-hook*: Private ordinary functions
Function, %var-accessor-*completion-query-items*: Private ordinary functions
Function, %var-accessor-*deprep-term-function*: Private ordinary functions
Function, %var-accessor-*display-prompt*: Private ordinary functions
Function, %var-accessor-*done*: Private ordinary functions
Function, %var-accessor-*erase-empty-line*: Private ordinary functions
Function, %var-accessor-*event-hook*: Private ordinary functions
Function, %var-accessor-*getc-function*: Private ordinary functions
Function, %var-accessor-*ignore-completion-duplicates*: Private ordinary functions
Function, %var-accessor-*inhibit-completion*: Private ordinary functions
Function, %var-accessor-*input-available-hook*: Private ordinary functions
Function, %var-accessor-*instream*: Private ordinary functions
Function, %var-accessor-*last-func*: Private ordinary functions
Function, %var-accessor-*line-buffer*: Private ordinary functions
Function, %var-accessor-*mark*: Private ordinary functions
Function, %var-accessor-*num-chars-to-read*: Private ordinary functions
Function, %var-accessor-*outstream*: Private ordinary functions
Function, %var-accessor-*pending-input*: Private ordinary functions
Function, %var-accessor-*point*: Private ordinary functions
Function, %var-accessor-*pre-input-hook*: Private ordinary functions
Function, %var-accessor-*prefer-env-winsize*: Private ordinary functions
Function, %var-accessor-*prep-term-function*: Private ordinary functions
Function, %var-accessor-*readline-name*: Private ordinary functions
Function, %var-accessor-*redisplay-function*: Private ordinary functions
Function, %var-accessor-*signal-event-hook*: Private ordinary functions
Function, %var-accessor-*sort-completion-matches*: Private ordinary functions
Function, %var-accessor-*startup-hook*: Private ordinary functions
Function, %var-accessor-*terminal-name*: Private ordinary functions
Function, %var-accessor-+binding-keymap+: Private ordinary functions
Function, %var-accessor-+completion-type+: Private ordinary functions
Function, %var-accessor-+dispatching+: Private ordinary functions
Function, %var-accessor-+editing-mode+: Private ordinary functions
Function, %var-accessor-+end+: Private ordinary functions
Function, %var-accessor-+executing-key+: Private ordinary functions
Function, %var-accessor-+executing-keymap+: Private ordinary functions
Function, %var-accessor-+executing-keyseq+: Private ordinary functions
Function, %var-accessor-+executing-macro+: Private ordinary functions
Function, %var-accessor-+explicit-arg+: Private ordinary functions
Function, %var-accessor-+gnu-readline-p+: Private ordinary functions
Function, %var-accessor-+history-base+: Private ordinary functions
Function, %var-accessor-+history-length+: Private ordinary functions
Function, %var-accessor-+key-sequence-length+: Private ordinary functions
Function, %var-accessor-+library-version+: Private ordinary functions
Function, %var-accessor-+numeric-arg+: Private ordinary functions
Function, %var-accessor-+prompt+: Private ordinary functions
Function, %var-accessor-+readline-state+: Private ordinary functions
Function, %var-accessor-+readline-version+: Private ordinary functions
Function, (setf %var-accessor-*already-prompted*): Private ordinary functions
Function, (setf %var-accessor-*attempted-completion-function*): Private ordinary functions
Function, (setf %var-accessor-*attempted-completion-over*): Private ordinary functions
Function, (setf %var-accessor-*basic-quote-characters*): Private ordinary functions
Function, (setf %var-accessor-*basic-word-break-characters*): Private ordinary functions
Function, (setf %var-accessor-*blink-matching-paren*): Private ordinary functions
Function, (setf %var-accessor-*catch-signals*): Private ordinary functions
Function, (setf %var-accessor-*catch-sigwinch*): Private ordinary functions
Function, (setf %var-accessor-*change-environment*): Private ordinary functions
Function, (setf %var-accessor-*completer-word-break-characters*): Private ordinary functions
Function, (setf %var-accessor-*completion-append-character*): Private ordinary functions
Function, (setf %var-accessor-*completion-display-matches-hook*): Private ordinary functions
Function, (setf %var-accessor-*completion-query-items*): Private ordinary functions
Function, (setf %var-accessor-*deprep-term-function*): Private ordinary functions
Function, (setf %var-accessor-*display-prompt*): Private ordinary functions
Function, (setf %var-accessor-*done*): Private ordinary functions
Function, (setf %var-accessor-*erase-empty-line*): Private ordinary functions
Function, (setf %var-accessor-*event-hook*): Private ordinary functions
Function, (setf %var-accessor-*getc-function*): Private ordinary functions
Function, (setf %var-accessor-*ignore-completion-duplicates*): Private ordinary functions
Function, (setf %var-accessor-*inhibit-completion*): Private ordinary functions
Function, (setf %var-accessor-*input-available-hook*): Private ordinary functions
Function, (setf %var-accessor-*instream*): Private ordinary functions
Function, (setf %var-accessor-*last-func*): Private ordinary functions
Function, (setf %var-accessor-*line-buffer*): Private ordinary functions
Function, (setf %var-accessor-*mark*): Private ordinary functions
Function, (setf %var-accessor-*num-chars-to-read*): Private ordinary functions
Function, (setf %var-accessor-*outstream*): Private ordinary functions
Function, (setf %var-accessor-*pending-input*): Private ordinary functions
Function, (setf %var-accessor-*point*): Private ordinary functions
Function, (setf %var-accessor-*pre-input-hook*): Private ordinary functions
Function, (setf %var-accessor-*prefer-env-winsize*): Private ordinary functions
Function, (setf %var-accessor-*prep-term-function*): Private ordinary functions
Function, (setf %var-accessor-*readline-name*): Private ordinary functions
Function, (setf %var-accessor-*redisplay-function*): Private ordinary functions
Function, (setf %var-accessor-*signal-event-hook*): Private ordinary functions
Function, (setf %var-accessor-*sort-completion-matches*): Private ordinary functions
Function, (setf %var-accessor-*startup-hook*): Private ordinary functions
Function, (setf %var-accessor-*terminal-name*): Private ordinary functions
Function, (setf %var-accessor-+binding-keymap+): Private ordinary functions
Function, (setf %var-accessor-+completion-type+): Private ordinary functions
Function, (setf %var-accessor-+dispatching+): Private ordinary functions
Function, (setf %var-accessor-+editing-mode+): Private ordinary functions
Function, (setf %var-accessor-+end+): Private ordinary functions
Function, (setf %var-accessor-+executing-key+): Private ordinary functions
Function, (setf %var-accessor-+executing-keymap+): Private ordinary functions
Function, (setf %var-accessor-+executing-keyseq+): Private ordinary functions
Function, (setf %var-accessor-+executing-macro+): Private ordinary functions
Function, (setf %var-accessor-+explicit-arg+): Private ordinary functions
Function, (setf %var-accessor-+gnu-readline-p+): Private ordinary functions
Function, (setf %var-accessor-+history-base+): Private ordinary functions
Function, (setf %var-accessor-+history-length+): Private ordinary functions
Function, (setf %var-accessor-+key-sequence-length+): Private ordinary functions
Function, (setf %var-accessor-+library-version+): Private ordinary functions
Function, (setf %var-accessor-+numeric-arg+): Private ordinary functions
Function, (setf %var-accessor-+prompt+): Private ordinary functions
Function, (setf %var-accessor-+readline-state+): Private ordinary functions
Function, (setf %var-accessor-+readline-version+): Private ordinary functions
Function, add-defun: Public ordinary functions
Function, add-funmap-entry: Public ordinary functions
Function, add-undo: Public ordinary functions
Function, backward-byte: Public ordinary functions
Function, backward-char: Public ordinary functions
Function, backward-word: Public ordinary functions
Function, beginning-of-line: Public ordinary functions
Function, bind-key: Public ordinary functions
Function, bind-keyseq: Public ordinary functions
Function, cleanup-after-signal: Public ordinary functions
Function, clear-display: Public ordinary functions
Function, clear-history: Public ordinary functions
Function, clear-pending-input: Public ordinary functions
Function, clear-screen: Public ordinary functions
Function, clear-signals: Public ordinary functions
Function, copy-keymap: Public ordinary functions
Function, crlf: Public ordinary functions
Function, decode-state: Private ordinary functions
Function, decode-version: Private ordinary functions
Function, delete-text: Public ordinary functions
Function, deprep-terminal: Public ordinary functions
Function, ding: Public ordinary functions
Function, do-undo: Public ordinary functions
Function, echo-signal-char: Public ordinary functions
Function, end-of-line: Public ordinary functions
Function, ensure-initialization: Private ordinary functions
Function, execute-next: Public ordinary functions
Function, extend-line-buffer: Public ordinary functions
Function, forced-update-display: Public ordinary functions
Function, forward-byte: Public ordinary functions
Function, forward-char: Public ordinary functions
Function, forward-word: Public ordinary functions
Function, free-keymap: Public ordinary functions
Function, free-line-state: Public ordinary functions
Function, free-undo-list: Public ordinary functions
Function, function-dumper: Public ordinary functions
Function, funmap-names: Public ordinary functions
Function, get-keymap: Public ordinary functions
Function, get-keymap-by-name: Public ordinary functions
Function, get-keymap-name: Public ordinary functions
Function, get-screen-size: Public ordinary functions
Function, initialize: Public ordinary functions
Function, insert-text: Public ordinary functions
Function, kill-text: Public ordinary functions
Function, list-funmap-names: Public ordinary functions
Function, macro-dumper: Public ordinary functions
Function, make-keymap: Public ordinary functions
Function, modifying: Public ordinary functions
Function, on-new-line: Public ordinary functions
Function, parse-and-bind: Public ordinary functions
Function, prep-terminal: Public ordinary functions
Function, produce-callback*: Private ordinary functions
Function, read-history: Public ordinary functions
Function, read-init-file: Public ordinary functions
Function, read-key: Public ordinary functions
Function, readline: Public ordinary functions
Function, recent-history-line-satisfies-p: Private ordinary functions
Function, redisplay: Public ordinary functions
Function, refresh-line: Public ordinary functions
Function, register-function: Public ordinary functions
Function, register-hook: Public ordinary functions
Function, replace-line: Public ordinary functions
Function, reset-after-signal: Public ordinary functions
Function, reset-line-state: Public ordinary functions
Function, reset-screen-size: Public ordinary functions
Function, reset-terminal: Public ordinary functions
Function, resize-terminal: Public ordinary functions
Function, set-keyboard-input-timeout: Public ordinary functions
Function, set-keymap: Public ordinary functions
Function, set-paren-blink-timeout: Public ordinary functions
Function, set-prompt: Public ordinary functions
Function, set-screen-size: Public ordinary functions
Function, set-signals: Public ordinary functions
Function, show-char: Public ordinary functions
Function, stuff-char: Public ordinary functions
Function, to-array-of-strings: Private ordinary functions
Function, to-list-of-strings: Private ordinary functions
Function, tty-set-default-bindings: Public ordinary functions
Function, tty-unset-default-bindings: Public ordinary functions
Function, unbind-command: Public ordinary functions
Function, unbind-key: Public ordinary functions
Function, variable-bind: Public ordinary functions
Function, variable-dumper: Public ordinary functions
Function, variable-value: Public ordinary functions
Function, write-history: Public ordinary functions
function-dumper: Public ordinary functions
funmap-names: Public ordinary functions

G
get-keymap: Public ordinary functions
get-keymap-by-name: Public ordinary functions
get-keymap-name: Public ordinary functions
get-screen-size: Public ordinary functions

I
initialize: Public ordinary functions
insert-text: Public ordinary functions

K
kill-text: Public ordinary functions

L
list-funmap-names: Public ordinary functions

M
Macro, produce-callback: Private macros
Macro, undo-group: Public macros
Macro, with-message: Public macros
Macro, with-new-keymap: Public macros
Macro, with-possible-redirection: Private macros
macro-dumper: Public ordinary functions
make-keymap: Public ordinary functions
modifying: Public ordinary functions

O
on-new-line: Public ordinary functions

P
parse-and-bind: Public ordinary functions
prep-terminal: Public ordinary functions
produce-callback: Private macros
produce-callback*: Private ordinary functions

R
read-history: Public ordinary functions
read-init-file: Public ordinary functions
read-key: Public ordinary functions
readline: Public ordinary functions
recent-history-line-satisfies-p: Private ordinary functions
redisplay: Public ordinary functions
refresh-line: Public ordinary functions
register-function: Public ordinary functions
register-hook: Public ordinary functions
replace-line: Public ordinary functions
reset-after-signal: Public ordinary functions
reset-line-state: Public ordinary functions
reset-screen-size: Public ordinary functions
reset-terminal: Public ordinary functions
resize-terminal: Public ordinary functions

S
set-keyboard-input-timeout: Public ordinary functions
set-keymap: Public ordinary functions
set-paren-blink-timeout: Public ordinary functions
set-prompt: Public ordinary functions
set-screen-size: Public ordinary functions
set-signals: Public ordinary functions
show-char: Public ordinary functions
stuff-char: Public ordinary functions

T
to-array-of-strings: Private ordinary functions
to-list-of-strings: Private ordinary functions
tty-set-default-bindings: Public ordinary functions
tty-unset-default-bindings: Public ordinary functions

U
unbind-command: Public ordinary functions
unbind-key: Public ordinary functions
undo-group: Public macros

V
variable-bind: Public ordinary functions
variable-dumper: Public ordinary functions
variable-value: Public ordinary functions

W
with-message: Public macros
with-new-keymap: Public macros
with-possible-redirection: Private macros
write-history: Public ordinary functions


A.3 Variables

Jump to:   *   +  
S  
Index Entry  Section

*
*already-prompted*: Private symbol macros
*attempted-completion-function*: Private symbol macros
*attempted-completion-over*: Private symbol macros
*basic-quote-characters*: Public symbol macros
*basic-word-break-characters*: Public symbol macros
*blink-matching-paren*: Public symbol macros
*catch-signals*: Public symbol macros
*catch-sigwinch*: Public symbol macros
*change-environment*: Public symbol macros
*completer-word-break-characters*: Public symbol macros
*completion-append-character*: Public symbol macros
*completion-display-matches-hook*: Private symbol macros
*completion-query-items*: Public symbol macros
*deprep-term-function*: Private symbol macros
*display-prompt*: Public symbol macros
*done*: Public symbol macros
*erase-empty-line*: Private symbol macros
*event-hook*: Private symbol macros
*getc-function*: Private symbol macros
*ignore-completion-duplicates*: Public symbol macros
*inhibit-completion*: Public symbol macros
*input-available-hook*: Private symbol macros
*instream*: Private symbol macros
*last-func*: Private symbol macros
*line-buffer*: Public symbol macros
*mark*: Public symbol macros
*num-chars-to-read*: Private symbol macros
*outstream*: Private symbol macros
*pending-input*: Private symbol macros
*point*: Public symbol macros
*pre-input-hook*: Private symbol macros
*prefer-env-winsize*: Public symbol macros
*prep-term-function*: Private symbol macros
*readline-name*: Public symbol macros
*redisplay-function*: Private symbol macros
*signal-event-hook*: Private symbol macros
*sort-completion-matches*: Public symbol macros
*startup-hook*: Private symbol macros
*terminal-name*: Public symbol macros

+
+binding-keymap+: Public symbol macros
+c-buffer-size+: Private special variables
+completion-type+: Public symbol macros
+dispatching+: Public symbol macros
+editing-mode+: Public symbol macros
+end+: Public symbol macros
+executing-key+: Public symbol macros
+executing-keymap+: Public symbol macros
+executing-keyseq+: Public symbol macros
+executing-macro+: Public symbol macros
+explicit-arg+: Public symbol macros
+gnu-readline-p+: Public symbol macros
+history-base+: Private symbol macros
+history-length+: Private symbol macros
+key-sequence-length+: Public symbol macros
+library-version+: Public symbol macros
+numeric-arg+: Public symbol macros
+prompt+: Public symbol macros
+readline-state+: Public symbol macros
+readline-version+: Public symbol macros
+states+: Private special variables

S
Special Variable, +c-buffer-size+: Private special variables
Special Variable, +states+: Private special variables
Symbol Macro, *already-prompted*: Private symbol macros
Symbol Macro, *attempted-completion-function*: Private symbol macros
Symbol Macro, *attempted-completion-over*: Private symbol macros
Symbol Macro, *basic-quote-characters*: Public symbol macros
Symbol Macro, *basic-word-break-characters*: Public symbol macros
Symbol Macro, *blink-matching-paren*: Public symbol macros
Symbol Macro, *catch-signals*: Public symbol macros
Symbol Macro, *catch-sigwinch*: Public symbol macros
Symbol Macro, *change-environment*: Public symbol macros
Symbol Macro, *completer-word-break-characters*: Public symbol macros
Symbol Macro, *completion-append-character*: Public symbol macros
Symbol Macro, *completion-display-matches-hook*: Private symbol macros
Symbol Macro, *completion-query-items*: Public symbol macros
Symbol Macro, *deprep-term-function*: Private symbol macros
Symbol Macro, *display-prompt*: Public symbol macros
Symbol Macro, *done*: Public symbol macros
Symbol Macro, *erase-empty-line*: Private symbol macros
Symbol Macro, *event-hook*: Private symbol macros
Symbol Macro, *getc-function*: Private symbol macros
Symbol Macro, *ignore-completion-duplicates*: Public symbol macros
Symbol Macro, *inhibit-completion*: Public symbol macros
Symbol Macro, *input-available-hook*: Private symbol macros
Symbol Macro, *instream*: Private symbol macros
Symbol Macro, *last-func*: Private symbol macros
Symbol Macro, *line-buffer*: Public symbol macros
Symbol Macro, *mark*: Public symbol macros
Symbol Macro, *num-chars-to-read*: Private symbol macros
Symbol Macro, *outstream*: Private symbol macros
Symbol Macro, *pending-input*: Private symbol macros
Symbol Macro, *point*: Public symbol macros
Symbol Macro, *pre-input-hook*: Private symbol macros
Symbol Macro, *prefer-env-winsize*: Public symbol macros
Symbol Macro, *prep-term-function*: Private symbol macros
Symbol Macro, *readline-name*: Public symbol macros
Symbol Macro, *redisplay-function*: Private symbol macros
Symbol Macro, *signal-event-hook*: Private symbol macros
Symbol Macro, *sort-completion-matches*: Public symbol macros
Symbol Macro, *startup-hook*: Private symbol macros
Symbol Macro, *terminal-name*: Public symbol macros
Symbol Macro, +binding-keymap+: Public symbol macros
Symbol Macro, +completion-type+: Public symbol macros
Symbol Macro, +dispatching+: Public symbol macros
Symbol Macro, +editing-mode+: Public symbol macros
Symbol Macro, +end+: Public symbol macros
Symbol Macro, +executing-key+: Public symbol macros
Symbol Macro, +executing-keymap+: Public symbol macros
Symbol Macro, +executing-keyseq+: Public symbol macros
Symbol Macro, +executing-macro+: Public symbol macros
Symbol Macro, +explicit-arg+: Public symbol macros
Symbol Macro, +gnu-readline-p+: Public symbol macros
Symbol Macro, +history-base+: Private symbol macros
Symbol Macro, +history-length+: Private symbol macros
Symbol Macro, +key-sequence-length+: Public symbol macros
Symbol Macro, +library-version+: Public symbol macros
Symbol Macro, +numeric-arg+: Public symbol macros
Symbol Macro, +prompt+: Public symbol macros
Symbol Macro, +readline-state+: Public symbol macros
Symbol Macro, +readline-version+: Public symbol macros