source: trunk/archiver.tmp@ 1736

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

Changes to fix .tar.gz list because of changes in tar 1.20 (maybe earlier). Added lzip support with ungly hack to work around its lack of a list option. Tickets 493, 494

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 23.1 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 1690 2013-08-05 00:13:41Z 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.20+ & 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,5
3672
3685,1,0,0
369;
370;
371; Entry #12 (tar.gz)
372;
373TAR.GZ (Req. TAR 1.10-15 & GZIP)
374TAR.GZ
3750
376tar.exe -tzvf
377tar.exe -xzpvf
378tar.exe -xzpvf
379
380tar.exe -rzpf
381tar.exe -rpf
382
383
384
385tar.exe -z --delete -f
386\x1f\x8b
387None
388None
3892
390-1
3913,5
3924
3937,1,0,0
394;
395; Entry #13 (tar.bz2)
396;
397TAR.BZ2 (Req. TAR 1.15+ & BZIP2)
398tar.bz2
3990
400tar.exe -tjvf
401tar.exe -xjpvf
402tar.exe -xjpvf
403
404tar.exe -crjpf
405tar.exe -rjpf
406
407
408
409tar.exe -j --delete -f
410BZh
411None
412None
4132
414-1
4153,0
4162
4175,1,0,0
418;
419; Entry #14 - GZIP (GZ).
420;
421GZIP (GZ) (req. GZIP & TAR 1.15+)
422GZ
4230
424gzip.exe -lv
425gzip.exe -d
426
427gzip.exe -t
428gzip.exe
429gzip.exe
430gzip.exe -r
431gzip.exe
432gzip.exe
433
434\x1f\x8b
435None
436None
4372
438-1
4393,4
4402
4415,1,0,0
442;
443; Entry #15 - GZIP (Z).
444;
445GZIP (Z)
446Z
4470
448gzip.exe -lv
449gzip.exe -d
450
451gzip.exe -t
452gzip.exe -9 -s .z
453gzip.exe -9 -s .z
454gzip.exe -r
455
456
457
458\x1f\x8b
459method crc date time compressed uncompr. ratio uncompressed_name
460None
4616
4625
4632,0
4643
4658,0,0,0
466;
467; Entry #16 (Lzip)
468;
469Lzip
470lz
4710
472lzip.exe
473lzip.EXE -d
474lzip.EXE -d
475lzip.EXE -tvvv
476Lzip.EXE -k
477
478
479Lzip.EXE
480
481
482LZIP
483None
484None
485-1
486-1
487-1,0
488-1
489-1,0,0,0
490;
491; Entry #17 - Unarj 2.30 demo version.
492; Don't use Unarj 2.41; it's broken.
493;
494(Un)Arj 2.30 demo
495
4960
497UNARJ.EXE l
498UNARJ.EXE e
499UNARJ.EXE x
500UNARJ.EXE t
501
502
503
504
505
506
507`\xea
508------------ ---------- ---------- ----- ----------------- -------- -----------
509------------ ---------- ---------- ----- -----------------
5101
5112
5124,0
5131
5140,0,0,0
515;
516; Entry #18 - Arj 2.00 (DOS).
517; Note that other programs that use this control file may not be able to
518; handle calling a DOS archiver correctly! FM/2 is the only one that I
519; know of which can at this time. This means you may need to keep FM/2's
520; ARCHIVER.BB2 separate from those for other programs.
521;
522Arj 2.00 DOS
523ARJ
5240
525ARJ.EXE l
526ARJ.EXE e -y
527ARJ.EXE x -y
528ARJ.EXE t
529ARJ.EXE a -y -e
530ARJ.EXE a -y
531ARJ.EXE a -y -r
532ARJ.EXE m -y -e
533ARJ.EXE m -y
534ARJ.EXE d -y
535`\xea
536------------ ---------- ---------- ----- ----------------- -------- ---- ------
537------------ ---------- ---------- -----
5381
5392
5404,0
5411
5420,0,0,0
543;
544; Entry #19 (RAR v.3.5)
545;
546RAR v.3.5
547RAR
5480
549RAR32.EXE v -c-
550RAR32.EXE e -y -c- -o+
551RAR32.EXE x -y -c- -o+
552RAR32.EXE t -c-
553RAR32.EXE a -ep1 -y
554RAR32.EXE a -y
555RAR32.EXE a -r -y
556RAR32.EXE mf -ep1 -y
557RAR32.EXE m -y
558RAR32.EXE d -y
559Rar!\x1a\x07
560-------------------------------------------------------------------------------
561-------------------------------------------------------------------------------
5620
5631
5643,5
5652
5660,0,0,1
567;
568; Entry #20 - RAR/2 v2, provided by Eugene Roshal.
569;
570RAR/2 v2
571RAR
5720
573RAR.EXE v -c-
574RAR.EXE e -y -c- -o+
575RAR.EXE x -y -c- -o+
576RAR.EXE t -c-
577RAR.EXE a -ep1 -y
578RAR.EXE a -y
579RAR.EXE a -r -y
580RAR.EXE mf -ep1 -y
581RAR.EXE m -y
582RAR.EXE d -y
583Rar!\x1a\x07
584------------------------------------------------------------------------------
585------------------------------------------------------------------------------
5860
5871
5883,0
5891
5900,0,0,1
591;
592; Entry #21 - RAR/2 v.1.53beta OS/2 SFX.
593;
594RAR/2 v.1.53beta OS/2 SFX
595
59613707
597RAR.EXE l -c-
598RAR.EXE e -y -c- -o+
599RAR.EXE x -y -c- -o+
600RAR.EXE t -c-
601RAR.EXE a -ep1 -y
602RAR.EXE a -y
603RAR.EXE a -r -y
604RAR.EXE mf -ep1 -y
605RAR.EXE m -y
606RAR.EXE d -y
607Rar!\x1a\x07
608------------------------------------------------------------------------------
609------------------------------------------------------------------------------
6101
6112
6124,0
6131
6140,0,0,1
615;
616; Entry #22 - RAR v.1.53 DOS SFX.
617;
618RAR v.1.53 DOS SFX
619
6207195
621RAR.EXE l -c-
622RAR.EXE e -y -c- -o+
623RAR.EXE x -y -c- -o+
624RAR.EXE t -c-
625RAR.EXE a -ep1 -y
626RAR.EXE a -y
627RAR.EXE a -r -y
628RAR.EXE mf -ep1 -y
629RAR.EXE m -y
630RAR.EXE d -y
631Rar!\x1a\x07
632------------------------------------------------------------------------------
633------------------------------------------------------------------------------
6341
6352
6364,0
6371
6380,0,0,1
639;
640; Entry #23 - RAR v.2.00 SFX.
641;
642RAR v.2.00 SFX
643
64428
645RAR.EXE l -c-
646RAR.EXE e -y -c- -o+
647RAR.EXE x -y -c- -o+
648RAR.EXE t -c-
649RAR.EXE a -ep1 -y
650RAR.EXE a -y
651RAR.EXE a -r -y
652RAR.EXE mf -ep1 -y
653RAR.EXE m -y
654RAR.EXE d -y
655RSFXjr
656------------------------------------------------------------------------------
657------------------------------------------------------------------------------
6581
6592
6604,0
6611
6620,0,0,1
663;
664;
665; Entry #24 - LHarc 2.22.
666; Supposedly fixes bugs in earlier versions.
667; Actually seems to have done so. Good work, Peter.
668;
669LHarc 2.22
670LZH
6712
672LH.EXE /o l
673LH.EXE /o x
674LH.EXE /o /s x
675LH.EXE t
676LH.EXE /o a
677
678LH.EXE /o /s a
679LH.EXE /o m
680
681LH.EXE /o d
682-lh
683-------- -------- -----------------------------------------
684-------- -----------------------------------------
6850
686-1
6871,4
6881
6892,1,0,0
690;
691; Entry #25 - LHarc 2.22 using LH32 executable.
692;
693LHarc-32 2.22
694LZH
6952
696LH32.EXE /o l
697LH32.EXE /o x
698LH32.EXE /o /s x
699LH32.EXE t
700LH32.EXE /o a
701
702LH32.EXE /o /s a
703LH32.EXE /o m
704
705LH32.EXE /o d
706-lh
707-------- -------- -----------------------------------------
708-------- -----------------------------------------
7090
710-1
7111,4
7121
7132,1,0,0
714;
715; Entry #26 - LHarc 2.22 self-extractors..
716;
717LHarc 2.22 SE
718LZH
71922963
720LH.EXE /o l
721LH.EXE /o x
722LH.EXE /o /s x
723LH.EXE t
724LH.EXE /o a
725
726LH.EXE /o /s a
727LH.EXE /o m
728
729LH.EXE /o d
730-lh
731-------- -------- -----------------------------------------
732-------- -----------------------------------------
7330
734-1
7351,4
7361
7372,1,0,0
738;
739; Entry #27 - LHA 2.12 (DOS) self-extractors.
740; LH 2.22 seems to recognize them
741;
742LHarc 2.12 DOS SE
743LZH
7441638
745LH.EXE /o l
746LH.EXE /o x
747LH.EXE /o /s x
748LH.EXE t
749LH.EXE /o a
750
751LH.EXE /o /s a
752LH.EXE /o m
753
754LH.EXE /o d
755-lh
756-------- -------- -----------------------------------------
757-------- -----------------------------------------
7580
759-1
7601,4
7611
7622,1,0,0
763;
764; Entry #28 - LHA 2.12 (DOS) self-extractors.
765; LH 2.22 seems to recognize them
766;
767LHarc 2.12 DOS SE
768LZH
76937
770LH.EXE /o l
771LH.EXE /o x
772LH.EXE /o /s x
773LH.EXE t
774LH.EXE /o a
775
776LH.EXE /o /s a
777LH.EXE /o m
778
779LH.EXE /o d
780$LHarc's SFX
781-------- -------- -----------------------------------------
782-------- -----------------------------------------
7830
784-1
7851,4
7861
7872,1,0,0
788;
789; Entry #29 - LHA 2.13L (DOS) self-extractors.
790; LH 2.22 seems to recognize them
791;
792LHarc 2.13 DOS SE
793LZH
79436
795LH.EXE /o l
796LH.EXE /o x
797LH.EXE /o /s x
798LH.EXE t
799LH.EXE /o a
800
801LH.EXE /o /s a
802LH.EXE /o m
803
804LH.EXE /o d
805LHA's SFX 2.13L (c) Yoshi, 1991\r\n
806-------- -------- -----------------------------------------
807-------- -----------------------------------------
8080
809-1
8101,4
8111
8122,1,0,0
813;
814; Entry #30 - LH2 2.11.
815; NOTE: sometimes will put a file into an archive more than once, necessitating
816; deleting both. EAs not handled well, but at least they're handled.
817;
818LHarc 2.11
819LZH
8202
821LH.EXE /o l
822LH.EXE /o x
823LH.EXE /o /s x
824LH.EXE t
825LH.EXE /o a
826
827LH.EXE /o /s a
828LH.EXE /o m
829
830LH.EXE /o d
831-lh
832-------- -------- -----------------------------------------
833-------- -----------------------------------------
8340
835-1
8361,0
8371
8382,1,0,0
839;
840; Entry #31 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
841;ZIP/UNZIP should work with PKZIP 2.04 files. Saves EAs well. Won't
842;extract a file stored with path without the path (actually, this seems
843;to be fixed now. Maybe. There are dozens of versions floating around;
844;you don't pays your money and you takes your chances). If you have a
845;version that won't extract files with paths without the paths, there's
846;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
847;Because of broken ZIP archives floating around everywhere, this is here
848;without the version flag in the signature (should really be PK\x03\x04\x14).
849;Damnit, it looks like Katz's own software is what does the botching. So
850;much for the keeper of the ZIP standard... Zip still seems to have to
851;have erratic problems with creating archives with some pathnames...
852;
853Zip/UnZip 1.9/5.0
854ZIP
8550
856UNZIP.EXE -vUo
857UNZIP.EXE -jo
858UNZIP.EXE -o
859UNZIP.EXE -to
860ZIP.EXE -j9g
861ZIP.EXE -9g
862ZIP.EXE -r9g
863ZIP.EXE -mj9g
864ZIP.EXE -m9g
865ZIP.EXE -d
866PK\x03\x04
867------ ------ ---- ----- ---- ---- ------ ----
868------ ------ --- -------
8690
8702
8714,1
8722
8737,1,0,0
874;
875; Entry #32 - ZIP 1.9/UNZIP 5.0 using *32 executables.
876;
877Zip/UnZip-32 1.9/5.0
878ZIP
8790
880UNZIP32.EXE -vUo
881UNZIP32.EXE -jo
882UNZIP32.EXE -o
883UNZIP32.EXE -to
884ZIP32.EXE -j9g
885ZIP32.EXE -9g
886ZIP32.EXE -r9g
887ZIP32.EXE -mj9g
888ZIP32.EXE -m9g
889ZIP32.EXE -d
890PK\x03\x04
891------ ------ ---- ----- ---- ---- ------ ----
892------ ------ --- -------
8930
8942
8954,1
8962
8977,1,0,0
898;
899; Entry #33 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
900; (the -v long format can sometimes result in the old length field
901; being crammed together with the Method field, resulting in an
902; unparsable format). Some info, like old length, will be missing,
903; but at least you can view the contents.
904;
905Zip/UnZip 1.9/5.0 Short
906ZIP
9070
908UNZIP.EXE -lUo
909UNZIP.EXE -jo
910UNZIP.EXE -o
911UNZIP.EXE -to
912ZIP.EXE -j9g
913ZIP.EXE -9g
914ZIP.EXE -r9g
915ZIP.EXE -mj9g
916ZIP.EXE -m9g
917ZIP.EXE -d
918PK\x03\x04
919------ ---- ---- ----
920------ -------
921-1
9220
9231,1
9242
9253,1,0,0
926;
927; Entry #34 - Zoo 2.1.
928; NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
929; be extracted with paths even when you don't ask it to do so...
930;
931Zoo 2.1
932ZOO
93320
934ZOO.EXE v
935ZOO.EXE xO
936ZOO.EXE xO/
937ZOO.EXE -test
938ZOO.Exe ah:
939ZOO.EXE ah
940
941ZOO.EXE aM:h
942ZOO.EXE aMh
943ZOO.EXE -delete
944\xdc\xa7\xc4\xfd
945-------- --- -------- --------- --------
946-------- --- -------- --------- --------
9470
9482
9493,2
9503
951-1,0,0,0
952;
953;----------------- Older, less used archivers --------------
954;
955; Entry #35 - ARC 5.12mpl.
956;
957Arc 5.12mpl
958ARC
9590
960ARC.EXE lwn
961ARC.EXE ewn
962
963ARC.EXE t
964ARC.EXE awn
965
966
967ARC.EXE mwn
968
969ARC.EXE dwn
970\x1a
971============ ======== =========
972==== ========
9731
974-1
9752,3
9763
9770,0,0,0
978;
979; Entry #36 - ARC2 (6.0).
980; Note that I don't actually have a copy of this...
981;
982Arc 6.0
983ARC
9840
985ARC.EXE l
986ARC.EXE ewn
987
988ARC.EXE t
989ARC.EXE awn
990
991
992ARC.EXE mwn
993
994ARC.EXE dwn
995\x1a
996================= ======== =========
997==== ========
9981
999-1
10002,0
10013
10020,0,0,0
1003;
1004; Entry #37 - ARC2 (6.0) using ARC2 executable.
1005;
1006Arc 6.0
1007ARC
10080
1009ARC2.EXE l
1010ARC2.EXE ewn
1011
1012ARC2.EXE t
1013ARC2.EXE awn
1014
1015
1016ARC2.EXE mwn
1017
1018ARC2.EXE dwn
1019\x1a
1020================= ======== =========
1021==== ========
10221
1023-1
10242,0
10253
10260,0,0,0
1027;
1028; Entry #38 (CABExtract 1.0)
1029;
1030CABExtract 1.0
1031CAB
10320
1033Cabextract.exe -l
1034Cabextract.exe
1035
1036
1037
1038
1039
1040
1041
1042
1043MSCF
1044-----------+---------------------+-------------
1045
10460
1047-1
1048-1,0
10492
10505,1,0,0
1051;
1052; Entry #39 (Untgz Ver 0.95)
1053; Supplied by Gregg Young
1054;
1055Untgz Ver 0.95
1056TAR.GZ
10570
1058untgzos2.exe -l
1059untgzos2.exe
1060
1061untgzos2.exe -t
1062
1063
1064
1065
1066
1067
1068\x1f\x8b
1069------- ----- ---- ----- ---------------------------------------------------
1070------- ----- ---- ----- ---------------------------------------------------
10710
1072-1
10731,0
10743
10755,1,0,0
1076;
1077;----------------- End of archiver data -----------------------
1078
1079; For possible future use:
1080
1081; Squeeze-it signature: (Offset 0) \x48\x4c\x53\x51\x5ah
1082; HA signature: (Offset 0) HA
1083; HAP signature: (Offset 0) \x913HF
1084; HPK signature: (Offset 0) HPAK
1085; SQZ signature: (Offset 0) HLSQZ
1086; DWZ signature: (Offset -3) DWC
1087
1088; No OS/2 versions available yet to my knowledge...
1089
1090;Notes on modifying/updating this file:
1091;=====================================
1092
1093;You can add as many archivers as you like to this file.
1094;here are some suggestions on how to go about it:
1095
1096;List an archive with the archiver, redirecting to a disk
1097;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
1098;file into a text editor. Clip out the startlist and endlist
1099;strings and paste directly into this file on the appropriate
1100;lines; prevents errors due to typos when copying manually.
1101;Count the positions of filename, date, etc. and place on the
1102;appropriate line. Now run the archiver redirected to a file
1103;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
1104;Look for the various command options (extract, list, etc.) and
1105;put them into the file on the appropriate lines -- remember to
1106;add the modifiers to prevent the archiver from stopping to ask
1107;questions! You could be in deep doo-doo if it's a detached
1108;process. While it may seem a pain in the arse to have to
1109;edit this file when an archiver changes its command structure
1110;or list format, at least it's something within your control;
1111;you don't have to wait for an update to FM/2. That means if I
1112;die tomorrow you'll still be able to use FM/2 for years to come.
1113
1114;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
1115
1116;----------------cut here----------------------
1117;Name Length Date
1118;============ ======== ========= <--this line is start-of-list
1119;MAKEFILE 374 28 Nov 89
1120;QSORT.C 14279 29 Nov 89
1121;QSORT.EXE 24629 29 Nov 89
1122;STUFF.H 371 29 Nov 89
1123; ==== ======== <--this line is end-of-list
1124;Total 4 39653
1125;----------------cut here----------------------
1126
1127;Note the filename is in position 0, old length in position 1, and the
1128;date starts in position 2, with 3 parts, and there's no new length
1129;field (so it'd be -1). Compare that to the archiver entry for
1130;ARC 5.12mpl above and you should get a feel for what all those fields
1131;mean. Here's a diagram of how a file line breaks down:
1132
1133;STUFF.H 371 29 Nov 89
1134; ^ ^ ^
1135; | | |
1136; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
1137; | |
1138; | +--Old file length, field 1
1139; |
1140; +--Filename, field 0 (count from 0, not 1)
1141
1142;If you're adding an entirely new archive format, note that you can
1143;use 'C'-style \x<hexnumber> on the signature line in this file.
1144;For example, the \x1a in ARC 5.12mpl's signature line means FM/2 will
1145;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
1146;indicated by ARC's line 3, the offset into a file for the signature)
1147;of a file to determine if it's an archive. If line 3's offset is
1148;negative, FM/2 looks from the end of the file instead of the beginning.
1149;You can usually figure out what an archiver's signature is by looking
1150;at a few archives with a file viewing program like Vernon Buerg's
1151;LIST. By all means send me anything new you figure out for inclusion
1152;in future releases.
1153
1154;You can have several entries for one type of archive in this file. FM/2
1155;tries entries sequentially to list the file until it finds one that works.
1156;If the first entry for a signature doesn't work, and FM/2 finds one that
1157;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
1158;to make future accesses faster. This allows me to list everything I can
1159;get entries for and let FM/2 sort out what the user actually has that works.
1160;It also lets you, the user, create archives with more than one archiver that
1161;produces the same sort of archive (or with different switches, like one with
1162;LHArc producing -lh5- compression and one with it producing old, compatible
1163;-lh1- compression).
1164
1165;Always end file with blank line or comment
Note: See TracBrowser for help on using the repository browser.