FIX: issue #609 (CR/LF included in INPUT string on Windows)
FIX: removed obsolete code for EOL handling.