GZIP support

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jun 7, 2008
121
0
#1
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
 

rconn

Administrator
Staff member
May 14, 2008
10,101
85
#2
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.