TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: Michael J. Mahon
date: 2009-01-12 01:31:48
subject: Re: Transferring disk over serial port through PC`s standard i/o?

Hugh Hood wrote:
> in article ZeadnakSH5W8HvfUnZ2dnUVZ_uCdnZ2d{at}giganews.com, Michael J. Mahon
> at mjmahon{at}aol.com wrote on 1/11/09 5:39 PM:
> 
>> That's because the uncompressed files in the .BNY wrapper depend on the
>> wrapper to hold their file info.
>>
>> ShrinkIt compressed files (in the .BXY wrapper) use the wrapper to hold
>> only the ShrinkIt archive file info, which ShrinkIt doesn't really need.
>> The ShrinkIt archive itself contains the file info for all the archived
>> files.
> 
> 
> Michael,
> 
> You are certainly correct, but I believe I should clarify exactly what the
> problem is.
> 
> Below I've listed the shell output of the nulib2 -v (view archive contents)
> command applied to the same file.
> 
> The first listing is for an AppleWorks Word Processor document
> _uncompressed_ in a Binary II wrapper (read.me.BNY). The second is for the
> same file _compressed_ in a Binary II wrapper (sread.me.BXY)
> 
> Both files were sent with zmodem to a Mac OS X machine from an Apple II with
> ProTERM. On the Apple II, the 8-bit Shrinkit created the compressed file,
> and ProTERM added the Binary II wrapper to both files upon transmission.
> 
> 
> START-----------------------------------------------------------------------
> 
> nulib2 -v read.me.bny
> 
> read.me.bny                                                 Files:    1
> 
>  Name                        Type Auxtyp Modified         Fmat   Length
> -----------------------------------------------------------------------
>  READ.ME                     AWP  $0000  16-Jun-96 11:52  unc      3603
> -----------------------------------------------------------------------
> 
> 
> nulib2 -v sread.me.bxy
> 
> sread.me.bxy    Created:11-Jan-09 13:35   Mod:11-Jan-09 13:35    Recs:    1
> 
>  Name                        Type Auxtyp Archived         Fmat SizeUn-Length
> ----------------------------------------------------------------------------
>  READ.ME                     AWP  $0000  11-Jan-09 13:35  lz1   57%     3603
> ----------------------------------------------------------------------------
>  Uncomp: 3603  Comp: 2071  %of orig: 57%
> 
> 
> END-------------------------------------------------------------------------
> 
> 
> Notice that in _both_ cases, nulib2 is intelligent enough to determine the
> Type, the Auxtype, and the date(s) for the file.
> 
> The problem is that when nulib2 actually extracts the files (nulib2 -x
> filename), ONLY the .BXY file will have this file info preserved for Mac OS
> X/HFS. The .BNY file is extracted with NO preservation of the attributes
> (creator/file type/etc).
> 
> In summary, even though nublib2 recognizes the file type info for .BNY
> files, and thus is seemingly capable of preserving this information in the
> files it writes, it does not.

I've never used nulib to extract files from a .BNY archive, only from
ShrinkIt archives (with or without wrapper), so I was unaware that it
did not preserve the .BNY file info.

-michael

******** Note new website URL ********

NadaNet and AppleCrate II for Apple II parallel computing!
Home page:  http://home.comcast.net/~mjmahon/

"The wastebasket is our most important design
tool--and it's seriously underused."
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.