*** empty log message ***
authorJim Blandy <jimb@red-bean.com>
Thu, 23 Oct 1997 05:03:29 +0000 (05:03 +0000)
committerJim Blandy <jimb@red-bean.com>
Thu, 23 Oct 1997 05:03:29 +0000 (05:03 +0000)
ChangeLog
NEWS
ice-9/ChangeLog
libguile/ChangeLog

index 44a9c74..a975765 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Thu Oct 23 00:58:06 1997  Jim Blandy  <jimb@totoro.red-bean.com>
+
+       * configure.in: Check for the readline library, and the termcap
+       library (on which readline relies).
+       * configure: Regenerated.
+
+Wed Oct 22 16:55:57 1997  Jim Blandy  <jimb@totoro.red-bean.com>
+
+       New libtool: 1.0e
+       * ltconfig, ltmain.sh, config.sub, config.guess: Updated.
+       * configure, aclocal.m4: Regenerated.
+
 1997-10-02  Marius Vollmer  <mvo@zagadka.ping.de>
 
        Make dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
diff --git a/NEWS b/NEWS
index 4802adc..a660a55 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -14,25 +14,77 @@ libguile/sequences.h, libguile/sequences.c removed.
 
 * Changes to the stand-alone interpreter
 
-New procedures have been added to implement a "batch mode":
+** New procedures have been added to implement a "batch mode":
 
-Function: batch-mode?
+*** Function: batch-mode?
 
     Returns a boolean indicating whether the interpreter is in batch
     mode.
 
-Function: set-batch-mode?! ARG
+*** Function: set-batch-mode?! ARG
 
     If ARG is true, switches the interpreter to batch mode.  The `#f'
     case has not been implemented.
 
+** Guile now provides full command-line editing, when run interactively.
+To use this feature, you must have the readline library installed.
+The Guile build process will notice it, and automatically include
+support for it.
+
+The readline library is available via anonymous FTP from any GNU
+mirror site; the canonical location is "ftp://prep.ai.mit.edu/pub/gnu".
+
 * Changes to the procedure for linking libguile with your programs
 
+** You can now use the 'build-guile' utility to link against Guile.
+
+Guile now includes a command-line utility called 'build-guile', which
+writes to its standard output a list of flags which you must pass to
+the linker to link against the Guile library.  The flags include
+'-lguile' itself.
+
+This is necessary because the Guile library may depend on other
+libraries for networking functions, thread support, and so on.  To
+link your program against libguile, you must link against these
+libraries as well.  The exact set of libraries depends on the type of
+system you are running, and what you have installed on it.  The
+'build-guile' command uses information recorded in libguile itself to
+determine which libraries you must link against.
+
+For example, here is a Makefile rule that builds a program named 'foo'
+from the object files ${FOO_OBJECTS}, and links them against Guile:
+
+  foo: ${FOO_OBJECTS}
+         ${CC} ${CFLAGS} ${FOO_OBJECTS} `build-guile link` -o foo
+
+
 * Changes to Scheme functions and syntax
 
 ** Multi-byte strings have been removed, as have multi-byte and wide
 ports.
 
+** New function: readline [PROMPT]
+Read a line from the terminal, and allow the user to edit it,
+prompting with PROMPT.  READLINE provides a large set of Emacs-like
+editing commands, lets the user recall previously typed lines, and
+works on almost every kind of terminal, including dumb terminals.
+
+READLINE assumes that the cursor is at the beginning of the line when
+it is invoked.  Thus, you can't print a prompt yourself, and then call
+READLINE; you need to package up your prompt as a string, pass it to
+the function, and let READLINE print the prompt itself.  This is
+because READLINE needs to know the prompt's screen width.
+
+For Guile to provide this function, you must have the readline library
+installed on your system.
+
+See also ADD-HISTORY function.
+
+** New function: add-history STRING
+Add STRING as the most recent line in the history used by the READLINE
+command.  READLINE does not add lines to the history itself; you must
+call ADD-HISTORY to make previous input available to the user.
+
 ** Some magic has been added to the printer to better handle user
 written printing routines (like record printers, closure printers).
 
index a420069..b14b744 100644 (file)
@@ -1,3 +1,22 @@
+Thu Oct 23 01:00:33 1997  Jim Blandy  <jimb@totoro.red-bean.com>
+
+       Add support for readline function.
+       * readline.scm: New module.
+       * boot-9.scm (repl-reader): New function.
+       (scm-style-repl): Call repl-reader, instead of doing the reading
+       ourselves.  Remove repl-report-reset; it was never used for
+       anything.
+       (top-repl): If we've got the readline primitives, then redefine
+       repl-reader to use them.
+       If we've got the readline primitives, import the readline module.
+
+       * ls.scm (ls, lls): Don't assume (eq? #f '()).
+
+Wed Oct 22 18:26:57 1997  Jim Blandy  <jimb@totoro.red-bean.com>
+
+       * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
+       string-fun.scm: Added copyright notices; reformatted.
+
 Thu Oct  9 05:44:00 1997  Gary Houston  <ghouston@actrix.gen.nz>
 
        * expect.scm: (expect-regexec): new procedure, use it in
@@ -16,12 +35,12 @@ Wed Oct  8 03:16:01 1997  Gary Houston  <ghouston@actrix.gen.nz>
        * boot-9.scm (inherit-print-state): If NEW-PORT contains a
        print-state, throw it away.
 
-1997-10-03  Mikael Djurfeldt  <mdj@nada.kth.se>
+Fri Oct  3 12:00:00  Mikael Djurfeldt  <mdj@nada.kth.se>
 
        * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
        `0'.
 
-1997-10-02  Mikael Djurfeldt  <mdj@nada.kth.se>
+Thu Oct  2 12:00:00  Mikael Djurfeldt  <mdj@nada.kth.se>
 
        * boot-9.scm (struct-printer, make-struct-printer,
        set-struct-printer-in-vtable!, *struct-printer*): Removed.
@@ -31,7 +50,7 @@ Wed Oct  8 03:16:01 1997  Gary Houston  <ghouston@actrix.gen.nz>
        (record-type-name, record-type-fields): Decreased slot index by
        one; Use `vtable-offset-user'.
 
-1997-10-02  Marius Vollmer  <mvo@zagadka.ping.de>
+Thu Oct  2 12:00:00  Marius Vollmer  <mvo@zagadka.ping.de>
 
        * boot-9.scm (inherit-print-state): New experimental function.
 
index 7d37dbe..1a4fa36 100644 (file)
@@ -1,3 +1,13 @@
+Thu Oct 23 01:02:03 1997  Jim Blandy  <jimb@totoro.red-bean.com>
+
+       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-20  Mark Galassi  <rosalia@nis.lanl.gov>
 
        * gh.h: gh_vector_set -> gh_vector_set_x