delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/17/05:26:54

From: kweinert AT mindspring DOT com (Ken Weinert)
Subject: Re: smtp mail failed
17 Oct 1998 05:26:54 -0700 :
Message-ID: <199810162146.PAA13629.cygnus.gnu-win32@mail1.ihs.com>
Reply-To: "Ken Weinert" <kweinert AT mindspring DOT com>
Mime-Version: 1.0
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 15 Oct 1998 16:52:02 -0400, Larry Hall wrote:

>At 10:17 AM 10/14/98 -0600, 139a80000-HallM(DR3132)37x10 wrote:
>>While I agree 100% with this view, there are some difficulties that are
>>particularly apparent with archive software.  If tar is unpacking a file,
>>(or packing it, for that matter) is it a binary file or a text file?
>>Somehow, tar/zip/whatever must find out whether to open the file in text
>>or binary mode, yet there seems to be no definitive way to tell which.
>>Do you try to see if the file has all characters < 0x100 and line breaks
>>every so often to call it a text file?  What about various meta-character
>>escapes (for extended character sets, bold/italic/underline, etc.).  What
>>if an executable file actually does contain '\n' every so often.  These
>>heuristics are bound to make mistakes, but what better way is there to
>>tell?

	There's also the model of the unix "file" command. This command
depends on reading the beginning of a file and matching what is found
against supplied patterns to determine what kind of file it is.

	Admittedly there are still files that aren't described and you
end up with the same problem, but it greatly narrows the possibilities.

- -- 
Ken Weinert   kenw AT ihs DOT com

A catseye among aggies, blinking in astonishment across the face of time.
 
** Tag(s) inserted by Bandit Tagger98 - http://www.gbar.dtu.dk/~c918704

PGP Public Key Fingerprint: C2DD 7F7C 3331 5107  31BE 93D8 BA6B 9199

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc

iQA/AwUBNie+JrprkZnq6EGGEQJ+dQCZATgx74FfpgBGsCW8L/8PoaHvs2QAn2Ia
ir7U11kUmm+NcCNG8OXUxXB8
=8Ftj
-----END PGP SIGNATURE-----


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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