cle | Wrap any command-line driven tool with readline | Mehr ...
This handy tool lets you use history and line-editing in any text oriented tool. This is especially useful with third-party proprietary tools that cannot be distributed linked against readline. It is not perfect but it works pretty well.