summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1998-10-31 16:50:24 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1998-10-31 16:50:24 +0000
commite4eae9b16640d5bf6565081daf0f8d967d197bc2 (patch)
tree9ff5f3bcfdb8d9fee6421025ba8ec9c52d3cdd68
parent2055a1bcd39b5f100f4204d335a64dff8d85de00 (diff)
downloadguile-e4eae9b16640d5bf6565081daf0f8d967d197bc2.tar.gz
*** empty log message ***
-rw-r--r--NEWS19
-rw-r--r--ice-9/ChangeLog9
2 files changed, 28 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a1fe41e83..51bcc55f6 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,21 @@ Please send Guile bug reports to bug-guile@gnu.org.
Changes since Guile 1.3:
+* Changes to the stand-alone interpreter
+
+** Command line history is now restored from and saved to file
+
+If readline is used and the read option `history-file' is enabled, the
+command line history is read from file when the interpreter is
+entered, and written to file on exit. The filename used can be
+specified with the environment variable GUILE_HISTORY. Default file
+name is "$HOME/.guile_history". Nothing special happens if errors
+occur during read or write.
+
+** Command line history length can now be customized.
+Command line history length is now controlled by the read option
+`history-length'. Default is 200 lines.
+
* Changes to Scheme functions and syntax
** New function: unread-string STRING PORT
@@ -25,6 +40,10 @@ Version of `begin' which returns a list of the results of the body
forms instead of the result of the last body form. In contrast to
`begin', sequence->list allows an empty body.
+** New functions: read-history FILENAME, write-history FILENAME
+Read/write command line history from/to file. Returns #t on success
+and #f if an error occured.
+
* Changes to the gh_ interface
** gh_scm2doubles
diff --git a/ice-9/ChangeLog b/ice-9/ChangeLog
index 454163392..ce95db053 100644
--- a/ice-9/ChangeLog
+++ b/ice-9/ChangeLog
@@ -1,3 +1,12 @@
+1998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
+
+ * boot-9.scm (exit-hook): New hook: Is run at the very end of an
+ interactive session.
+ (top-repl): Run exit-hook on exit.
+
+ * readline.scm (readline-port): Maybe read history; Maybe write
+ history at exit (add to exit-hook).
+
Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* readline.scm (make-readline-port): Bugfixed last change...