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 / 302
301  |  303
Subject: 
Re: L3P v1.3 for Mac OSX
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Thu, 5 Dec 2002 18:12:50 GMT
Viewed: 
1644 times
  
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.)

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.



Message has 1 Reply:
  Re: L3P v1.3 for Mac OSX
 
(...) I agree. It seems like a step backwards. (...) Ahh.... so it is a 10.2 thing. Thanks, Chris (22 years ago, 6-Dec-02, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: L3P v1.3 for Mac OSX
 
(...) I wonder if this could be solved with something as simple as doing an fopen() with "wt" instead of just "w"? And... And... I just can't help myself here, sorry Lars... If the code were available you might get better, more helpful or accurate (...) (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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