Bug fix and enhancement

This patch fixes two small bugs in the CLI (revision 833), and adds
conditional Term::ReadLine support to the shell mode (if Term::ReadLine
can be loaded).

(darren)

You are what you see.

rt.diff (1.4 KB)