source: trunk/archiver.tmp@ 1567

Last change on this file since 1567 was 1510, checked in by John Small, 15 years ago

Ticket 428: Add support for UNZIP v6.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 22.4 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 1510 2010-04-12 16:28:44Z jbs $
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 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
67; Dash (-) and slash (/) separators are both supported.
68; Both 2 digit and 4 digit years are supported.
69; 2 digit years slide about 1980.
70
71;The positions specified in an archiver defintion are word numbers, where a
72;word is something separated by whitespace. Counting starts at zero (0).
73;Minus one (-1) usually indicates the item does not exist. The exception is
74;the file name position (line 21), where -1 indicates that the filename is
75;the last entry on the listing line. This allow files names with spaces to
76;be supported.
77
78;How archiver selection works (for the curious):
79
80;The archive selector scans the known archivers in the order in which they
81;are defined. The selector first tries a signature match, unless this is
82;suppressed in the settings. If there is no signature defined or if
83;the signature match is suppressed, the selector checks to see if the file
84;extension matches. The matching entry defines the commands used for the
85;various archiving operations and supplies parameters that enable the archiver
86;outputs to be parsed.
87
88;Warning: I'm told there's a bug in some versions of 4OS2 that can cause
89;a call to an archiver to fail if the archiver has an extension (i.e.
90;UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
91;and you're using 4OS2 you might keep it in mind.
92;
93;The FM/2 code for accessing and using this information is in avl.c, avl.c and
94;arccnrs.c and is freely available for use in in your own projects under
95;the terms of then GNU GPL2 license.
96
97;------------------- Current Archivers -------------------------
98;
99; Entry #1 - InfoZip Zip/UnZip 2.2/5.4, sent to me by V. Lee Conyers.
100;
101Zip/UnZip 2.2/5.4
102ZIP
1030
104UNZIP.EXE -lv
105UNZIP.EXE -jo
106UNZIP.EXE -o
107UNZIP.EXE -t
108ZIP.EXE -j9g
109ZIP.EXE -9g
110ZIP.EXE -r9g
111ZIP.EXE -mj9g
112ZIP.EXE -m9g
113ZIP.EXE -d
114PK\x03\x04
115-------- ------ ------- ----- ---- ---- ------ ----
116-------- ------- --- -------
1170
1182
1194,1
1202
1217,1,0,0
122;
123;
124; Entry #2 - InfoZip Zip/UnZip 2.2/6.0
125;
126Zip/UnZip 2.2/6.0
127ZIP
1280
129UNZIP.EXE -lv
130UNZIP.EXE -jo
131UNZIP.EXE -o
132UNZIP.EXE -t
133ZIP.EXE -j9g
134ZIP.EXE -9g
135ZIP.EXE -r9g
136ZIP.EXE -mj9g
137ZIP.EXE -m9g
138ZIP.EXE -d
139PK\x03\x04
140-------- ------ ------- ---- ---------- ----- -------- ----
141-------- ------- --- -------
1420
1432
1444,1
1452
1467,1,0,0
147;
148;
149; Entry #3 - PKZIP 2.50 named PKZip (true OS/2 executable).
150;
151PKZip 2.50
152ZIP
1530
154PKZIP.EXE /locale=canada /nofix
155PKZIP.EXE /overwrite /extract /nofix
156PKZIP.EXE /overwrite /extract /directories /nofix
157PKZIP.EXE /test
158PKZIP.EXE /add /nofix
159PKZIP.EXE /add /path /nofix
160PKZIP.EXE /add /path /recurse /nofix
161PKZIP.EXE /add /move /nofix
162PKZIP.EXE /add /move /path /nofix
163PKZIP.EXE /delete /nofix
164PK\x03\x04\x14
165------ ------ ----- ----- ---- ---- -------- ---- ----
166------ ------ ----- ----
1670
1682
1694,0
1702
1718,1,0,0
172;
173; Entry #4 - InfoZip unzipsfx self-extractors.
174;
175unzipsfx
176
177217
178UNZIP.EXE -vUo
179UNZIP.EXE -jo
180UNZIP.EXE -o
181UNZIP.EXE -to
182
183
184
185
186
187ZIP.EXE -d
188unzipsfx
189------ ------ ---- ----- ---- ---- ------ ----
190------ ------ --- -------
1910
1922
1934,1
1942
1957,1,0,0
196;
197;
198; Entry #5 - PKWare PKZIP self-extractors type 1.
199;
200PK(Un)Zip SE #1
201
2022934
203PKZIP.EXE /locale=canada /nofix
204PKZIP.EXE /overwrite /extract /nofix
205PKZIP.EXE /overwrite /extract /directories /nofix
206PKZIP.EXE /test
207PKZIP.EXE /add /nofix
208PKZIP.EXE /add /path /nofix
209PKZIP.EXE /add /path /recurse /nofix
210PKZIP.EXE /add /move /nofix
211PKZIP.EXE /add /move /path /nofix
212PKZIP.EXE /delete /nofix
213PK\x03\x04
214------ ------ ----- ----- ---- ---- ------ ---- ----
215------ ------ --- -------
2160
2172
2184,0
2192
2208,0,0,0
221;
222; Entry #6 - is for PKWare PKZIP self-extractors type 2.
223;
224PK(Un)Zip SE #2
225
22612784
227PKZIP.EXE /locale=canada /nofix
228PKZIP.EXE /overwrite /extract /nofix
229PKZIP.EXE /overwrite /extract /directories /nofix
230PKZIP.EXE /test
231PKZIP.EXE /add /nofix
232PKZIP.EXE /add /path /nofix
233PKZIP.EXE /add /path /recurse /nofix
234PKZIP.EXE /add /move /nofix
235PKZIP.EXE /add /move /path /nofix
236PKZIP.EXE /delete /nofix
237PK\x03\x04
238------ ------ ----- ----- ---- ---- ------ ---- ----
239------ ------ --- -------
2400
2412
2424,0
2432
2448,0,0,0
245;
246;
247; Entry #7 - PKWare PKZIP self-extractors type 3.
248;
249PK(Un)Zip SE #2
250
25130948
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 - TAR 1.15.1 from Gregg Young
273;
274TAR 1.15.1 (or higher)
275TAR
276257
277Tar.exe -tvf
278Tar.exe --wildcards -xpf
279Tar.exe --wildcards -xpf
280
281
282Tar.exe --no-recursion -rpf
283Tar.exe -rpf
284
285Tar.exe --remove-files -rpf
286Tar.exe --delete -f
287ustar
288None
289None
2902
291-1
2923,0
2932
2945,1,0,0
295;
296; Entry #9 - TAR 1.1.0.
297;
298TAR 1.10
299TAR
300257
301tar110.exe -tvf
302Tar110.exe -xpf
303Tar110.exe -xpf
304
305Tar110.exe -rpyf
306Tar110.exe -rpf
307Tar110.exe --help
308
309
310Tar110.exe --delete -f
311ustar
312None
313None
3142
315-1
3163,0
3174
3187,1,0,0
319;
320;
321; Entry #10 (tar.gz)
322;
323TAR.GZ (Req. TAR 1.15+ & GZIP)
324tar.gz
3250
326tar.exe -tzvf
327tar.exe -xzpvf
328tar.exe -xzpvf
329
330tar.exe -rzpf
331tar.exe -rpf
332
333
334
335tar.exe -z --delete -f
336\x1f\x8b
337None
338None
3392
340-1
3413,0
3422
3435,1,0,0
344;
345; Entry #11 (tar.bz2)
346;
347TAR.BZ2 (Req. TAR 1.15+ & BZIP2)
348tar.bz2
3490
350tar.exe -tjvf
351tar.exe -xjpvf
352tar.exe -xjpvf
353
354tar.exe -crjpf
355tar.exe -rjpf
356
357
358
359tar.exe -j --delete -f
360BZh
361None
362None
3632
364-1
3653,0
3662
3675,1,0,0
368;
369; Entry #12 - GZIP (GZ).
370;
371GZIP (GZ) (req. GZIP & TAR 1.15+)
372GZ
3730
374gzip.exe -lv
375gzipe.cmd
376
377gzip.exe -t
378gzip.exe
379gzip.exe
380gzip.exe -r
381gzip.exe
382gzip.exe
383
384\x1f\x8b
385None
386None
3872
388-1
3893,4
3902
3915,1,0,0
392;
393; Entry #13 - GZIP (Z).
394;
395GZIP (Z)
396Z
3970
398gzip.exe -lv
399gzipe.cmd
400
401gzip.exe -t
402gzip.exe -9 -s .z
403gzip.exe -9 -s .z
404gzip.exe -r
405
406
407
408\x1f\x8b
409method crc date time compressed uncompr. ratio uncompressed_name
410None
4116
4125
4132,0
4143
4158,0,0,0
416;
417; Entry #14 - Unarj 2.30 demo version.
418; Don't use Unarj 2.41; it's broken.
419;
420(Un)Arj 2.30 demo
421
4220
423UNARJ.EXE l
424UNARJ.EXE e
425UNARJ.EXE x
426UNARJ.EXE t
427
428
429
430
431
432
433`\xea
434------------ ---------- ---------- ----- ----------------- -------- -----------
435------------ ---------- ---------- ----- -----------------
4361
4372
4384,0
4391
4400,0,0,0
441;
442; Entry #15 - Arj 2.00 (DOS).
443; Note that other programs that use this control file may not be able to
444; handle calling a DOS archiver correctly! FM/2 is the only one that I
445; know of which can at this time. This means you may need to keep FM/2's
446; ARCHIVER.BB2 separate from those for other programs.
447;
448Arj 2.00 DOS
449ARJ
4500
451ARJ.EXE l
452ARJ.EXE e -y
453ARJ.EXE x -y
454ARJ.EXE t
455ARJ.EXE a -y -e
456ARJ.EXE a -y
457ARJ.EXE a -y -r
458ARJ.EXE m -y -e
459ARJ.EXE m -y
460ARJ.EXE d -y
461`\xea
462------------ ---------- ---------- ----- ----------------- -------- ---- ------
463------------ ---------- ---------- -----
4641
4652
4664,0
4671
4680,0,0,0
469;
470; Entry #16 (RAR v.3.5)
471;
472RAR v.3.5
473RAR
4740
475RAR32.EXE v -c-
476RAR32.EXE e -y -c- -o+
477RAR32.EXE x -y -c- -o+
478RAR32.EXE t -c-
479RAR32.EXE a -ep1 -y
480RAR32.EXE a -y
481RAR32.EXE a -r -y
482RAR32.EXE mf -ep1 -y
483RAR32.EXE m -y
484RAR32.EXE d -y
485Rar!\x1a\x07
486-------------------------------------------------------------------------------
487-------------------------------------------------------------------------------
4880
4891
4903,5
4912
4920,0,0,1
493;
494; Entry #17 - RAR/2 v2, provided by Eugene Roshal.
495;
496RAR/2 v2
497RAR
4980
499RAR.EXE v -c-
500RAR.EXE e -y -c- -o+
501RAR.EXE x -y -c- -o+
502RAR.EXE t -c-
503RAR.EXE a -ep1 -y
504RAR.EXE a -y
505RAR.EXE a -r -y
506RAR.EXE mf -ep1 -y
507RAR.EXE m -y
508RAR.EXE d -y
509Rar!\x1a\x07
510------------------------------------------------------------------------------
511------------------------------------------------------------------------------
5120
5131
5143,0
5151
5160,0,0,1
517;
518; Entry #18 - RAR/2 v.1.53beta OS/2 SFX.
519;
520RAR/2 v.1.53beta OS/2 SFX
521
52213707
523RAR.EXE l -c-
524RAR.EXE e -y -c- -o+
525RAR.EXE x -y -c- -o+
526RAR.EXE t -c-
527RAR.EXE a -ep1 -y
528RAR.EXE a -y
529RAR.EXE a -r -y
530RAR.EXE mf -ep1 -y
531RAR.EXE m -y
532RAR.EXE d -y
533Rar!\x1a\x07
534------------------------------------------------------------------------------
535------------------------------------------------------------------------------
5361
5372
5384,0
5391
5400,0,0,1
541;
542; Entry #19 - RAR v.1.53 DOS SFX.
543;
544RAR v.1.53 DOS SFX
545
5467195
547RAR.EXE l -c-
548RAR.EXE e -y -c- -o+
549RAR.EXE x -y -c- -o+
550RAR.EXE t -c-
551RAR.EXE a -ep1 -y
552RAR.EXE a -y
553RAR.EXE a -r -y
554RAR.EXE mf -ep1 -y
555RAR.EXE m -y
556RAR.EXE d -y
557Rar!\x1a\x07
558------------------------------------------------------------------------------
559------------------------------------------------------------------------------
5601
5612
5624,0
5631
5640,0,0,1
565;
566; Entry #20 - RAR v.2.00 SFX.
567;
568RAR v.2.00 SFX
569
57028
571RAR.EXE l -c-
572RAR.EXE e -y -c- -o+
573RAR.EXE x -y -c- -o+
574RAR.EXE t -c-
575RAR.EXE a -ep1 -y
576RAR.EXE a -y
577RAR.EXE a -r -y
578RAR.EXE mf -ep1 -y
579RAR.EXE m -y
580RAR.EXE d -y
581RSFXjr
582------------------------------------------------------------------------------
583------------------------------------------------------------------------------
5841
5852
5864,0
5871
5880,0,0,1
589;
590;
591; Entry #21 - LHarc 2.22.
592; Supposedly fixes bugs in earlier versions.
593; Actually seems to have done so. Good work, Peter.
594;
595LHarc 2.22
596LZH
5972
598LH.EXE /o l
599LH.EXE /o x
600LH.EXE /o /s x
601LH.EXE t
602LH.EXE /o a
603
604LH.EXE /o /s a
605LH.EXE /o m
606
607LH.EXE /o d
608-lh
609-------- -------- -----------------------------------------
610-------- -----------------------------------------
6110
612-1
6131,4
6141
6152,1,0,0
616;
617; Entry #22 - LHarc 2.22 using LH32 executable.
618;
619LHarc-32 2.22
620LZH
6212
622LH32.EXE /o l
623LH32.EXE /o x
624LH32.EXE /o /s x
625LH32.EXE t
626LH32.EXE /o a
627
628LH32.EXE /o /s a
629LH32.EXE /o m
630
631LH32.EXE /o d
632-lh
633-------- -------- -----------------------------------------
634-------- -----------------------------------------
6350
636-1
6371,4
6381
6392,1,0,0
640;
641; Entry #23 - LHarc 2.22 self-extractors..
642;
643LHarc 2.22 SE
644LZH
64522963
646LH.EXE /o l
647LH.EXE /o x
648LH.EXE /o /s x
649LH.EXE t
650LH.EXE /o a
651
652LH.EXE /o /s a
653LH.EXE /o m
654
655LH.EXE /o d
656-lh
657-------- -------- -----------------------------------------
658-------- -----------------------------------------
6590
660-1
6611,4
6621
6632,1,0,0
664;
665; Entry #24 - LHA 2.12 (DOS) self-extractors.
666; LH 2.22 seems to recognize them
667;
668LHarc 2.12 DOS SE
669LZH
6701638
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
69537
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$LHarc's SFX
707-------- -------- -----------------------------------------
708-------- -----------------------------------------
7090
710-1
7111,4
7121
7132,1,0,0
714;
715; Entry #26 - LHA 2.13L (DOS) self-extractors.
716; LH 2.22 seems to recognize them
717;
718LHarc 2.13 DOS SE
719LZH
72036
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
731LHA's SFX 2.13L (c) Yoshi, 1991\r\n
732-------- -------- -----------------------------------------
733-------- -----------------------------------------
7340
735-1
7361,4
7371
7382,1,0,0
739;
740; Entry #27 - LH2 2.11.
741; NOTE: sometimes will put a file into an archive more than once, necessitating
742; deleting both. EAs not handled well, but at least they're handled.
743;
744LHarc 2.11
745LZH
7462
747LH.EXE /o l
748LH.EXE /o x
749LH.EXE /o /s x
750LH.EXE t
751LH.EXE /o a
752
753LH.EXE /o /s a
754LH.EXE /o m
755
756LH.EXE /o d
757-lh
758-------- -------- -----------------------------------------
759-------- -----------------------------------------
7600
761-1
7621,0
7631
7642,1,0,0
765;
766; Entry #28 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
767;ZIP/UNZIP should work with PKZIP 2.04 files. Saves EAs well. Won't
768;extract a file stored with path without the path (actually, this seems
769;to be fixed now. Maybe. There are dozens of versions floating around;
770;you don't pays your money and you takes your chances). If you have a
771;version that won't extract files with paths without the paths, there's
772;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
773;Because of broken ZIP archives floating around everywhere, this is here
774;without the version flag in the signature (should really be PK\x03\x04\x14).
775;Damnit, it looks like Katz's own software is what does the botching. So
776;much for the keeper of the ZIP standard... Zip still seems to have to
777;have erratic problems with creating archives with some pathnames...
778;
779Zip/UnZip 1.9/5.0
780ZIP
7810
782UNZIP.EXE -vUo
783UNZIP.EXE -jo
784UNZIP.EXE -o
785UNZIP.EXE -to
786ZIP.EXE -j9g
787ZIP.EXE -9g
788ZIP.EXE -r9g
789ZIP.EXE -mj9g
790ZIP.EXE -m9g
791ZIP.EXE -d
792PK\x03\x04
793------ ------ ---- ----- ---- ---- ------ ----
794------ ------ --- -------
7950
7962
7974,1
7982
7997,1,0,0
800;
801; Entry #29 - ZIP 1.9/UNZIP 5.0 using *32 executables.
802;
803Zip/UnZip-32 1.9/5.0
804ZIP
8050
806UNZIP32.EXE -vUo
807UNZIP32.EXE -jo
808UNZIP32.EXE -o
809UNZIP32.EXE -to
810ZIP32.EXE -j9g
811ZIP32.EXE -9g
812ZIP32.EXE -r9g
813ZIP32.EXE -mj9g
814ZIP32.EXE -m9g
815ZIP32.EXE -d
816PK\x03\x04
817------ ------ ---- ----- ---- ---- ------ ----
818------ ------ --- -------
8190
8202
8214,1
8222
8237,1,0,0
824;
825; Entry #30 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
826; (the -v long format can sometimes result in the old length field
827; being crammed together with the Method field, resulting in an
828; unparsable format). Some info, like old length, will be missing,
829; but at least you can view the contents.
830;
831Zip/UnZip 1.9/5.0 Short
832ZIP
8330
834UNZIP.EXE -lUo
835UNZIP.EXE -jo
836UNZIP.EXE -o
837UNZIP.EXE -to
838ZIP.EXE -j9g
839ZIP.EXE -9g
840ZIP.EXE -r9g
841ZIP.EXE -mj9g
842ZIP.EXE -m9g
843ZIP.EXE -d
844PK\x03\x04
845------ ---- ---- ----
846------ -------
847-1
8480
8491,1
8502
8513,1,0,0
852;
853; Entry #31 - Zoo 2.1.
854; NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
855; be extracted with paths even when you don't ask it to do so...
856;
857Zoo 2.1
858ZOO
85920
860ZOO.EXE v
861ZOO.EXE xO
862ZOO.EXE xO/
863ZOO.EXE -test
864ZOO.Exe ah:
865ZOO.EXE ah
866
867ZOO.EXE aM:h
868ZOO.EXE aMh
869ZOO.EXE -delete
870\xdc\xa7\xc4\xfd
871-------- --- -------- --------- --------
872-------- --- -------- --------- --------
8730
8742
8753,2
8763
877-1,0,0,0
878;
879;----------------- Older, less used archivers --------------
880;
881; Entry #32 - ARC 5.12mpl.
882;
883Arc 5.12mpl
884ARC
8850
886ARC.EXE lwn
887ARC.EXE ewn
888
889ARC.EXE t
890ARC.EXE awn
891
892
893ARC.EXE mwn
894
895ARC.EXE dwn
896\x1a
897============ ======== =========
898==== ========
8991
900-1
9012,3
9023
9030,0,0,0
904;
905; Entry #33 - ARC2 (6.0).
906; Note that I don't actually have a copy of this...
907;
908Arc 6.0
909ARC
9100
911ARC.EXE l
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,0
9273
9280,0,0,0
929;
930; Entry #34 - ARC2 (6.0) using ARC2 executable.
931;
932Arc 6.0
933ARC
9340
935ARC2.EXE l
936ARC2.EXE ewn
937
938ARC2.EXE t
939ARC2.EXE awn
940
941
942ARC2.EXE mwn
943
944ARC2.EXE dwn
945\x1a
946================= ======== =========
947==== ========
9481
949-1
9502,0
9513
9520,0,0,0
953;
954; Entry #35 (CABExtract 1.0)
955;
956CABExtract 1.0
957CAB
9580
959Cabextract.exe -l
960Cabextract.exe
961
962
963
964
965
966
967
968
969MSCF
970-----------+---------------------+-------------
971
9720
973-1
974-1,0
9752
9765,1,0,0
977;
978; Entry #36 (Untgz Ver 0.95)
979; Supplied by Gregg Young
980;
981Untgz Ver 0.95
982TAR.GZ
9830
984untgzos2.exe -l
985untgzos2.exe
986
987untgzos2.exe -t
988
989
990
991
992
993
994\x1f\x8b
995------- ----- ---- ----- ---------------------------------------------------
996------- ----- ---- ----- ---------------------------------------------------
9970
998-1
9991,0
10003
10015,1,0,0
1002;
1003;----------------- End of archiver data -----------------------
1004
1005; For possible future use:
1006
1007; Squeeze-it signature: (Offset 0) \x48\x4c\x53\x51\x5ah
1008; HA signature: (Offset 0) HA
1009; HAP signature: (Offset 0) \x913HF
1010; HPK signature: (Offset 0) HPAK
1011; SQZ signature: (Offset 0) HLSQZ
1012; DWZ signature: (Offset -3) DWC
1013
1014; No OS/2 versions available yet to my knowledge...
1015
1016;Notes on modifying/updating this file:
1017;=====================================
1018
1019;You can add as many archivers as you like to this file.
1020;here are some suggestions on how to go about it:
1021
1022;List an archive with the archiver, redirecting to a disk
1023;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
1024;file into a text editor. Clip out the startlist and endlist
1025;strings and paste directly into this file on the appropriate
1026;lines; prevents errors due to typos when copying manually.
1027;Count the positions of filename, date, etc. and place on the
1028;appropriate line. Now run the archiver redirected to a file
1029;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
1030;Look for the various command options (extract, list, etc.) and
1031;put them into the file on the appropriate lines -- remember to
1032;add the modifiers to prevent the archiver from stopping to ask
1033;questions! You could be in deep doo-doo if it's a detached
1034;process. While it may seem a pain in the arse to have to
1035;edit this file when an archiver changes its command structure
1036;or list format, at least it's something within your control;
1037;you don't have to wait for an update to FM/2. That means if I
1038;die tomorrow you'll still be able to use FM/2 for years to come.
1039
1040;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
1041
1042;----------------cut here----------------------
1043;Name Length Date
1044;============ ======== ========= <--this line is start-of-list
1045;MAKEFILE 374 28 Nov 89
1046;QSORT.C 14279 29 Nov 89
1047;QSORT.EXE 24629 29 Nov 89
1048;STUFF.H 371 29 Nov 89
1049; ==== ======== <--this line is end-of-list
1050;Total 4 39653
1051;----------------cut here----------------------
1052
1053;Note the filename is in position 0, old length in position 1, and the
1054;date starts in position 2, with 3 parts, and there's no new length
1055;field (so it'd be -1). Compare that to the archiver entry for
1056;ARC 5.12mpl above and you should get a feel for what all those fields
1057;mean. Here's a diagram of how a file line breaks down:
1058
1059;STUFF.H 371 29 Nov 89
1060; ^ ^ ^
1061; | | |
1062; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
1063; | |
1064; | +--Old file length, field 1
1065; |
1066; +--Filename, field 0 (count from 0, not 1)
1067
1068;If you're adding an entirely new archive format, note that you can
1069;use 'C'-style \x<hexnumber> on the signature line in this file.
1070;For example, the \x1a in ARC 5.12mpl's signature line means FM/2 will
1071;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
1072;indicated by ARC's line 3, the offset into a file for the signature)
1073;of a file to determine if it's an archive. If line 3's offset is
1074;negative, FM/2 looks from the end of the file instead of the beginning.
1075;You can usually figure out what an archiver's signature is by looking
1076;at a few archives with a file viewing program like Vernon Buerg's
1077;LIST. By all means send me anything new you figure out for inclusion
1078;in future releases.
1079
1080;You can have several entries for one type of archive in this file. FM/2
1081;tries entries sequentially to list the file until it finds one that works.
1082;If the first entry for a signature doesn't work, and FM/2 finds one that
1083;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
1084;to make future accesses faster. This allows me to list everything I can
1085;get entries for and let FM/2 sort out what the user actually has that works.
1086;It also lets you, the user, create archives with more than one archiver that
1087;produces the same sort of archive (or with different switches, like one with
1088;LHArc producing -lh5- compression and one with it producing old, compatible
1089;-lh1- compression).
1090
1091;Always end file with blank line or comment
Note: See TracBrowser for help on using the repository browser.