Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!fuug!funic!nntp.hut.fi!hila.hut.fi!jmunkki From: jmunkki@hila.hut.fi (Juri Munkki) Newsgroups: comp.sys.mac.programmer Subject: A weird utility & installing sys 7.0 Message-ID: <1991May18.104110.22678@nntp.hut.fi> Date: 18 May 91 10:41:10 GMT Sender: usenet@nntp.hut.fi (Usenet pseudouser id) Reply-To: jmunkki@hila.hut.fi (Juri Munkki) Organization: Helsinki University of Technology, FINLAND Lines: 153 Nntp-Posting-Host: hila.hut.fi I'm one of the lucky ones who didn't even have to fight with ftp to get System 7.0. I just installed it from a CD-ROM. Most of the work is now done, and I'm mostly pleased. There are still a few gripes that I want to point out. - There seems to be no way to replace Monaco 9. Even though I added it to the ROM override list, it doesn't appear in a suitcase file when I open one. I want a font where I 0 and O are different. I might start using Courier. - The system folder is still cluttered with preference files. A new poor man's search path would have solved the problem. At least my program doesn't find its preferences with OpenResFile. - Even though Suitcase II 1.2.9 says that it works with System 7.0, it really doesn't. At least the Suitcases display didn't work. - You still have to reserve the printer port to have AppleTalk on. How about creating a null network for those users who need the AppleTalk services, but do not want to waste a serial port. - The installer leaves old ROM override resources in place, if you do a partial install. This is potentially harmful. - I haven't studied all the ways that I have for customizing the Finder, but I have a few problems: cmd-shift-E doesn't eject-unmount a disk any more. It used to work. Waiting for a file name to become editable is irritating. The old way was better for experienced users. The finder thinks that one of my old MacWrite files is an alias. It says the problem is fixed, but the problem persists. If you copy files and switch out of Finder, you can open desk accessories and Apple menu items, but the actions only happen after the copy has been completed. I haven't reproduced this problem, but on one folder, the small icons view kept getting compressed. Every time I opened the folder, the icons inside were vertically closer than the previous time. They all ended up on top of each other in one horizontal line. ---- Enough complaining, now for something more useful (and for the reason that I posted to comp.sys.mac.programmer). Instead of putting preferences files in the preferences folder, I set their invisible bits. I used to do this with DiskTop, but my version doesn't seem to work any more (yes, it's a legal copy, but old). I can do it with ResEdit, but it's too slow. I was intrigued by the way that you can drop stuff into ResEdit, so I wrote a short application that hides any files that you drop into it. Take it just as a weird hack, I haven't tested this thing properly. In Think C, the thing looks like: /* >> Obfuscator.c This program hides all the files that are given to it. >> >> Copyright 1991, Juri Munkki >> Feel free to use the code in your programs. */ void ReadFinderStuff() { int message,count,i; AppFile thefile; FileParam block; CountAppFiles(&message,&count); if(message==1) { return; } else { for(i=1;i<=count;i++) { GetAppFiles(i,&thefile); block.ioCompletion=0; block.ioNamePtr=thefile.fName; block.ioVRefNum=thefile.vRefNum; block.ioFVersNum=thefile.versNum; block.ioFDirIndex=0; PBGetFInfo(&block,0); block.ioFlFndrInfo.fdFlags |= fInvisible; PBSetFInfo(&block,0); } } } void main() { InitGraf(&thePort); InitCursor(); ReadFinderStuff(); } Of course, you can't get the files back with the same program, but that's a minor problem... Here's the binhex: (This file must be converted with BinHex 4.0) :"%&hBAN!39"36%&A39NJ!!!!!!!!!!H+KfN!!!!!!3!!!!Ca!!!&F3!!!4N4*$r `&#NZ+'B,)bmM!64U%@B@!5Fc%5TQ!`XM0#8M0!4"Gf&jJ!)!!!""8&"-39G"@5% !!*`!`!!!!!!,[!!!!!""8&"-39G"@5%!!*`!`!!!!!!!!!!!!!!!!!!!!!!!!+4 D35!!!!!!!!!(LLS5CLFS)Li&,LFPCJSMCK)c*a)SD!!!#@N4,c)ZCLiM+MCQ)$3 T+fB#+4%SCJ)++6-`-!)0*c`c-!8"0#-KCK!R-b%Z-c!'$#-J)'B,,bSU)c4UMJ- d*bJP,c8b"$)R+#3R*5jUm!%T)bm$&6B[)b%M,c-$)QB#*c3[0J)()LSM%M3!!!! #!!!!!!!#!-`!!!!!!!!"*J"3!!%LAa!I)&pQ"+!-B!+N$$k!6Y%LAa!I)&pQ"+! 0B!+N$6k!6Y%LE`!%3P%JH!VXS#9+J'm1)&!LE`!)-TJLE`!%-T!!)&p36dl351F !-#*[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2rr!!!&53!!!!!16hGZCA)JFQ9cEh9bBf@0VJ: ____________________________________________________________________________ / Juri Munkki / Helsinki University of Technology / Wind / Project / / jmunkki@hut.fi / Computing Center Macintosh Support / Surf / STORM / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~