look at the attached script,
it messes up the terminal.
remove a few questions, and things are fine.
(if it seems fine now, try adding a few questions)
of course i realize that reinitializing readline is not a good idea
(fixing that fixed the bug) but i still wonder if the behaviour is a bug
anyways.
greetings, martin.