this patch against vanilla 2.2.2 adds three new functions to module readline: remove_history(pos) -- remove history entry specified by pos replace_history_entry(pos, line) -- replace history entry specified by pos with the given line get_history_buffer_size() -- get current number of history entries the libreadline.tex is also modified. thank you for your consideration.
Logged In: YES user_id=44345 Michal, Can you update this patch against the 2.3 (CVS) source? I'll take a look at it for addition after the 2.3 release.
Logged In: YES user_id=44345 Sorry, I completely forgot about this. I checked it in as readline.c 2.73 and libreadline.tex 1.16. The only change I made was to change the names to remove_history_item and replace_history_item to match the format of get_history_item.