Mac to A/UX file Xfer

Stephen H Dodd dodd at world.std.com
Thu Feb 28 14:12:38 AEST 1991


A/UX 2.0 Users,

  I'm having a problem transfering UNIX files which I downloaded to a A/UX
partition. The files exists on a Mac OS disk and each time I try to move it
to my A/UX partition a header gets inserted at the beginning of the file.
I tried to changing the creator and filetype to "BIN" but this didn't work.
The below header was still inserted and looks as if Mac OS resource info
was place in front of original compressed file. The header looks like 
this: (od -ch filename) was used to generate the below binary dump.
   
	 \0  \0  \0  \0  \0 001  \0  \0 001 032  \0  \0   X 026  \0  \0
0000100    0000    0000    0000    0000    0000    0000    0000    0000
	 \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0000340    6269    6e20    6269    6e20    0000    0080    0025    0000
	  b   i   n       b   i   n      \0  \0  \0 200  \0   %  \0  \0
0000360    0000    0000    0000    0000    0000    0000    0000    0000
	 \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0000420    0000    0000    0000    0000    0000    1f9d    9001    a000
	 \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 037 235 220 001 240  \0

	The magic number for a compressed file is 1f9d 9001 a000  (I'm guessing)
so everything before this should not be there for "uncompress" to be able to
see
it correctly.

	What am I doing wrong  ?

			Stephen



More information about the Comp.unix.aux mailing list