chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] error configuring readline history for .csirc as per doc


From: Joe Python
Subject: [Chicken-users] error configuring readline history for .csirc as per documentation
Date: Sun, 29 Nov 2015 17:52:03 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]