Adding command recall to a Unix command line application Adding command recall to a Unix command line application unix unix

Adding command recall to a Unix command line application


I think you are looking for something like JLine but I've never used it so cannot attest to its quality.

She can apparently deal with autocompletion and command line history, and the last release was recently (feb this year) so it's by no means dead.


ledit is great on linux for that sort of thing. It's probably easily compiled on solaris.

Clarification: ledit wraps the call to your other command line app, and can even be passed a file to persistently store your history.

Here's the homepage: http://cristal.inria.fr/~ddr/ledit/