home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!mark.berryman
- From: Mark.Berryman@Mvb.Saic.Com (MUMPS Wizard)
- Newsgroups: comp.os.vms
- Subject: Re: Q: .tar.Z files that won't unpack under VMS
- Message-ID: <9309102@MVB.SAIC.COM>
- Date: Mon, 23 Nov 1992 21:12:28 GMT
- References: <23NOV199211193139@seqvax.caltech.edu>
- Organization: Science Applications Int'l, Corp. - Computer systems operation
- Lines: 57
-
- mathog@seqvax.caltech.edu (David Mathog) writes:
- >I frequently run into .tar.Z files that were put together on Sparcs that will
- >not unpack and untar correctly under VMS. They go through lzdcmp without
- >posting any error mesages, but then blow up in tar. Either I'm throwing the
- >wrong switches or there is some bug/incompatibility in my copy of lzdcmp or
- >tar.
- >
- >If you can get the following test file unpacked and untarred on your system
- >please let me know how you did it!
- >
- >The test file:
- >
- > FTP site: cs.arizona.edu
- > directory: agrep
- > file: agrep-2.04.tar.Z (only 62kbytes)
- >
- >Transfer this to your system (binary) and do:
- >
- > $ lzdcmp -x 2 agrep.tarz agrep.tar
- > $ tar extract/archive=agrep.tar
- >
- >[rest deleted]
-
- It works for me but we apparently use different tar packages (I use VMSTAR).
- I found that the following combinations worked:
-
- FTP> binary
- FTP> get agrep_2.04.tar.Z agrep.tar_z
-
- $ lzdcmp -B -X 2 agrep.tar_z agrep.tar
- $ tar xvf agrep.tar
- .
- .
- (display of all of the files begin created)
- .
- .
-
- The following also works:
-
- $ compress -d agrep.tar (note that this version of compress automatically
- appends "_Z" to the name of the specified file
- to use for input and creates an output file using
- the name without the "_Z". It then deletes the
- input file.)
- $ tar xvf agrep.tar
- .
- .
- (same result as above)
-
- For me, any other combination of switches on lzdcmp created a file that tar
- could not read all the way through (it consistenly bombed after the 2nd file).
- Note that I tend to use compress when retrieving files from un*x systems and
- only use lzdcmp when it is likely that there is VMS file information included
- in the compressed file.
-
- Mark Berryman
- Mark.Berryman@Mvb.Saic.Com
-