* Make the readline port input-only.
authorNeil Jerram <neil@ossau.uklinux.net>
Fri, 19 Jan 2001 09:00:05 +0000 (09:00 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Fri, 19 Jan 2001 09:00:05 +0000 (09:00 +0000)
guile-readline/ChangeLog
guile-readline/readline.scm

index 1fad436..4c227c6 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-18  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * readline.scm (make-readline-port): Make readline port
+       input-only.
+
 2000-12-12  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        * readline.scm (activate-readline):  Lookup 'use-emacs-interface
index 23adf43..cbb0c43 100644 (file)
@@ -83,8 +83,8 @@
                    (set! string-index (+ 1 string-index))
                    res))))))         
       (make-soft-port
-       (vector write-char display #f get-character #f)
-       "rw"))))
+       (vector #f #f #f get-character #f)
+       "r"))))
 
 ;;; We only create one readline port.  There's no point in having
 ;;; more, since they would all share the tty and history ---