rahmu/Agros — pull request #18 by saeidw (2011-10-09 18:26:14+00:00)
Title: Added tab completion and history.

So this is about... 6 months late? Sorry!
I took your advice and went with GNU Readline.
The code is based on the last stable release of AGROS (v0.3.2).
Auto-completion will first check the shell's built-in functions (my_commands).
It will then check the list of allowed commands that's provided in the config.
Command history can be browsed with the up and down arrows.

Let me know if you find any bugs. I didn't try to integrate it with a later commit because
I'm not sure if those are stable, if you point me at one I can probably merge it with that.