Add history support in command mode.
Use strdup(3) when saving the response.
Remove size limit on user entered strings.
Add shell commands to the history, as well.