To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 309
308  |  310
Subject: 
Re: L3P v1.3 for Mac OSX
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Fri, 6 Dec 2002 02:26:39 GMT
Viewed: 
1631 times
  
In article <H6nrxE.Ju8@lugnet.com>, "Erik Olson" <erik@olson.pair.com>
wrote:

In lugnet.cad.dev.mac, Don Heyse writes:
In lugnet.cad.dev.mac, Christopher Masi writes:
Well, I don't really know. As I said, James said to do this at the
command line

/Developer/Tools/SetFile -c "POV3" -t "TEXT" /Users/yourname/yourfile.pov

and after doing that, the POV-Ray programs processed the files normally.

I wonder if this could be solved with something as simple as doing
an fopen() with "wt" instead of just "w"?

Interesting idea. Unfortunately either way fopen creates a file with no Mac
type or creator code at all.

Because I told the Finder once to open a .pov file with BBEdit, it knows to
do that for me. But I still get a blank icon because it has no type or
creator code.

I'm not the expert on this mess Apple got us into (obfuscating the
type/creator system that worked well up until now.)

I agree. It seems like a step backwards.

Answering Chris' question - I manually put a type/creator code on my .pov
file so that POVRAY played nice with it. I'm on 10.1.5 so I don't have the
nasty open file bug.

Ahh.... so it is a 10.2 thing.

Thanks,
Chris



Message is in Reply To:
  Re: L3P v1.3 for Mac OSX
 
(...) Interesting idea. Unfortunately either way fopen creates a file with no Mac type or creator code at all. Because I told the Finder once to open a .pov file with BBEdit, it knows to do that for me. But I still get a blank icon because it has no (...) (22 years ago, 5-Dec-02, to lugnet.cad.dev.mac)

42 Messages in This Thread:














Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR