Hi, Of course, things would work better if we'd change the file types on the .sources and .changes files to something other than 'TEXT' in terms of unexpanding them. Does this break anything else in the system?
So, does someone have a good idea for the type to use? I tried a search on apple.com and wasn't sucessful beyond the table in http://developer.apple.com/techpubs/mac/Toolbox/Toolbox-447.html. There seems to be a product called TCDB at http://tcdp.tripod.com. Apple, according to http://devworld.apple.com/dev/cftype/ doesn't register the types any more.
Ideas?
cheers
bruce
Doug Way dway@mat.net wrote:
On Tue, 1 Feb 2000, Duane Maxwell wrote:
Perhaps SqC will someday see fit to set the file types of these files to something a little less likely to provoke's UnStuffIt's friskiness.
Assuming this works, maybe our good friend (and download curator) Bruce O'Neel might be able to do this? (Does setting the file type to something other than 'TEXT' actually prevent this problem?) Bruce? :-}
Of course, some sort of automatic Squeak-based check would be even better (as Les suggested), but at least short-term, fixing the file type in the Mac download would be easy.
Ultimately, I think this is mostly Squeak's problem, and we should do something about it one way or the other... downloading & starting Squeak should be a worry-free operation. (People will download Squeak before they ever sign up for this list, or check the Swiki, so the fix needs to be at the source...)
- Doug Way dway@mat.net
Hi, Of course, things would work better if we'd change the file types on the .sources and .changes files to something other than 'TEXT' in terms of unexpanding them. Does this break anything else in the system?
So, does someone have a good idea for the type to use? I tried a search on apple.com and wasn't sucessful beyond the table in http://developer.apple.com/techpubs/mac/Toolbox/Toolbox-447.html. There seems to be a product called TCDB at http://tcdp.tripod.com. Apple, according to http://devworld.apple.com/dev/cftype/ doesn't register the types any more.
Ideas?
cheers
bruce
I send a message in 13 May 1999 suggesting using the generic '????' type for this.
Javier Diaz
You might try 'ttro' - this is the type used by SimpleText (nee TeachText) to indicate a 'read-only' text file - those are the files that look like folded-up newspapers. Seems appropriate for the sources file. StuffIt shouldn't touch it, but it means that most text editors won't open it either, and it will display an error dialog upon opening (>32 K - the limit for SimpleText).
Ideally, the entire Squeak suite on Mac should follow the rules, including setting up app/doc icons, bundles, and file refs, so that images will naturally open the VM, appropriate document descriptions show up in Get Info, etc. It's rather un-Macish to be so generic.
If you'd like some help with this, I can certainly assist. I've shipped many commercial Mac applications, and have this sort of thing down. All you'll really have to do is include some resources and set the "bundle" bit in the application.
Hi, Of course, things would work better if we'd change the file types on the .sources and .changes files to something other than 'TEXT' in terms of unexpanding them. Does this break anything else in the system?
So, does someone have a good idea for the type to use? I tried a search on apple.com and wasn't sucessful beyond the table in http://developer.apple.com/techpubs/mac/Toolbox/Toolbox-447.html. There seems to be a product called TCDB at http://tcdp.tripod.com. Apple, according to http://devworld.apple.com/dev/cftype/ doesn't register the types any more.
=================================================== Duane Maxwell dmaxwell (at) entrypoint.com CTO http://www.entrypoint.com EntryPoint, Inc. (858)348-3040 FAX(858)348-3100
Information contained herein is my personal opinion and not necessarily that of EntryPoint. ===================================================
Just out of interest, I looked to see what VW does on the Mac.
VW has a creator code of HPS4. This is registered at Apple, but not in the TCDB. (Squeak has code FAST, which is also registered at Apple, but not in the TCDB).
VW fileouts have type TEXT. The changes file also has type TEXT. But the sources file is type SRCS (also not in the TCDB) and the image is type HPS4 (same as the creator code).
As distributed, the VW changes file is small, so making that and fileouts TEXT would seem to make sense, so that they can be examined with a text editor. I have no idea what they do with the CR/LF translation problem.
Using SRCS for the Squeak sources and changes files would seem to be a reasonable option.
While we are talking about making Squeak more Mac-friendly, what would it take to make the VM respond to the QUIT event from MacOS. So that the machine will close-down cleanly when the user presses the shutdown button. QUIT is one of the "compulsory" AppleEvents, I thought ...
Of course, this change would not be platform independent, but presumably PC and Unix users would like the equivalent functionality.
Andrew
Andrew
squeak-dev@lists.squeakfoundation.org