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

Sun to Mac to //c and back




Folks,

I want to transfer some old textfiles from CP/M on 5.25"
disks to my Sun; so I first have to gather the programs for this
task from the net, as per FAQ:

(1) get CHAMELEON.SHK a progam that is said to be able to read
    CP/M disks from ProDOS

(2) get an archiver which can read the CHAMELON.SHK file;

Fine; So I get the CHAMELON.SHK file, and find I need nulib,
for UNIX so I get nulib (from a Linux archive) [which btw is bundled
with a stdio.h (Wow!) and therefore cannot be compiled out of
the box -> THROW the stdio.h away! and it compiles fine...]

I compile nulib and find that my CHAMELON.SHK file contains the
things I want:

jazz(jh): ~/tmp/apple2> nulib v CHAMELEON.SHK
 CHAMELEON.SHK   Created:01-Jul-91  21:52   Mod:01-Jul-91  21:52     Recs:    2

 Name                  Kind  Typ  Auxtyp Archived         Fmat Size Un-Length
-----------------------------------------------------------------------------
 CHAM.SYSTEM           File  SYS  $2000  01-Jul-91  21:52  shk  83%     19516
 CHAMELEON.DOC         File  TXT  $0000  01-Jul-91  21:52  shk  54%     27341

(have an eye on the "Typ" section) so I extract the files:

jazz(jh): ~/tmp/apple2> nulib xv CHAMELEON.SHK
Extracting 'CHAM.SYSTEM' (data)...overwriting...unshrinking (I)...done.
Extracting 'CHAMELEON.DOC' (data)...overwriting...unshrinking (I)...done.

Then I start Fetch on my Mac and transfer the files to a ProDOS 720K
disk; great I think and move the disk over to the //c and voila
the disk is readable; but--the files have type $00 not SYS and TXT
as expected; ok I thought, let's bload the files and bsave them with the
appropriate type; but this doesn't seem to work; it's
always WRONG FILE TYPE (load, bload, run, exec, whatever);

So here's the question: How do I change the attribute of a ProDOS
file from $00 to SYS/TXT/whatever? and What's wrong in the above?

-- 
Have fun,	-joke

Boah ey, bei EUnet gib's jetz' den Interschrott Exploder 3.0 f�r umsonst.
(Wow, EUnet now offers the fine Microsoft Explorer 3.0 for free download.)