Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

where can I download the freeware OpenVMS GUNZIP program

SOLVED
Go to solution
Desmond Or
Advisor

where can I download the freeware OpenVMS GUNZIP program

I used the GZIP124x-axp.exe to zip a backup saveset file, but I cannot find a GUNZIP program to unzip it. Does anyone know where I can download the GUNZIP to solve this problem?
5 REPLIES
marsh_1
Honored Contributor
Solution

Re: where can I download the freeware OpenVMS GUNZIP program

desmond,

it's in the vms freeware on hp's site

http://h71000.www7.hp.com/openvms/freeware/index.html?jumpid=/go/openvms/freeware

hope this helps

Desmond Or
Advisor

Re: where can I download the freeware OpenVMS GUNZIP program

It is so helpful, I solve the problem now.

Thank you so much.
Steven Schweda
Honored Contributor

Re: where can I download the freeware OpenVMS GUNZIP program

For a newer, large-file capable version, you
might look at:

http://antinode.info/dec/sw/gzip.html

Tends to have faster I/O, too.

On the other hand, "gzip -d" normally does
the "gunzip" job pretty well. Did you look
at the "-h" output from your gzip program?
Around here:

alp $ gzip_old -h
gzip 1.2.4 (18 Aug 93)
usage: gzip [-cdfhlLnNtvV19] [-S suffix] [file ...]
-c --stdout write on standard output, keep original files unchanged
-d --decompress decompress
[...]


You may be working too hard.
Hoff
Honored Contributor

Re: where can I download the freeware OpenVMS GUNZIP program

gunzip and gzip are the same tool; this tool is strange in that it uses the same executable and differentiates it based on the filename.

As for locating tools, I no longer reference the HP Freeware web site; there are better options. If you're going to use and remember and bookmark one site for this sort of thing, do bookmark < [Broken link removed on 03-23-2017 by Admin] >

Steven Schweda
Honored Contributor

Re: where can I download the freeware OpenVMS GUNZIP program

> [...] this tool is strange in that it uses
> the same executable and differentiates it
> based on the filename.

Common on UNIX, less common on VMS. I gather
that GNU now frowns on this scheme. From the
version 1.3.12 gzip.c:

[...]
#ifndef GNU_STANDARD
# define GNU_STANDARD 1
#endif
#if !GNU_STANDARD
/* For compatibility with old compress, use program name as an option.
* Unless you compile with -DGNU_STANDARD=0, this program will behave as
* gzip even if it is invoked under the name gunzip or zcat.
*
* Systems which do not support links can still use -d or -dc.
* Ignore an .exe extension for MSDOS, OS/2 and VMS.
*/
if (strncmp (program_name, "un", 2) == 0 /* ungzip, uncompress */
|| strncmp (program_name, "gun", 3) == 0) /* gunzip */
decompress = 1;
else if (strequ (program_name + 1, "cat") /* zcat, pcat, gcat */
|| strequ (program_name, "gzcat")) /* gzcat */
decompress = to_stdout = 1;
#endif
[...]


Everything's complicated. (And then it
changes.)