Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!world!jeffb From: jeffb@world.std.com (Jeffrey T Berntsen) Newsgroups: comp.sys.apple2 Subject: Re: Deleting Forked Files. . . Message-ID: <1991Jan16.231121.16873@world.std.com> Date: 16 Jan 91 23:11:21 GMT References: <9101162222.AA26864@apple.com> Organization: The World @ Software Tool & Die Lines: 36 JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") writes: [Stuff deleted....] >ever slapped into the ProDOS file system. Normal ProDOS programs >can't use them, so why bother? It'd have been much better to just >write an entirely new FST and call it "IIGS/OS/FS" or something >stupid like that. At the last KansasFest, I talked with Greg >Branche and Jim Luther about such a beastie. They seemed rather >keen on the idea at the time. Maybe for System Disk 6.0? Even >then the ProDOS idea has been scarred beyond belief. Not really. What Apple needs to do is modify ProDOS-8 so that forked files can be handled in a reasonable manner. Here's what I think should be done: Modify the OPEN call so that it opens the data portion of a forked file. Modify the DELETE call so that it will delete both the data and resource forks of a forked file. Add a separate OPEN call to open the resource fork of a forked file similar to the call that exists for Appleshare. ProDOS shouldn't try to interpret this data in any way, just allow the normal READ and WRITE commands that already exist to read and write bytes of data. This would allow forked files to be copied or allow the copying of just a data or resource fork to its own non-forked file. >-- >===> Josef W. Wankerl, Contributing Editor/Programmer for GS+ Magazine > BITNET: JWANKERL@UTCVM.BITNET | America Online: JWankerl > ProLine: jwankerl@pro-gsplus |-------------------------------- >Internet: jwankerl@pro-gsplus.cts.com | "I am a Viking" -Y. Malmsteen ----------------------------------------------------------------------------- Jeffrey T Berntsen | Looking for a good .sig jeffb@world.std.com | -----------------------------------------------------------------------------