Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

GZIP support

Jun
121
0
Hi

Using TCC 12.01.44

1) If I do

gzip /E1 B20100301.PVF.Z ..\B20100301.PVF

it takes a long time to generate a ZIP using LZW algorithm (many minutes). It is a few seconds if it is /E0

2) While it is doing this, it cannot be interrupted Ctrl-C or Ctrl-Break has no effect (until later)

3) If I then do
GZIP /V B20100301.PVF.Z
afterwards, I see
" The GZIP header is invalid."
is this correct?

4)
If I do

gzip /A B20100301.PVF.Z ..\B20100301.PVF

it works. If I do

gzip /A /L0 B20100301.PVF.Z ..\B20100301.PVF

I get back a Usage complaint, despite the fact that /L0 is valid according to the help file.

Usage : GZIP [A:[[-][+]rhsdaecjot] /A /E /Ln /M /O:[-]adegnrstu /Q /V] gzip arch
ive [@file] file...

5) From the help files, if I do GZIP /V (or UNGZIP /V), it is possible to see date time and filename (if available). Would it be possible to make compression method and level visible? Ditto for ZIP

Thanks

Stephen howe
 
Using TCC 12.01.44

1) If I do

gzip /E1 B20100301.PVF.Z ..\B20100301.PVF

it takes a long time to generate a ZIP using LZW algorithm (many minutes). It is a few seconds if it is /E0

That's internal to the ZIP library; I'll pass it on to the developers.

2) While it is doing this, it cannot be interrupted Ctrl-C or Ctrl-Break has no effect (until later)

Ditto.

3) If I then do
GZIP /V B20100301.PVF.Z
afterwards, I see
" The GZIP header is invalid."
is this correct?

I doubt it, but it's not my code. It seems like a bug; I'll pass it on to the developers.

4) If I do

gzip /A B20100301.PVF.Z ..\B20100301.PVF

it works. If I do

gzip /A /L0 B20100301.PVF.Z ..\B20100301.PVF

I get back a Usage complaint, despite the fact that /L0 is valid according to the help file.

The help is wrong; valid levels are 1 - 6.

5) From the help files, if I do GZIP /V (or UNGZIP /V), it is possible to see date time and filename (if available). Would it be possible to make compression method and level visible? Ditto for ZIP

NITV. I don't know why this would be useful, but you can submit a suggestion for the next major version.
 

Similar threads

Back
Top