Message92894
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. |
|
Date |
User |
Action |
Args |
2009-09-20 14:18:28 | ronaldoussoren | set | recipients:
+ ronaldoussoren, mark.dickinson, zvezdan |
2009-09-20 14:18:27 | ronaldoussoren | set | messageid: <1253456307.91.0.684326893408.issue6877@psf.upfronthosting.co.za> |
2009-09-20 14:18:26 | ronaldoussoren | link | issue6877 messages |
2009-09-20 14:18:26 | ronaldoussoren | create | |
|