significantly improved getpoem.c; readline is a good thing