Subject: lib/30747: libedit is missing remove_history()
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 07/14/2005 14:07:00
>Synopsis: libedit is missing remove_history()
>Arrival-Date: Thu Jul 14 14:07:00 +0000 2005
>Originator: David N. Williams
>Release: Darwin 8.2
University of Michigan
Darwin pm476-24.dialip.mich.net 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc
I have made the equivalent of this request to Apple, but
apparently the NetBSD libedit library is the primary source.
Could you please add the equivalent of the function
remove_history() to libedit, with a prototype in readline.h or
history.h as appropriate? The function add_history() is already
present, so it seems logical to implement remove_history() as
well. Both are present in recent versions of GNU readline.
Inspection of the GNU source for the readline library shows
remove_history() to be pretty simple, maybe simple enough that
its expression is inevitable, so maybe nothing special has to be
done to avoid contamination by the GPL. But I am not a lawyer.
The immediate occasion for this request is an attempt to build
the very nice open source plotting package asymptote-0.82 in Mac
OS X (Tiger). It uses remove_history(), and builds fine when
the reference to it is removed, at the expense of a little
crippling of functionality.
David N. Williams