Hi Cygnal users,
I discovered a new issue. Although under Cygnal, a call like fopen("file", "r") opens a stream in a text mode, converting between MS-DOS line endings and newlines, the stdin and stdout streams are operating in binary mode, putting out line feeds, and not suppressing carriage returns on input.
I think I have a handle on this; I have already make a commit to the Cygnal git repo.
This is tracked as new issue #14.