Remove readline and replace with fgets, to satisfy the dumb tests. Now we pass
Merge branch 'no_readline' into develop