Add word-wrapped output.

The handling of hit-return-to-continue fails to erase the prompt, but it's usable.