Hi,

On Wed, Aug 28, 2013 at 10:09 PM, dmccunney <[email protected]> wrote:
> On Wed, Aug 28, 2013 at 9:52 PM, Karen Lewellen
> <[email protected]> wrote:
>
>> Is this different from the pzip utility I found referenced when I googled
>> 7zip in dos?
>
> I don't believe so.  DJ Delorie's DJGPP build of p7zip is the only one
> I'm aware of for DOS

p7zip (where "p" is for POSIX), in our case, was compiled with DJGPP,
which is officially a DOS (32-bit DPMI, partial POSIX) compiler. Just
for clarity, I'm not aware of any "pzip" archiver.

Since p7zip is a very POSIX-heavy port of the original 7-Zip (7za?)
cmdline tool, it's not perfectly easy to port for DOS. So it's a
little buggy, but overall it seems to "mostly" work.

>> I am not using freedos, but ms dos 7.1  will it make a difference?
>
> It shouldn't.

I don't know without trying, but I'm not personally aware of any
design decisions that should cause any (extra) problems.

>> I had to laugh as the pzip package requires bz2 for the unzipping, which
>> is something pzip does.

The sources are .tar.bz2, if that's what you meant. You don't need
that file. The latest (imperfect) unofficial DJGPP compile is 9.20.1 :

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/7zip/9.20.1/testing/p7z9201-latest.zip

That's my own (wimpy) build, mostly using same everything (e.g. FSU
Pthreads lib) as Khusraw's 9.13 build. It should hopefully work
slightly better with backslashes in paths, as per DOS custom, but
there are some other minor irritations due to POSIX assumptions /
limitations (that haven't been fixed due to tedious complexity).

In short, it may? actually be more comfortable to use the official
native Win32 console 7ZA.EXE (7za920.zip) under Japheth's HX in DOS.

http://sourceforge.net/projects/sevenzip/files/7-Zip/9.20/7za920.zip/download
http://www.japheth.de/HX.html

> I prefer to just make a 7z archive, instead of a bz2'd tar file.  The
> latter requires you to uncompress the tar file then extract it.  What
> if you just want one file in the archive?  And 7z archives made with
> max compression are comparable in size to bz2 files.

The max (and default) blocksize for .bz2 files is 900 kb, but 7-Zip
(LZMA) can go much higher, hence better compression. Plus, you don't
have to compress the whole file as solid compression, you can even do
semi-solid, to keep decompression RAM usage down.

The main problem is that everyone's needs are different, so there are
many competing archiving formats, even using same LZMA compression
method (although both LZMA and LZMA2 exist nowadays), e.g XZ or Lzip.
By default, .7z files don't preserve *nix permissions, so they don't
usually use that there, usually .tar.lz or .tar.xz :

http://ftpmirror.gnu.org/emacs/

emacs-24.3.tar.gz   11-Mar-2013 02:31   50M
emacs-24.3.tar.xz   11-Mar-2013 02:15   34M

P.S. If all you need to do is decompress a .7z file, try 7zdecode,
it's much smaller:

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/7zip/7zdecode/7zdec922.zip

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to