Finished readline functionality.