[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extracting files from .DSK



In article <apple22-68223D.08561108072003@apollo-ge0.rdc-kc.rr.com>,
Greg Buchner  <apple22@mn.rr.com> wrote:
 
> In article <bee3uk$1hud$1@merope.saaf.se>,
>  pausch@saaf.se (Paul Schlyter) wrote:
> 
>> the only reason
>> it won't run on a Mac is because the Mac enforces a GUI on you, it has
>> no command line....
> 
> Mac OS X is BSD Unix.  It does have a command line.  I've run programs 
> that way.  If I had a clue as to how to compile your program, I'd 
> probably give it a shot.
 
To compile it, you simply type one of (assuming fid.c is in your
current directory):
 
    cc fid.c -o fid
 
or
 
    gcc fid.c -o fid
 
depending on the name of your C compiler (a C compiler is included in
all Unix distributions I've ever had access to).

To run the program, you simply type one of:
 
   ./fid
 
   ./fid <name_of_dsk_image>
 
   ./fid *.dsk
 
and then answer the questions (the leading ./ can be omitted if
you have . in your PATH).
 
If you give it a try, I'd like to know how it all went.
 
 
> But my programming knowledge is pretty much limited to Applesoft BASIC.
 
You don't need to knpow how to program in C to run someone else's
C program....
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Grev Turegatan 40,  SE-114 38 Stockholm,  SWEDEN
e-mail:  pausch at stockholm dot bostream dot se
WWW:     http://www.stjarnhimlen.se/
         http://home.tiscali.se/pausch/