delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/15/17:20:50

Date: Tue, 15 Sep 1998 17:20:39 -0400 (EDT)
Message-Id: <199809152120.RAA08510@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
Subject: auto-binary-mode?

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019