FIX: issue #571 (Windows (XP) REPL buffer issue)