Article View: news.software.readers
Article #154819Re: [OT] Pack under Cygwin or Windows, unpack under Windows?
From: Rudy Taraschi
Date: Fri, 27 Aug 2004 21:06
Date: Fri, 27 Aug 2004 21:06
47 lines
3275 bytes
3275 bytes
[Apologies if this has been answered 100 times --> I read news offline]
Frank Slootweg wrote:
> For my standalone tin-1.6.2 package [1], I need to pack some files
> so that they can be unpacked under MS-Windows. [snip]
>
> Preferably I would like to pack my package with a *standard*,
> i.e. included in the base product, Windows or/and Cygwin utility,
> and unpack it with a *standard* Windows unpack utility. I.e. I
> *prefer* to have nothing special on my/pack side and *cannot*
> expect anything special on the target/unpack side.
Here's a couple of "standard" Cygwin ways of packing (tar, gzip,
and zip are standard Cygwin packages)
Option 1: This command creates a tar file and then GZIPs it all in
one command. Winzip handles this file just fine; I don't know what
the native XP unpacker does.
tar cvzf archivename.tar.gz list_of_files_or_directories_to_pack
Option 2: use the 'zip' command to create a ZIP file
zip archivename.zip list_of_files_or_directories_to_pack
Note: If you're going to be packing and unpacking text files, you
may need to consider the CR/LF differences and preprocess your text
files with "unix2dos".
> What is the simplest solution for this? (I.e. nothing or little
> special on my side, nothing special on the target/Windows side?)
Here's a potential gotcha. I'm no Windows expert (and I'm sure I'll
get corrected PDQ if I'm wrong :-) but I don't believe anything less
than XP or maybe 2000 will have native unpacking capabilities.
That said, practically everyone has Winzip or a compatible tool so
creating ZIP files should be relatively safe.
> [1] See thread "Newsreader TIN on Windows, without Cygwin?", especially
> my "Progress Report" response of today
> (<news:412f2873$0$42407$18b6e80@news.wanadoo.nl>).
I wish I could help more on this thread, but unfortunately, I'm not
a tin user.
rudy
Technical Details
Message-ID:
<slrnciv7vu.1a0.rudy@142.39.20.3>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!peer01.cox.net!cox.net!atl-c02.usenetserver.com!sjc1.usenetserver.com!news.usenetserver.com!wesley.videotron.net!news.cae.ca!not-for-mailReferences:
<412f290f$0$42421$18b6e80@news.wanadoo.nl>Show Full Headers
Complete Article Headers
Message-ID: <slrnciv7vu.1a0.rudy@142.39.20.3>
Subject: Re: [OT] Pack under Cygwin or Windows, unpack under Windows?
Date: Fri, 27 Aug 2004 21:06:22 +0000
From: Rudy Taraschi <rudy@this.address.is.invalid>
References: <412f290f$0$42421$18b6e80@news.wanadoo.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!peer01.cox.net!cox.net!atl-c02.usenetserver.com!sjc1.usenetserver.com!news.usenetserver.com!wesley.videotron.net!news.cae.ca!not-for-mail
Newsgroups: news.software.readers
Organization: CAE
Lines: 47
NNTP-Posting-Host: l1078.cae.ca
X-Trace: dns3.cae.ca 1093640782 6429 142.39.122.112 (27 Aug 2004 21:06:22 GMT)
X-Complaints-To: usenet@news.cae.ca
NNTP-Posting-Date: 27 Aug 2004 21:06:22 GMT
X-Face: (WrD*bX*:"j.$(|G/9Wky*T3hTx&09g_~|H3=5[WK$o8oQHIuw0@'Z.-{uz+O{/OQ<:yDquEpI!LJG_jn#a+=drl'V:8{a\WI*iSDIU9xV`bHsN+[y_P1QN-,=fTY4dP:5*z8G?;
=v(*g0As)Xc^t6p#OO6d05Tg/}i,).V-O; |[PH/T9*bcANx/A>m)cVi_Y
X-Files: The truth is out there
User-Agent: slrn/0.9.8.0/rt (CYGWIN_NT-5.0)