This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: smtp mail failed


-----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@ihs.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]