A simplistic alternative to readline / editline.