Next: Curses, Previous: Regular Expression Pattern Matching, Up: Packages [Contents][Index]
(require 'edit-line)
These procedures provide input line editing and recall.
These functions are defined in edline.c and Iedline.scm using the editline or GNU readline (see Overview in GNU Readline Library) libraries available from:
ftp.sys.toronto.edu:/pub/rc/editline.shar
ftp.gnu.org:/pub/gnu/readline-2.0.tar.gz
When edit-line
package is initialized, if the current input
port is the default input port and the environment variable
EMACS is not defined, line-editing mode will be entered.
Returns the initial current-input-port
SCM was invoked with
(stdin).
Returns the initial current-output-port
SCM was invoked with
(stdout).
Returns an input/output port that allows command line editing and retrieval of history.
Returns the current edited line port or #f
.
If bool is false, exits line-editing mode and returns the previous
value of (line-editing)
. If bool is true, sets the current
input and output ports to an edited line port and returns the previous
value of (line-editing)
.
Next: Curses, Previous: Regular Expression Pattern Matching, Up: Packages [Contents][Index]