chicken-users
[Top][All Lists]
Advanced

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

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


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] error configuring readline history for .csirc as per documentation
Date: Sun, 29 Nov 2015 23:53:31 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi Joe,

On Sun, 29 Nov 2015 17:52:03 -0500 Joe Python <address@hidden> wrote:

> 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?

The documentation you mention is for CHICKEN 3, but you seem to be using
CHICKEN 4.  Please, see
http://wiki.call-cc.org/man/4/Using%20the%20interpreter#history-access
for the documentation for CHICKEN 4.

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

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