Added 'open' command.
Gave up on support for libedit.