On Thu, Nov 7, 2013 at 12:43 AM, Gracjan Polak <
gracja...@gmail.com> wrote:
> I've hit the same problem. On Mac OS X Xcode 5 ships with readline:
Did you try with the latest source from the hg repo? Specifically, in
rev. 1f5250e I added a check for the history_set_history_state
function which is supposed to get rid of the problem, see
https://bitbucket.org/purelang/pure-lang/commits/1f5250e. If this
doesn't solve the problem then please reopen
https://bitbucket.org/purelang/pure-lang/issue/3.
> Interestingly enough this readline version has HISTORY_STATE
> *history_get_history_state(void); but does not have (neither in header nor
> in the dylib) void history_set_history_state(HISTORY_STATE *);
Then rev. 1f5250e will hopefully detect that situation.
> The best solution would be probably to not use history_set_history_state at
> all. Why is it useful?
It's needed to maintain separate histories for the interpreter,
debugger and the readline module. The interpreter can live without it,
but then all invocations of readline will use the same history.
Albert
--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:
agg...@gmail.com
WWW:
https://plus.google.com/+AlbertGraef