[comp.sys.mac] DeskCheck and LaserWriter

djlinse@phoenix.Princeton.EDU (Dennis Linse) (09/13/88)

In article <27609@think.UUCP> ephraim@vidar.think.com.UUCP (ephraim vishniac) writes:
[ irrelevant (for this article) discussion deleted ]
>
>2.  You've got some files with bogus bundles that screw the finder.
>Old finders were sitting ducks for this; newer ones are better but far
>from perfect.  To check for this, get a copy of my program "DeskCheck"
>(might already be in the PD stuff on your Jasmine) and use it to
>survey your disk.  DeskCheck is available via anonymous ftp in the
>info-mac directory on sumex-aim among other places.  Write me if you
>can't ftp or can't find it.
>
>Ephraim Vishniac					  ephraim@think.com
>Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214

This sounded interesting, so I pulled DeskCheck off of MACSERVE@PUCC
(it's just a little closer for me :-) and ran in on our Mac II.  It
worked like a champ and pointed out quite a few little problems that I
was able to clean up quickly with ResEdit and ResTools.  Thanks for this
nice program!

I might point out that it was able to solve my missing application icon
problem of about a month ago.  It turns out that ImageTools from NCSA
didn't have the bundle bit set, and SendPS from Adobe had a little
problem with both looking for a non-existant ICN# and an incorrect
signature resource.

Now, a question.

1.  Why does the LaserWriter file give an error when run through
DeskCheck?  It says that BNDL resource 128 refers to FREF resources
-8185 and -8186 which do not exist.  I checked our working copy and the
copy on the System 6.0 distribution disk (I had to break the seal on our
copy to check, so I know I didn't do anything.) and both gave the same
thing.

Thanks,

Dennis
-- 
Grabel's Law:  2 is not equal to 3 
               -- not even for very large values of 2

ephraim@think.COM (ephraim vishniac) (09/13/88)

In article <3625@phoenix.Princeton.EDU> djlinse@phoenix.Princeton.EDU (Dennis Linse) writes:

>Now, a question. [concerning results from DeskCheck]

>1.  Why does the LaserWriter file give an error when run through
>DeskCheck?  It says that BNDL resource 128 refers to FREF resources
>-8185 and -8186 which do not exist.  I checked our working copy and the
>copy on the System 6.0 distribution disk (I had to break the seal on our
>copy to check, so I know I didn't do anything.) and both gave the same
>thing.

Answer: because Apple's developers and QA don't always use the simple,
foolproof, automated tools which are available and widely used by
other people.  Very likely, somebody built or modified the LaserWriter
bundle by hand and botched it.  Nobody in QA checked to see if it was
right, even though they've got DeskCheck.  (I sent a couple of people
at Apple the whole program, with source code, about a year and half
ago.)

To Apple's credit, recent releases have been much better.  I was
amazed when I first wrote DeskCheck to find that many Apple programs
(including Disk First Aid!) had grossly defective bundles.

The LaserWriter driver is not updated in the 6.0.1 update, so unless
the distributed version is different from what developers got last
week, it's defective there too.


Ephraim Vishniac					  ephraim@think.com
Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214

     On two occasions I have been asked, "Pray, Mr. Babbage, if you put
     into the machine wrong figures, will the right answers come out?"