bugfix: if NOREADLINE was not defined and input was...