Author ronaldoussoren
Recipients mark.dickinson, ronaldoussoren, zvezdan
Date 2009-09-20.14:18:25
SpamBayes Score 1.12763e-06
Marked as misclassified No
Message-id <1253456307.91.0.684326893408.issue6877@psf.upfronthosting.co.za>
In-reply-to
Content
Mark: it turns out that GNU readline has a rather odd interface, only 
the index of get_history_item is 1-based, all others are 0-based. This 
is not mentioned in the documentation (neither that of the readline 
module or the GNU documentation).

I've attached a very minimal testcase for the history manipulation 
functions in the readline module that passes with GNU readline.

The tests now also pass using libedit emulation (after fixing the 
compilation issues noted by Zvezdan).

I'll file a new issue about the readline documentation, that's unrelated 
to getting libedit support into the repository.
History
Date User Action Args
2009-09-20 14:18:28ronaldoussorensetrecipients: + ronaldoussoren, mark.dickinson, zvezdan
2009-09-20 14:18:27ronaldoussorensetmessageid: <1253456307.91.0.684326893408.issue6877@psf.upfronthosting.co.za>
2009-09-20 14:18:26ronaldoussorenlinkissue6877 messages
2009-09-20 14:18:26ronaldoussorencreate