The link (
http://wiki.call-cc.org/man/3/Using%20the%20interpreter#history-access)
mentions the following procedure for using history with csi.

(use readline regex)
(current-input-port (make-gnu-readline-port))
(gnu-history-install-file-manager
  (string-append (or (getenv "HOME") ".") "/.csi.history"))


However i get an error:

$ csi

CHICKEN
(c) 2008-2015, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.10.0 (rev b259631)
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2015-08-04 on yves.more-magic.net (Linux)

; loading /home/jopython/.csirc ...
; loading /usr/local/lib/chicken/7/readline.import.so ...
; loading /usr/local/lib/chicken/7/chicken.import.so ...
; loading /usr/local/lib/chicken/7/foreign.import.so ...
; loading /usr/local/lib/chicken/7/ports.import.so ...
; loading /usr/local/lib/chicken/7/data-structures.import.so ...
; loading /usr/local/lib/chicken/7/posix.import.so ...
; loading /usr/local/lib/chicken/7/irregex.import.so ...
; loading /usr/local/lib/chicken/7/regex.import.so ...
; loading /usr/local/lib/chicken/7/readline.so ...
; loading /usr/local/lib/chicken/7/regex.so ...

Error: unbound variable: make-gnu-readline-port

What am i missing here?
- Jo
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to