source: trunk/archiver.tmp@ 1689

Last change on this file since 1689 was 1689, checked in by Gregg Young, 12 years ago

Changes to get 7z archives to work with AV. Includes an ugly hack to compensate for the fact that the compressed size is missing from some files in some archives. This results in the filename being put in the nsize variable which then must be passed to fname. Fortunately it displays compressed size as 0 since it can't deal with the non numeric text string. A file name that is all numeric will show odd results. Ticket 492

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 22.8 KB
Line 
121
2;
3;The first line is the number of lines/definition in this archiver.bb2 file...
4;It is very important; do not change. It allows modifications to the
5;file format to be transparent to older programs.
6
7;ARCHIVER.BB2, archiver control file for FM/2, AV, XBBS-OS/2 & XGROUP
8;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
9
10; $Id: archiver.tmp 1689 2013-07-30 23:22:48Z gyoung $
11
12;Format for this archiver.bb2 file (each entry has 21 lines):
13;
14; 1st line: archiver id (i.e. ARC, LHARC, PKZIP, etc.) for human consumption
15; 2nd line: normal extension for archives without period (i.e ZIP, ARC, LZH)
16; 3rd line: offset into file to signature (leave blank if no signature)
17; 4th line: list command
18; 5th line: extract command
19; 6th line: extract with directories command
20; 7th line: test archive command
21; 8th line: add/create command
22; 9th line: add/create with paths command
23;10th line: add/create & recurse command
24;11th line: move command
25;12th line: move with paths command
26;13th line: delete command
27;14th line: signature (case sensitive, leading spaces count!)
28;15th line: startlist string
29;16th line: endlist string
30;17th line: old size position (0-based, -1 = not available)
31;18th line: new size position (0-based, -1 = not available)
32;19th line: file date position (0-based, -1 = not available) [,type of date (0 for none)]
33;20th line: number of elements in dates (for "03 June 92" would be 3)
34;21st line: file name position (absolutely required, of course; -1 = last pos)[,name is last (1 = TRUE, n/a w/ -1 pos)[name is next line (1 = TRUE)[,name is first line, then rest of data (1 = TRUE)]]]
35; see ZOO entry for example of -1 in file name position
36; see LH entry for example of name is last
37; see RAR 2.00 entry for example of name is first
38; check listings generated by these programs for clarification
39
40;ARCHIVER AUTHORS: MAKE A STANDARD!
41
42;A semicolon marks a comment. They may appear at any point *except*
43;within the 21 lines of an archiver definition entry. Comments are ignored.
44;Archiver definition entries that contain numeric values may have trailing comments.
45;Archiver definition lines that contain strings do not support trailing comments.
46
47;Blank lines are ignored except within a 21 line archiver definition entry.
48;A blank line with a definition entry will be treats as either an empty string
49;or the number 0, depending on what content is expected for the definition line.
50
51;Note that all archiver command strings should include the archiver's parameter(s)
52;which prevent it from prompting for input! Also note that archive types are checked
53;in order of their listing in this file. Finally, this file is set up for
54;the archivers I had lying around. If yours are different versions, you may
55;have to modify this file. All archivers are OS/2 (or FAPI) versions.
56;DOS archivers may work with FM/2, but it'll be up to you to set them up.
57
58;Supported date input types:
59;--------------------
60; No date in data 0
61;02-31-98 23:55:32 mm-dd-yy hh:mm:ss 1
62;31 Feb 98 23:55:32 dd-Mmm- yy hh:mm:ss 2
63;31 Feb 98 11:55p dd Mmm yy hh:mmA 3
64;98-02-31 23:55:32 yy-mm-dd hh:mm:ss 4
65;31-02-98 23:55 dd-mm-yy hh:mm 5
66;Aug 21 23:55 2011 mm-dd-yyyy hh:mm:ss 6 Fixes tar.gz date/time formatting when using tar 1.15+
67
68; Dash (-) and slash (/) separators are both supported.
69; Both 2 digit and 4 digit years are supported.
70; 2 digit years slide about 1980.
71
72;The positions specified in an archiver defintion are word numbers, where a
73;word is something separated by whitespace. Counting starts at zero (0).
74;Minus one (-1) usually indicates the item does not exist. The exception is
75;the file name position (line 21), where -1 indicates that the filename is
76;the last entry on the listing line. This allow files names with spaces to
77;be supported.
78
79;How archiver selection works (for the curious):
80
81;The archive selector scans the known archivers in the order in which they
82;are defined. The selector first tries a signature match, unless this is
83;suppressed in the settings. If there is no signature defined or if
84;the signature match is suppressed, the selector checks to see if the file
85;extension matches. The matching entry defines the commands used for the
86;various archiving operations and supplies parameters that enable the archiver
87;outputs to be parsed.
88
89;Warning: I'm told there's a bug in some versions of 4OS2 that can cause
90;a call to an archiver to fail if the archiver has an extension (i.e.
91;UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
92;and you're using 4OS2 you might keep it in mind.
93;
94;The FM/2 code for accessing and using this information is in avl.c, avl.c and
95;arccnrs.c and is freely available for use in in your own projects under
96;the terms of then GNU GPL2 license.
97
98;------------------- Current Archivers -------------------------
99;
100; Entry #1 - InfoZip Zip/UnZip 2.2/5.4, sent to me by V. Lee Conyers.
101;
102Zip/UnZip 2.2/5.4
103ZIP
1040
105UNZIP.EXE -lv
106UNZIP.EXE -jo
107UNZIP.EXE -o
108UNZIP.EXE -t
109ZIP.EXE -j9g
110ZIP.EXE -9g
111ZIP.EXE -r9g
112ZIP.EXE -mj9g
113ZIP.EXE -m9g
114ZIP.EXE -d
115PK\x03\x04
116-------- ------ ------- ----- ---- ---- ------ ----
117-------- ------- --- -------
1180
1192
1204,1
1212
1227,1,0,0
123;
124;
125; Entry #2 - InfoZip Zip/UnZip 2.2/6.0
126;
127Zip/UnZip 2.2/6.0
128ZIP
1290
130UNZIP.EXE -lv
131UNZIP.EXE -jo
132UNZIP.EXE -o
133UNZIP.EXE -t
134ZIP.EXE -j9g
135ZIP.EXE -9g
136ZIP.EXE -r9g
137ZIP.EXE -mj9g
138ZIP.EXE -m9g
139ZIP.EXE -d
140PK\x03\x04
141-------- ------ ------- ---- ---------- ----- -------- ----
142-------- ------- --- -------
1430
1442
1454,1
1462
1477,1,0,0
148;
149; Entry #3 (7z)
150;
1517z
1527z
1530
1547za.exe l
1557za.exe e
1567za.exe x
1577za.exe t
1587za.exe a
159
160
161
162
1637za.exe d
1647z
165------------------- ----- ------------ ------------ ------------------------
166------------------- ----- ------------ ------------ ------------------------
1673
1684
1690,4
1701
1715,1,0,0
172;
173;
174; Entry #4 - PKZIP 2.50 named PKZip (true OS/2 executable).
175;
176PKZip 2.50
177ZIP
1780
179PKZIP.EXE /locale=canada /nofix
180PKZIP.EXE /overwrite /extract /nofix
181PKZIP.EXE /overwrite /extract /directories /nofix
182PKZIP.EXE /test
183PKZIP.EXE /add /nofix
184PKZIP.EXE /add /path /nofix
185PKZIP.EXE /add /path /recurse /nofix
186PKZIP.EXE /add /move /nofix
187PKZIP.EXE /add /move /path /nofix
188PKZIP.EXE /delete /nofix
189PK\x03\x04\x14
190------ ------ ----- ----- ---- ---- -------- ---- ----
191------ ------ ----- ----
1920
1932
1944,0
1952
1968,1,0,0
197;
198; Entry #5 - InfoZip unzipsfx self-extractors.
199;
200unzipsfx
201
202217
203UNZIP.EXE -vUo
204UNZIP.EXE -jo
205UNZIP.EXE -o
206UNZIP.EXE -to
207
208
209
210
211
212ZIP.EXE -d
213unzipsfx
214------ ------ ---- ----- ---- ---- ------ ----
215------ ------ --- -------
2160
2172
2184,1
2192
2207,1,0,0
221;
222;
223; Entry #6 - PKWare PKZIP self-extractors type 1.
224;
225PK(Un)Zip SE #1
226
2272934
228PKZIP.EXE /locale=canada /nofix
229PKZIP.EXE /overwrite /extract /nofix
230PKZIP.EXE /overwrite /extract /directories /nofix
231PKZIP.EXE /test
232PKZIP.EXE /add /nofix
233PKZIP.EXE /add /path /nofix
234PKZIP.EXE /add /path /recurse /nofix
235PKZIP.EXE /add /move /nofix
236PKZIP.EXE /add /move /path /nofix
237PKZIP.EXE /delete /nofix
238PK\x03\x04
239------ ------ ----- ----- ---- ---- ------ ---- ----
240------ ------ --- -------
2410
2422
2434,0
2442
2458,0,0,0
246;
247; Entry #7 - is for PKWare PKZIP self-extractors type 2.
248;
249PK(Un)Zip SE #2
250
25112784
252PKZIP.EXE /locale=canada /nofix
253PKZIP.EXE /overwrite /extract /nofix
254PKZIP.EXE /overwrite /extract /directories /nofix
255PKZIP.EXE /test
256PKZIP.EXE /add /nofix
257PKZIP.EXE /add /path /nofix
258PKZIP.EXE /add /path /recurse /nofix
259PKZIP.EXE /add /move /nofix
260PKZIP.EXE /add /move /path /nofix
261PKZIP.EXE /delete /nofix
262PK\x03\x04
263------ ------ ----- ----- ---- ---- ------ ---- ----
264------ ------ --- -------
2650
2662
2674,0
2682
2698,0,0,0
270;
271;
272; Entry #8 - PKWare PKZIP self-extractors type 3.
273;
274PK(Un)Zip SE #2
275
27630948
277PKZIP.EXE /locale=canada /nofix
278PKZIP.EXE /overwrite /extract /nofix
279PKZIP.EXE /overwrite /extract /directories /nofix
280PKZIP.EXE /test
281PKZIP.EXE /add /nofix
282PKZIP.EXE /add /path /nofix
283PKZIP.EXE /add /path /recurse /nofix
284PKZIP.EXE /add /move /nofix
285PKZIP.EXE /add /move /path /nofix
286PKZIP.EXE /delete /nofix
287PK\x03\x04
288------ ------ ----- ----- ---- ---- ------ ---- ----
289------ ------ --- -------
2900
2912
2924,0
2932
2948,0,0,0
295;
296;
297; Entry #9 - TAR 1.15.1 from Gregg Young
298;
299TAR 1.15.1 (or higher)
300TAR
301257
302Tar.exe -tvf
303Tar.exe --wildcards -xpf
304Tar.exe --wildcards -xpf
305
306
307Tar.exe --no-recursion -rpf
308Tar.exe -rpf
309
310Tar.exe --remove-files -rpf
311Tar.exe --delete -f
312ustar
313None
314None
3152
316-1
3173,0
3182
3195,1,0,0
320;
321; Entry #10 - TAR 1.1.0.
322;
323TAR 1.10
324TAR
325257
326tar110.exe -tvf
327Tar110.exe -xpf
328Tar110.exe -xpf
329
330Tar110.exe -rpyf
331Tar110.exe -rpf
332Tar110.exe --help
333
334
335Tar110.exe --delete -f
336ustar
337None
338None
3392
340-1
3413,2
3424
3439,1,0,0
344;
345;
346; Entry #11 (tar.gz)
347;
348TAR.GZ (Req. TAR 1.15+ & GZIP)
349tar.gz
3500
351tar.exe -tzvf
352tar.exe -xzpvf
353tar.exe -xzpvf
354
355tar.exe -rzpf
356tar.exe -rpf
357
358
359
360tar.exe -z --delete -f
361\x1f\x8b
362None
363None
3642
365-1
3663,6
3674
3687,1,0,0
369;
370; Entry #12 (tar.bz2)
371;
372TAR.BZ2 (Req. TAR 1.15+ & BZIP2)
373tar.bz2
3740
375tar.exe -tjvf
376tar.exe -xjpvf
377tar.exe -xjpvf
378
379tar.exe -crjpf
380tar.exe -rjpf
381
382
383
384tar.exe -j --delete -f
385BZh
386None
387None
3882
389-1
3903,0
3912
3925,1,0,0
393;
394; Entry #13 - GZIP (GZ).
395;
396GZIP (GZ) (req. GZIP & TAR 1.15+)
397GZ
3980
399gzip.exe -lv
400gzipe.cmd
401
402gzip.exe -t
403gzip.exe
404gzip.exe
405gzip.exe -r
406gzip.exe
407gzip.exe
408
409\x1f\x8b
410None
411None
4122
413-1
4143,4
4152
4165,1,0,0
417;
418; Entry #14 - GZIP (Z).
419;
420GZIP (Z)
421Z
4220
423gzip.exe -lv
424gzipe.cmd
425
426gzip.exe -t
427gzip.exe -9 -s .z
428gzip.exe -9 -s .z
429gzip.exe -r
430
431
432
433\x1f\x8b
434method crc date time compressed uncompr. ratio uncompressed_name
435None
4366
4375
4382,0
4393
4408,0,0,0
441;
442; Entry #15 - Unarj 2.30 demo version.
443; Don't use Unarj 2.41; it's broken.
444;
445(Un)Arj 2.30 demo
446
4470
448UNARJ.EXE l
449UNARJ.EXE e
450UNARJ.EXE x
451UNARJ.EXE t
452
453
454
455
456
457
458`\xea
459------------ ---------- ---------- ----- ----------------- -------- -----------
460------------ ---------- ---------- ----- -----------------
4611
4622
4634,0
4641
4650,0,0,0
466;
467; Entry #16 - Arj 2.00 (DOS).
468; Note that other programs that use this control file may not be able to
469; handle calling a DOS archiver correctly! FM/2 is the only one that I
470; know of which can at this time. This means you may need to keep FM/2's
471; ARCHIVER.BB2 separate from those for other programs.
472;
473Arj 2.00 DOS
474ARJ
4750
476ARJ.EXE l
477ARJ.EXE e -y
478ARJ.EXE x -y
479ARJ.EXE t
480ARJ.EXE a -y -e
481ARJ.EXE a -y
482ARJ.EXE a -y -r
483ARJ.EXE m -y -e
484ARJ.EXE m -y
485ARJ.EXE d -y
486`\xea
487------------ ---------- ---------- ----- ----------------- -------- ---- ------
488------------ ---------- ---------- -----
4891
4902
4914,0
4921
4930,0,0,0
494;
495; Entry #17 (RAR v.3.5)
496;
497RAR v.3.5
498RAR
4990
500RAR32.EXE v -c-
501RAR32.EXE e -y -c- -o+
502RAR32.EXE x -y -c- -o+
503RAR32.EXE t -c-
504RAR32.EXE a -ep1 -y
505RAR32.EXE a -y
506RAR32.EXE a -r -y
507RAR32.EXE mf -ep1 -y
508RAR32.EXE m -y
509RAR32.EXE d -y
510Rar!\x1a\x07
511-------------------------------------------------------------------------------
512-------------------------------------------------------------------------------
5130
5141
5153,5
5162
5170,0,0,1
518;
519; Entry #18 - RAR/2 v2, provided by Eugene Roshal.
520;
521RAR/2 v2
522RAR
5230
524RAR.EXE v -c-
525RAR.EXE e -y -c- -o+
526RAR.EXE x -y -c- -o+
527RAR.EXE t -c-
528RAR.EXE a -ep1 -y
529RAR.EXE a -y
530RAR.EXE a -r -y
531RAR.EXE mf -ep1 -y
532RAR.EXE m -y
533RAR.EXE d -y
534Rar!\x1a\x07
535------------------------------------------------------------------------------
536------------------------------------------------------------------------------
5370
5381
5393,0
5401
5410,0,0,1
542;
543; Entry #19 - RAR/2 v.1.53beta OS/2 SFX.
544;
545RAR/2 v.1.53beta OS/2 SFX
546
54713707
548RAR.EXE l -c-
549RAR.EXE e -y -c- -o+
550RAR.EXE x -y -c- -o+
551RAR.EXE t -c-
552RAR.EXE a -ep1 -y
553RAR.EXE a -y
554RAR.EXE a -r -y
555RAR.EXE mf -ep1 -y
556RAR.EXE m -y
557RAR.EXE d -y
558Rar!\x1a\x07
559------------------------------------------------------------------------------
560------------------------------------------------------------------------------
5611
5622
5634,0
5641
5650,0,0,1
566;
567; Entry #20 - RAR v.1.53 DOS SFX.
568;
569RAR v.1.53 DOS SFX
570
5717195
572RAR.EXE l -c-
573RAR.EXE e -y -c- -o+
574RAR.EXE x -y -c- -o+
575RAR.EXE t -c-
576RAR.EXE a -ep1 -y
577RAR.EXE a -y
578RAR.EXE a -r -y
579RAR.EXE mf -ep1 -y
580RAR.EXE m -y
581RAR.EXE d -y
582Rar!\x1a\x07
583------------------------------------------------------------------------------
584------------------------------------------------------------------------------
5851
5862
5874,0
5881
5890,0,0,1
590;
591; Entry #21 - RAR v.2.00 SFX.
592;
593RAR v.2.00 SFX
594
59528
596RAR.EXE l -c-
597RAR.EXE e -y -c- -o+
598RAR.EXE x -y -c- -o+
599RAR.EXE t -c-
600RAR.EXE a -ep1 -y
601RAR.EXE a -y
602RAR.EXE a -r -y
603RAR.EXE mf -ep1 -y
604RAR.EXE m -y
605RAR.EXE d -y
606RSFXjr
607------------------------------------------------------------------------------
608------------------------------------------------------------------------------
6091
6102
6114,0
6121
6130,0,0,1
614;
615;
616; Entry #22 - LHarc 2.22.
617; Supposedly fixes bugs in earlier versions.
618; Actually seems to have done so. Good work, Peter.
619;
620LHarc 2.22
621LZH
6222
623LH.EXE /o l
624LH.EXE /o x
625LH.EXE /o /s x
626LH.EXE t
627LH.EXE /o a
628
629LH.EXE /o /s a
630LH.EXE /o m
631
632LH.EXE /o d
633-lh
634-------- -------- -----------------------------------------
635-------- -----------------------------------------
6360
637-1
6381,4
6391
6402,1,0,0
641;
642; Entry #23 - LHarc 2.22 using LH32 executable.
643;
644LHarc-32 2.22
645LZH
6462
647LH32.EXE /o l
648LH32.EXE /o x
649LH32.EXE /o /s x
650LH32.EXE t
651LH32.EXE /o a
652
653LH32.EXE /o /s a
654LH32.EXE /o m
655
656LH32.EXE /o d
657-lh
658-------- -------- -----------------------------------------
659-------- -----------------------------------------
6600
661-1
6621,4
6631
6642,1,0,0
665;
666; Entry #24 - LHarc 2.22 self-extractors..
667;
668LHarc 2.22 SE
669LZH
67022963
671LH.EXE /o l
672LH.EXE /o x
673LH.EXE /o /s x
674LH.EXE t
675LH.EXE /o a
676
677LH.EXE /o /s a
678LH.EXE /o m
679
680LH.EXE /o d
681-lh
682-------- -------- -----------------------------------------
683-------- -----------------------------------------
6840
685-1
6861,4
6871
6882,1,0,0
689;
690; Entry #25 - LHA 2.12 (DOS) self-extractors.
691; LH 2.22 seems to recognize them
692;
693LHarc 2.12 DOS SE
694LZH
6951638
696LH.EXE /o l
697LH.EXE /o x
698LH.EXE /o /s x
699LH.EXE t
700LH.EXE /o a
701
702LH.EXE /o /s a
703LH.EXE /o m
704
705LH.EXE /o d
706-lh
707-------- -------- -----------------------------------------
708-------- -----------------------------------------
7090
710-1
7111,4
7121
7132,1,0,0
714;
715; Entry #26 - LHA 2.12 (DOS) self-extractors.
716; LH 2.22 seems to recognize them
717;
718LHarc 2.12 DOS SE
719LZH
72037
721LH.EXE /o l
722LH.EXE /o x
723LH.EXE /o /s x
724LH.EXE t
725LH.EXE /o a
726
727LH.EXE /o /s a
728LH.EXE /o m
729
730LH.EXE /o d
731$LHarc's SFX
732-------- -------- -----------------------------------------
733-------- -----------------------------------------
7340
735-1
7361,4
7371
7382,1,0,0
739;
740; Entry #27 - LHA 2.13L (DOS) self-extractors.
741; LH 2.22 seems to recognize them
742;
743LHarc 2.13 DOS SE
744LZH
74536
746LH.EXE /o l
747LH.EXE /o x
748LH.EXE /o /s x
749LH.EXE t
750LH.EXE /o a
751
752LH.EXE /o /s a
753LH.EXE /o m
754
755LH.EXE /o d
756LHA's SFX 2.13L (c) Yoshi, 1991\r\n
757-------- -------- -----------------------------------------
758-------- -----------------------------------------
7590
760-1
7611,4
7621
7632,1,0,0
764;
765; Entry #28 - LH2 2.11.
766; NOTE: sometimes will put a file into an archive more than once, necessitating
767; deleting both. EAs not handled well, but at least they're handled.
768;
769LHarc 2.11
770LZH
7712
772LH.EXE /o l
773LH.EXE /o x
774LH.EXE /o /s x
775LH.EXE t
776LH.EXE /o a
777
778LH.EXE /o /s a
779LH.EXE /o m
780
781LH.EXE /o d
782-lh
783-------- -------- -----------------------------------------
784-------- -----------------------------------------
7850
786-1
7871,0
7881
7892,1,0,0
790;
791; Entry #29 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
792;ZIP/UNZIP should work with PKZIP 2.04 files. Saves EAs well. Won't
793;extract a file stored with path without the path (actually, this seems
794;to be fixed now. Maybe. There are dozens of versions floating around;
795;you don't pays your money and you takes your chances). If you have a
796;version that won't extract files with paths without the paths, there's
797;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
798;Because of broken ZIP archives floating around everywhere, this is here
799;without the version flag in the signature (should really be PK\x03\x04\x14).
800;Damnit, it looks like Katz's own software is what does the botching. So
801;much for the keeper of the ZIP standard... Zip still seems to have to
802;have erratic problems with creating archives with some pathnames...
803;
804Zip/UnZip 1.9/5.0
805ZIP
8060
807UNZIP.EXE -vUo
808UNZIP.EXE -jo
809UNZIP.EXE -o
810UNZIP.EXE -to
811ZIP.EXE -j9g
812ZIP.EXE -9g
813ZIP.EXE -r9g
814ZIP.EXE -mj9g
815ZIP.EXE -m9g
816ZIP.EXE -d
817PK\x03\x04
818------ ------ ---- ----- ---- ---- ------ ----
819------ ------ --- -------
8200
8212
8224,1
8232
8247,1,0,0
825;
826; Entry #30 - ZIP 1.9/UNZIP 5.0 using *32 executables.
827;
828Zip/UnZip-32 1.9/5.0
829ZIP
8300
831UNZIP32.EXE -vUo
832UNZIP32.EXE -jo
833UNZIP32.EXE -o
834UNZIP32.EXE -to
835ZIP32.EXE -j9g
836ZIP32.EXE -9g
837ZIP32.EXE -r9g
838ZIP32.EXE -mj9g
839ZIP32.EXE -m9g
840ZIP32.EXE -d
841PK\x03\x04
842------ ------ ---- ----- ---- ---- ------ ----
843------ ------ --- -------
8440
8452
8464,1
8472
8487,1,0,0
849;
850; Entry #31 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
851; (the -v long format can sometimes result in the old length field
852; being crammed together with the Method field, resulting in an
853; unparsable format). Some info, like old length, will be missing,
854; but at least you can view the contents.
855;
856Zip/UnZip 1.9/5.0 Short
857ZIP
8580
859UNZIP.EXE -lUo
860UNZIP.EXE -jo
861UNZIP.EXE -o
862UNZIP.EXE -to
863ZIP.EXE -j9g
864ZIP.EXE -9g
865ZIP.EXE -r9g
866ZIP.EXE -mj9g
867ZIP.EXE -m9g
868ZIP.EXE -d
869PK\x03\x04
870------ ---- ---- ----
871------ -------
872-1
8730
8741,1
8752
8763,1,0,0
877;
878; Entry #32 - Zoo 2.1.
879; NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
880; be extracted with paths even when you don't ask it to do so...
881;
882Zoo 2.1
883ZOO
88420
885ZOO.EXE v
886ZOO.EXE xO
887ZOO.EXE xO/
888ZOO.EXE -test
889ZOO.Exe ah:
890ZOO.EXE ah
891
892ZOO.EXE aM:h
893ZOO.EXE aMh
894ZOO.EXE -delete
895\xdc\xa7\xc4\xfd
896-------- --- -------- --------- --------
897-------- --- -------- --------- --------
8980
8992
9003,2
9013
902-1,0,0,0
903;
904;----------------- Older, less used archivers --------------
905;
906; Entry #33 - ARC 5.12mpl.
907;
908Arc 5.12mpl
909ARC
9100
911ARC.EXE lwn
912ARC.EXE ewn
913
914ARC.EXE t
915ARC.EXE awn
916
917
918ARC.EXE mwn
919
920ARC.EXE dwn
921\x1a
922============ ======== =========
923==== ========
9241
925-1
9262,3
9273
9280,0,0,0
929;
930; Entry #34 - ARC2 (6.0).
931; Note that I don't actually have a copy of this...
932;
933Arc 6.0
934ARC
9350
936ARC.EXE l
937ARC.EXE ewn
938
939ARC.EXE t
940ARC.EXE awn
941
942
943ARC.EXE mwn
944
945ARC.EXE dwn
946\x1a
947================= ======== =========
948==== ========
9491
950-1
9512,0
9523
9530,0,0,0
954;
955; Entry #35 - ARC2 (6.0) using ARC2 executable.
956;
957Arc 6.0
958ARC
9590
960ARC2.EXE l
961ARC2.EXE ewn
962
963ARC2.EXE t
964ARC2.EXE awn
965
966
967ARC2.EXE mwn
968
969ARC2.EXE dwn
970\x1a
971================= ======== =========
972==== ========
9731
974-1
9752,0
9763
9770,0,0,0
978;
979; Entry #36 (CABExtract 1.0)
980;
981CABExtract 1.0
982CAB
9830
984Cabextract.exe -l
985Cabextract.exe
986
987
988
989
990
991
992
993
994MSCF
995-----------+---------------------+-------------
996
9970
998-1
999-1,0
10002
10015,1,0,0
1002;
1003; Entry #37 (Untgz Ver 0.95)
1004; Supplied by Gregg Young
1005;
1006Untgz Ver 0.95
1007TAR.GZ
10080
1009untgzos2.exe -l
1010untgzos2.exe
1011
1012untgzos2.exe -t
1013
1014
1015
1016
1017
1018
1019\x1f\x8b
1020------- ----- ---- ----- ---------------------------------------------------
1021------- ----- ---- ----- ---------------------------------------------------
10220
1023-1
10241,0
10253
10265,1,0,0
1027;
1028;----------------- End of archiver data -----------------------
1029
1030; For possible future use:
1031
1032; Squeeze-it signature: (Offset 0) \x48\x4c\x53\x51\x5ah
1033; HA signature: (Offset 0) HA
1034; HAP signature: (Offset 0) \x913HF
1035; HPK signature: (Offset 0) HPAK
1036; SQZ signature: (Offset 0) HLSQZ
1037; DWZ signature: (Offset -3) DWC
1038
1039; No OS/2 versions available yet to my knowledge...
1040
1041;Notes on modifying/updating this file:
1042;=====================================
1043
1044;You can add as many archivers as you like to this file.
1045;here are some suggestions on how to go about it:
1046
1047;List an archive with the archiver, redirecting to a disk
1048;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
1049;file into a text editor. Clip out the startlist and endlist
1050;strings and paste directly into this file on the appropriate
1051;lines; prevents errors due to typos when copying manually.
1052;Count the positions of filename, date, etc. and place on the
1053;appropriate line. Now run the archiver redirected to a file
1054;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
1055;Look for the various command options (extract, list, etc.) and
1056;put them into the file on the appropriate lines -- remember to
1057;add the modifiers to prevent the archiver from stopping to ask
1058;questions! You could be in deep doo-doo if it's a detached
1059;process. While it may seem a pain in the arse to have to
1060;edit this file when an archiver changes its command structure
1061;or list format, at least it's something within your control;
1062;you don't have to wait for an update to FM/2. That means if I
1063;die tomorrow you'll still be able to use FM/2 for years to come.
1064
1065;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
1066
1067;----------------cut here----------------------
1068;Name Length Date
1069;============ ======== ========= <--this line is start-of-list
1070;MAKEFILE 374 28 Nov 89
1071;QSORT.C 14279 29 Nov 89
1072;QSORT.EXE 24629 29 Nov 89
1073;STUFF.H 371 29 Nov 89
1074; ==== ======== <--this line is end-of-list
1075;Total 4 39653
1076;----------------cut here----------------------
1077
1078;Note the filename is in position 0, old length in position 1, and the
1079;date starts in position 2, with 3 parts, and there's no new length
1080;field (so it'd be -1). Compare that to the archiver entry for
1081;ARC 5.12mpl above and you should get a feel for what all those fields
1082;mean. Here's a diagram of how a file line breaks down:
1083
1084;STUFF.H 371 29 Nov 89
1085; ^ ^ ^
1086; | | |
1087; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
1088; | |
1089; | +--Old file length, field 1
1090; |
1091; +--Filename, field 0 (count from 0, not 1)
1092
1093;If you're adding an entirely new archive format, note that you can
1094;use 'C'-style \x<hexnumber> on the signature line in this file.
1095;For example, the \x1a in ARC 5.12mpl's signature line means FM/2 will
1096;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
1097;indicated by ARC's line 3, the offset into a file for the signature)
1098;of a file to determine if it's an archive. If line 3's offset is
1099;negative, FM/2 looks from the end of the file instead of the beginning.
1100;You can usually figure out what an archiver's signature is by looking
1101;at a few archives with a file viewing program like Vernon Buerg's
1102;LIST. By all means send me anything new you figure out for inclusion
1103;in future releases.
1104
1105;You can have several entries for one type of archive in this file. FM/2
1106;tries entries sequentially to list the file until it finds one that works.
1107;If the first entry for a signature doesn't work, and FM/2 finds one that
1108;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
1109;to make future accesses faster. This allows me to list everything I can
1110;get entries for and let FM/2 sort out what the user actually has that works.
1111;It also lets you, the user, create archives with more than one archiver that
1112;produces the same sort of archive (or with different switches, like one with
1113;LHArc producing -lh5- compression and one with it producing old, compatible
1114;-lh1- compression).
1115
1116;Always end file with blank line or comment
Note: See TracBrowser for help on using the repository browser.