1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00
Commit graph

14 commits

Author SHA1 Message Date
Mikael Djurfeldt
3b2ee8bcdf * readline.c (scm_init_readline): Set
rl_basic_word_break_characters.  (Thanks to Ian Grant.)
1998-11-19 04:48:50 +00:00
Mikael Djurfeldt
358785a62e * readline.c, readline.h (scm_readline_options,
scm_readline_opts): Moved readline options here.
1998-11-09 14:15:30 +00:00
Mikael Djurfeldt
9fdba2fee5 * readline.c (scm_read_history, scm_write_history): Bugfix: Use
SCM_ROCHARS instead of SCM_CHARS.
1998-11-06 18:15:40 +00:00
Mikael Djurfeldt
254de08949 * readline.c (read-history, write-history): New procedures. 1998-10-31 16:40:46 +00:00
Jim Blandy
cff278a8c7 * readline.c: Doc fix.
(rl_cleanup_after_signal, rl_free_line_state): Make these static.
* readline.h (scm_filename_completion_function): Add prototype.
(scm_init_readline): Make this into a prototype.
* readline.c (scm_filename_completion_function): Use SCM_PROC to
declare this, instead of calling scm_make_subr manually.
1998-10-03 08:00:21 +00:00
Jim Blandy
9623ba323f Remove Totoro kludge.
* Makefile.in, scmconfig.h.in: Regenerated.
* init.c, readline.c: Don't check if TOTORO is #defined.
1998-07-27 23:33:12 +00:00
Mikael Djurfeldt
d4561963c7 * init.c, readline.c: OK, I won't have these readline.x bug
reports anymore.  We've had them since April.  The current reason
is a completely unintelligible failure of totoro.red-bean.com to
do the test for rl_getc_function in libreadline correctly.  This
kludge overrides the test if we're on totoro so that the snapshot
generation process can work.

* readline.c: Define a strdup replacement if not existent on system.
1998-07-12 02:28:16 +00:00
Mikael Djurfeldt
daca28167f * readline.c (rl_cleanup_after_signals, rl_free_line_state): New
readline functions to come in release 2.3.  (Thanks to Chet
Ramey.)
(handle_errors): Use the above functions.
1998-05-19 20:43:42 +00:00
Mikael Djurfeldt
3d4981fad9 Some further fixes. 1998-05-13 00:01:04 +00:00
Mikael Djurfeldt
9c5d232c82 Bugfixes for yesterdays revision. 1998-05-12 21:41:44 +00:00
Mikael Djurfeldt
be0ea98851 * readline.c: Improvements for readline support: Handle errors
better; Implement before-read-hook.
1998-05-12 00:52:31 +00:00
Mikael Djurfeldt
0d7588d20a * readline.c (scm_add_history): Bugfix: Do strdup before giving
away the string to add_history.
(completion_function): Do completion for readline.
(scm_filename_completion_function): New procedure: Filename
completer.
(current_input_getc): New function.  Use this one instead of
standard getc from readline.
1998-05-11 01:16:15 +00:00
Jim Blandy
a1a4b8ed86 Add copyrights; tweak comments. 1997-12-03 17:29:12 +00:00
Jim Blandy
a2d4941fb5 Readline support, from Daniel Risacher.
* readline.c, readline.h: New files.
* init.c: #include "readline.h".
(scm_boot_guile_1): Call scm_init_readline, if we have it.
* Makefile.am (libguile_la_SOURCES): Include readline.c.
* Makefile.in: Regenerated.
* scmconfig.h.in: Regenerated, after change to ../configure.
1997-10-23 05:02:18 +00:00