[futurebasic] Re: [FB] UNIX data file for FB application program

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2002 : Group Archive : Group : All Groups

From: Ashley Butterworth <macbse@...>
Date: Thu, 30 May 2002 22:21:57 +1000
On Thursday, May 30, 2002, at 09:32 AM, gnome wrote:

> Le jeudi 30 mai 2002, à 12:59 , maslen@... a écrit :
>
>> A colleague is using a new Mac laptop, with OSX, for UNIX programming 
>> and
>> has created a data file, which appears to be in the form required by an
>> application which I built from an FB II source program.  This
>> application looks for a TEXT data file, but the UNIX data file does not
>> show up in its window of files to be opened. If the cause and solution 
>> of
>> this problem are simple and well-known, I would appreciate the
>> information.  Otherwise, I will go away and try to define the problem 
>> more
>> closely.
>
> possibility 1
>
> a unix file has no probably no type or creator.
> your fb app is probably looking for these in order to
> know what type of file to open. if you look for a type
> and creator of '****' then you should see _everything_
> including this file.
>
>
   This is very possibly the case since OS X doesn't put types and 
creators on it's files. In OS X you can print to PDF and I have this 
problem (it doesn't set the type and creator) when I try to open the, on 
a pre OS X system or under OS9

> possibility 2
>
> he creates a file that starts with a 'dot', ie:
> '.toto'
> the system will consider this invisible and so you may not see it.
>
   This is also a possibility since it hides both the Unix dot format and 
the OS 7->9 format invisible files..

>
> possibility 3
>
> he puts a suffix on the file "filename.toto", the system
> [because of possibility one above] maps this to a type
> and creator that your app can't open.
> try solution for possibility one, or giving it a type
> that corresponds to one you can open.
>
   This is how OS X works I believe. Even if the file has a type and 
creator code.


   Hope this helps,

   Regards,

   Ashley ~)~

========================================================
Ashley Butterworth
Email: macbse@...
========================================================


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com