Issue #1134: scanf does not treat line-feeds as whitespace

And as an added bonus, vertical-tabs and form-feeds work as well.