Date: Tue, 15 Sep 1998 17:20:39 -0400 (EDT) Message-Id: <199809152120.RAA08510@delorie.com> From: DJ Delorie To: djgpp-workers AT delorie DOT com Subject: auto-binary-mode? Precedence: bulk Hey, I just had an idea. When a file is opened and the first block is read in, if the user didn't specify binary or text, why not look at the data and try to guess? The presence of null, control, or certain 8-bit characters should indicate binary vs text as a default.