On 23 Feb 01 at 23:14, owner-arachne-digest@arachne wrote:
>Date: Fri, 23 Feb 2001 14:32:50 -0500
>From: Clarence Verge <[EMAIL PROTECTED]>
>Subject: Re: (OT) Re: Unisys & GIF
>Hi LD;
>I think there would be quite a bit of unsatisfactory bloat added to Arachne
>if she had to peek inside files to decide what they were - not to mention
>the obvious negative impact on speed.
It should probably be left to the user's decision whether he wants to
examine the files. So the feature should not be a built-in one - it
is the classical example for an add-on.
1. What is real and probable? Some people receive mainly pictures,
others texts. For example, I have a rather frequent problem with rtf
getting confused with doc.
2. At least rtf can be identified by the first five bytes. So all
you need is an assembler utility that can be called from a batch
file and that tells you whether a file is rtf (errorlevel 1) or not
(errorlevel 0).
3. In mime.cfg there should be two lines file/.rtf and file/.doc
which call the appropriate viewers rtfview.bat and docview.bat.
4. The control utility should be inserted into the viewers. If the
contents of the file does not correspond to the file extension
the batch file will just switch to the other utility.
Who writes IsRTF.COM? Or IsGIF.COM? Or IsHTM?
Regards
Christof Lange
_______________________________________________
Christof Lange <[EMAIL PROTECTED]>
Prokopova 4, 130 00 Praha 3, Czech Republic
phone: (+420-2) 22 78 18 00 / 22 78 20 02, telefax: 22 78 18 01
http://www.volny.cz/cce.zizkov