I added a new file to cygwin-1.1.5 -- automode.o. Linking with this file will cause all reads to default to text mode and all writes to default to binary mode. I used it in the new version of bison which I recently (silently) released. FYI, cgf