[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Fresh CHICKEN - trouble with readline
From: |
Bahman Movaqar |
Subject: |
Re: [Chicken-users] Fresh CHICKEN - trouble with readline |
Date: |
Sat, 31 Jan 2015 03:24:39 +0330 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 01/31/2015 02:21 AM, Bahman Movaqar wrote:
> I just compiled and installed CHICKEN 4.9.0.1 on a virtual machine
> (Ubuntu 64bit).
> Then installed 'libreadline-dev' (apt-get), followed by 'readline' egg
> (chicken-install).
> Importing readline works just fine in csi (use readline). However, when
> trying to add readline to the csi startup[1], csi doesn't start
> complaining about "history-install-file-manager" being unbound[2]. I'm
> sure '.csi.history' exists and RW by my user.
>
> What am I doing wrong? TIA,
>
> [1] http://wiki.call-cc.org/eggref/4/readline#examples
> [2] http://pastebin.com/LZ7hAqUU
Just for the record, I managed to get around it by calling
"install-history-file" directly:
(use readline irregex)
(current-input-port (make-readline-port))
(install-history-file "/home/bahman" ".csi.history" 1000)
--
Bahman Movaqar
http://BahmanM.com - https://twitter.com/bahman__m
https://github.com/bahmanm - https://gist.github.com/bahmanm
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature