source: trunk/archiver.tmp@ 1378

Last change on this file since 1378 was 1378, checked in by John Small, 17 years ago

Added/updated definitions for TAR 1.10, TAR 1.15, TAR.GZ, TAR.BZ2, GZ and Z archives.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 22.0 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 1378 2009-01-04 23:33:30Z 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 - PKZIP 2.50 named PKZip (true OS/2 executable).
125;
126PKZip 2.50
127ZIP
1280
129PKZIP.EXE /locale=canada /nofix
130PKZIP.EXE /overwrite /extract /nofix
131PKZIP.EXE /overwrite /extract /directories /nofix
132PKZIP.EXE /test
133PKZIP.EXE /add /nofix
134PKZIP.EXE /add /path /nofix
135PKZIP.EXE /add /path /recurse /nofix
136PKZIP.EXE /add /move /nofix
137PKZIP.EXE /add /move /path /nofix
138PKZIP.EXE /delete /nofix
139PK\x03\x04\x14
140------ ------ ----- ----- ---- ---- -------- ---- ----
141------ ------ ----- ----
1420
1432
1444,0
1452
1468,1,0,0
147;
148; Entry #3 - InfoZip unzipsfx self-extractors.
149;
150unzipsfx
151
152217
153UNZIP.EXE -vUo
154UNZIP.EXE -jo
155UNZIP.EXE -o
156UNZIP.EXE -to
157
158
159
160
161
162ZIP.EXE -d
163unzipsfx
164------ ------ ---- ----- ---- ---- ------ ----
165------ ------ --- -------
1660
1672
1684,1
1692
1707,1,0,0
171;
172;
173; Entry #4 - PKWare PKZIP self-extractors type 1.
174;
175PK(Un)Zip SE #1
176
1772934
178PKZIP.EXE /locale=canada /nofix
179PKZIP.EXE /overwrite /extract /nofix
180PKZIP.EXE /overwrite /extract /directories /nofix
181PKZIP.EXE /test
182PKZIP.EXE /add /nofix
183PKZIP.EXE /add /path /nofix
184PKZIP.EXE /add /path /recurse /nofix
185PKZIP.EXE /add /move /nofix
186PKZIP.EXE /add /move /path /nofix
187PKZIP.EXE /delete /nofix
188PK\x03\x04
189------ ------ ----- ----- ---- ---- ------ ---- ----
190------ ------ --- -------
1910
1922
1934,0
1942
1958,0,0,0
196;
197; Entry #5 - is for PKWare PKZIP self-extractors type 2.
198;
199PK(Un)Zip SE #2
200
20112784
202PKZIP.EXE /locale=canada /nofix
203PKZIP.EXE /overwrite /extract /nofix
204PKZIP.EXE /overwrite /extract /directories /nofix
205PKZIP.EXE /test
206PKZIP.EXE /add /nofix
207PKZIP.EXE /add /path /nofix
208PKZIP.EXE /add /path /recurse /nofix
209PKZIP.EXE /add /move /nofix
210PKZIP.EXE /add /move /path /nofix
211PKZIP.EXE /delete /nofix
212PK\x03\x04
213------ ------ ----- ----- ---- ---- ------ ---- ----
214------ ------ --- -------
2150
2162
2174,0
2182
2198,0,0,0
220;
221;
222; Entry #6 - PKWare PKZIP self-extractors type 3.
223;
224PK(Un)Zip SE #2
225
22630948
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 - TAR 1.15.1 from Gregg Young
248;
249TAR 1.15.1 (or higher)
250TAR
251257
252Tar.exe -tvf
253Tar.exe --wildcards -xpf
254Tar.exe --wildcards -xpf
255
256
257Tar.exe --no-recursion -rpf
258Tar.exe -rpf
259
260Tar.exe --remove-files -rpf
261Tar.exe --delete -f
262ustar
263None
264None
2652
266-1
2673,0
2682
2695,1,0,0
270;
271; Entry #8 - TAR 1.1.0.
272;
273TAR 1.10
274TAR
275257
276tar110.exe -tvf
277Tar110.exe -xpf
278Tar110.exe -xpf
279
280Tar110.exe -rpyf
281Tar110.exe -rpf
282Tar110.exe --help
283
284
285Tar110.exe --delete -f
286ustar
287<None>
288<None>
2892
290-1
2913,0
2924
2937,1,0,0
294;
295; Entry #9 - GZIP (GZ).
296;
297GZIP (GZ) (req. GZIP & TAR 1.15+)
298GZ
2990
300gzip.exe -lv
301gzipe.cmd
302
303gzip.exe -t
304gzip.exe
305gzip.exe
306gzip.exe -r
307gzip.exe
308gzip.exe
309
310\x1f\x8b
311None
312None
3132
314-1
3153,4
3162
3175,1,0,0
318;
319; Entry #10 - GZIP (Z).
320;
321GZIP (Z)
322Z
3230
324gzip.exe -lv
325gzipe.cmd
326
327gzip.exe -t
328gzip.exe -9 -s .z
329gzip.exe -9 -s .z
330gzip.exe -r
331
332
333
334\x1f\x8b
335method crc date time compressed uncompr. ratio uncompressed_name
336None
3376
3385
3392,0
3403
3418,0,0,0
342;
343;
344; Entry #11 (tar.gz)
345;
346TAR.GZ (Req. TAR 1.15+ & GZIP)
347tar.gz
3480
349tar.exe -tzvf
350tar.exe -xzpvf
351tar.exe -xzpvf
352
353tar.exe -rzpf
354tar.exe -rpf
355
356
357
358tar.exe -z --delete -f
359\x1f\x8b
360None
361None
3622
363-1
3643,0
3652
3665,1,0,0
367;
368; Entry #13 (tar.bz2)
369;
370TAR.BZ2 (Req. TAR 1.15+ & BZIP2)
371tar.bz2
3720
373tar.exe -tjvf
374tar.exe -xjpvf
375tar.exe -xjpvf
376
377tar.exe -crjpf
378tar.exe -rjpf
379
380
381
382tar.exe -j --delete -f
383BZh
384None
385None
3862
387-1
3883,0
3892
3905,1,0,0
391;
392; Entry #14 - Unarj 2.30 demo version.
393; Don't use Unarj 2.41; it's broken.
394;
395(Un)Arj 2.30 demo
396
3970
398UNARJ.EXE l
399UNARJ.EXE e
400UNARJ.EXE x
401UNARJ.EXE t
402
403
404
405
406
407
408`\xea
409------------ ---------- ---------- ----- ----------------- -------- -----------
410------------ ---------- ---------- ----- -----------------
4111
4122
4134,0
4141
4150,0,0,0
416;
417; Entry #15 - Arj 2.00 (DOS).
418; Note that other programs that use this control file may not be able to
419; handle calling a DOS archiver correctly! FM/2 is the only one that I
420; know of which can at this time. This means you may need to keep FM/2's
421; ARCHIVER.BB2 separate from those for other programs.
422;
423Arj 2.00 DOS
424ARJ
4250
426ARJ.EXE l
427ARJ.EXE e -y
428ARJ.EXE x -y
429ARJ.EXE t
430ARJ.EXE a -y -e
431ARJ.EXE a -y
432ARJ.EXE a -y -r
433ARJ.EXE m -y -e
434ARJ.EXE m -y
435ARJ.EXE d -y
436`\xea
437------------ ---------- ---------- ----- ----------------- -------- ---- ------
438------------ ---------- ---------- -----
4391
4402
4414,0
4421
4430,0,0,0
444;
445; Entry #16 (RAR v.3.5)
446;
447RAR v.3.5
448RAR
4490
450RAR32.EXE v -c-
451RAR32.EXE e -y -c- -o+
452RAR32.EXE x -y -c- -o+
453RAR32.EXE t -c-
454RAR32.EXE a -ep1 -y
455RAR32.EXE a -y
456RAR32.EXE a -r -y
457RAR32.EXE mf -ep1 -y
458RAR32.EXE m -y
459RAR32.EXE d -y
460Rar!\x1a\x07
461-------------------------------------------------------------------------------
462-------------------------------------------------------------------------------
4630
4641
4653,5
4662
4670,0,0,1
468;
469; Entry #17 - RAR/2 v2, provided by Eugene Roshal.
470;
471RAR/2 v2
472RAR
4730
474RAR.EXE v -c-
475RAR.EXE e -y -c- -o+
476RAR.EXE x -y -c- -o+
477RAR.EXE t -c-
478RAR.EXE a -ep1 -y
479RAR.EXE a -y
480RAR.EXE a -r -y
481RAR.EXE mf -ep1 -y
482RAR.EXE m -y
483RAR.EXE d -y
484Rar!\x1a\x07
485------------------------------------------------------------------------------
486------------------------------------------------------------------------------
4870
4881
4893,0
4901
4910,0,0,1
492;
493; Entry #18 - RAR/2 v.1.53beta OS/2 SFX.
494;
495RAR/2 v.1.53beta OS/2 SFX
496
49713707
498RAR.EXE l -c-
499RAR.EXE e -y -c- -o+
500RAR.EXE x -y -c- -o+
501RAR.EXE t -c-
502RAR.EXE a -ep1 -y
503RAR.EXE a -y
504RAR.EXE a -r -y
505RAR.EXE mf -ep1 -y
506RAR.EXE m -y
507RAR.EXE d -y
508Rar!\x1a\x07
509------------------------------------------------------------------------------
510------------------------------------------------------------------------------
5111
5122
5134,0
5141
5150,0,0,1
516;
517; Entry #19 - RAR v.1.53 DOS SFX.
518;
519RAR v.1.53 DOS SFX
520
5217195
522RAR.EXE l -c-
523RAR.EXE e -y -c- -o+
524RAR.EXE x -y -c- -o+
525RAR.EXE t -c-
526RAR.EXE a -ep1 -y
527RAR.EXE a -y
528RAR.EXE a -r -y
529RAR.EXE mf -ep1 -y
530RAR.EXE m -y
531RAR.EXE d -y
532Rar!\x1a\x07
533------------------------------------------------------------------------------
534------------------------------------------------------------------------------
5351
5362
5374,0
5381
5390,0,0,1
540;
541; Entry #20 - RAR v.2.00 SFX.
542;
543RAR v.2.00 SFX
544
54528
546RAR.EXE l -c-
547RAR.EXE e -y -c- -o+
548RAR.EXE x -y -c- -o+
549RAR.EXE t -c-
550RAR.EXE a -ep1 -y
551RAR.EXE a -y
552RAR.EXE a -r -y
553RAR.EXE mf -ep1 -y
554RAR.EXE m -y
555RAR.EXE d -y
556RSFXjr
557------------------------------------------------------------------------------
558------------------------------------------------------------------------------
5591
5602
5614,0
5621
5630,0,0,1
564;
565;
566; Entry #21 - LHarc 2.22.
567; Supposedly fixes bugs in earlier versions.
568; Actually seems to have done so. Good work, Peter.
569;
570LHarc 2.22
571LZH
5722
573LH.EXE /o l
574LH.EXE /o x
575LH.EXE /o /s x
576LH.EXE t
577LH.EXE /o a
578
579LH.EXE /o /s a
580LH.EXE /o m
581
582LH.EXE /o d
583-lh
584-------- -------- -----------------------------------------
585-------- -----------------------------------------
5860
587-1
5881,4
5891
5902,1,0,0
591;
592; Entry #22 - LHarc 2.22 using LH32 executable.
593;
594LHarc-32 2.22
595LZH
5962
597LH32.EXE /o l
598LH32.EXE /o x
599LH32.EXE /o /s x
600LH32.EXE t
601LH32.EXE /o a
602
603LH32.EXE /o /s a
604LH32.EXE /o m
605
606LH32.EXE /o d
607-lh
608-------- -------- -----------------------------------------
609-------- -----------------------------------------
6100
611-1
6121,4
6131
6142,1,0,0
615;
616; Entry #23 - LHarc 2.22 self-extractors..
617;
618LHarc 2.22 SE
619LZH
62022963
621LH.EXE /o l
622LH.EXE /o x
623LH.EXE /o /s x
624LH.EXE t
625LH.EXE /o a
626
627LH.EXE /o /s a
628LH.EXE /o m
629
630LH.EXE /o d
631-lh
632-------- -------- -----------------------------------------
633-------- -----------------------------------------
6340
635-1
6361,4
6371
6382,1,0,0
639;
640; Entry #24 - LHA 2.12 (DOS) self-extractors.
641; LH 2.22 seems to recognize them
642;
643LHarc 2.12 DOS SE
644LZH
6451638
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 #25 - LHA 2.12 (DOS) self-extractors.
666; LH 2.22 seems to recognize them
667;
668LHarc 2.12 DOS SE
669LZH
67037
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$LHarc's SFX
682-------- -------- -----------------------------------------
683-------- -----------------------------------------
6840
685-1
6861,4
6871
6882,1,0,0
689;
690; Entry #26 - LHA 2.13L (DOS) self-extractors.
691; LH 2.22 seems to recognize them
692;
693LHarc 2.13 DOS SE
694LZH
69536
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
706LHA's SFX 2.13L (c) Yoshi, 1991\r\n
707-------- -------- -----------------------------------------
708-------- -----------------------------------------
7090
710-1
7111,4
7121
7132,1,0,0
714;
715; Entry #27 - LH2 2.11.
716; NOTE: sometimes will put a file into an archive more than once, necessitating
717; deleting both. EAs not handled well, but at least they're handled.
718;
719LHarc 2.11
720LZH
7212
722LH.EXE /o l
723LH.EXE /o x
724LH.EXE /o /s x
725LH.EXE t
726LH.EXE /o a
727
728LH.EXE /o /s a
729LH.EXE /o m
730
731LH.EXE /o d
732-lh
733-------- -------- -----------------------------------------
734-------- -----------------------------------------
7350
736-1
7371,0
7381
7392,1,0,0
740;
741; Entry #28 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
742;ZIP/UNZIP should work with PKZIP 2.04 files. Saves EAs well. Won't
743;extract a file stored with path without the path (actually, this seems
744;to be fixed now. Maybe. There are dozens of versions floating around;
745;you don't pays your money and you takes your chances). If you have a
746;version that won't extract files with paths without the paths, there's
747;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
748;Because of broken ZIP archives floating around everywhere, this is here
749;without the version flag in the signature (should really be PK\x03\x04\x14).
750;Damnit, it looks like Katz's own software is what does the botching. So
751;much for the keeper of the ZIP standard... Zip still seems to have to
752;have erratic problems with creating archives with some pathnames...
753;
754Zip/UnZip 1.9/5.0
755ZIP
7560
757UNZIP.EXE -vUo
758UNZIP.EXE -jo
759UNZIP.EXE -o
760UNZIP.EXE -to
761ZIP.EXE -j9g
762ZIP.EXE -9g
763ZIP.EXE -r9g
764ZIP.EXE -mj9g
765ZIP.EXE -m9g
766ZIP.EXE -d
767PK\x03\x04
768------ ------ ---- ----- ---- ---- ------ ----
769------ ------ --- -------
7700
7712
7724,1
7732
7747,1,0,0
775;
776; Entry #29 - ZIP 1.9/UNZIP 5.0 using *32 executables.
777;
778Zip/UnZip-32 1.9/5.0
779ZIP
7800
781UNZIP32.EXE -vUo
782UNZIP32.EXE -jo
783UNZIP32.EXE -o
784UNZIP32.EXE -to
785ZIP32.EXE -j9g
786ZIP32.EXE -9g
787ZIP32.EXE -r9g
788ZIP32.EXE -mj9g
789ZIP32.EXE -m9g
790ZIP32.EXE -d
791PK\x03\x04
792------ ------ ---- ----- ---- ---- ------ ----
793------ ------ --- -------
7940
7952
7964,1
7972
7987,1,0,0
799;
800; Entry #30 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
801; (the -v long format can sometimes result in the old length field
802; being crammed together with the Method field, resulting in an
803; unparsable format). Some info, like old length, will be missing,
804; but at least you can view the contents.
805;
806Zip/UnZip 1.9/5.0 Short
807ZIP
8080
809UNZIP.EXE -lUo
810UNZIP.EXE -jo
811UNZIP.EXE -o
812UNZIP.EXE -to
813ZIP.EXE -j9g
814ZIP.EXE -9g
815ZIP.EXE -r9g
816ZIP.EXE -mj9g
817ZIP.EXE -m9g
818ZIP.EXE -d
819PK\x03\x04
820------ ---- ---- ----
821------ -------
822-1
8230
8241,1
8252
8263,1,0,0
827;
828; Entry #31 - Zoo 2.1.
829; NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
830; be extracted with paths even when you don't ask it to do so...
831;
832Zoo 2.1
833ZOO
83420
835ZOO.EXE v
836ZOO.EXE xO
837ZOO.EXE xO/
838ZOO.EXE -test
839ZOO.Exe ah:
840ZOO.EXE ah
841
842ZOO.EXE aM:h
843ZOO.EXE aMh
844ZOO.EXE -delete
845\xdc\xa7\xc4\xfd
846-------- --- -------- --------- --------
847-------- --- -------- --------- --------
8480
8492
8503,2
8513
852-1,0,0,0
853;
854;----------------- Older, less used archivers --------------
855;
856; Entry #32 - ARC 5.12mpl.
857;
858Arc 5.12mpl
859ARC
8600
861ARC.EXE lwn
862ARC.EXE ewn
863
864ARC.EXE t
865ARC.EXE awn
866
867
868ARC.EXE mwn
869
870ARC.EXE dwn
871\x1a
872============ ======== =========
873==== ========
8741
875-1
8762,3
8773
8780,0,0,0
879;
880; Entry #33 - ARC2 (6.0).
881; Note that I don't actually have a copy of this...
882;
883Arc 6.0
884ARC
8850
886ARC.EXE l
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,0
9023
9030,0,0,0
904;
905; Entry #34 - ARC2 (6.0) using ARC2 executable.
906;
907Arc 6.0
908ARC
9090
910ARC2.EXE l
911ARC2.EXE ewn
912
913ARC2.EXE t
914ARC2.EXE awn
915
916
917ARC2.EXE mwn
918
919ARC2.EXE dwn
920\x1a
921================= ======== =========
922==== ========
9231
924-1
9252,0
9263
9270,0,0,0
928;
929; Entry #35 (CABExtract 1.0)
930;
931CABExtract 1.0
932CAB
9330
934Cabextract.exe -l
935Cabextract.exe
936
937
938
939
940
941
942
943
944MSCF
945-----------+---------------------+-------------
946
9470
948-1
949-1,0
9502
9515,1,0,0
952;
953; Entry #36 (Untgz Ver 0.95)
954; Supplied by Gregg Young
955;
956Untgz Ver 0.95
957TAR.GZ
9580
959untgzos2.exe -l
960untgzos2.exe
961
962untgzos2.exe -t
963
964
965
966
967
968
969\x1f\x8b
970------- ----- ---- ----- ---------------------------------------------------
971------- ----- ---- ----- ---------------------------------------------------
9720
973-1
9741,0
9753
9765,1,0,0
977;
978;----------------- End of archiver data -----------------------
979
980; For possible future use:
981
982; Squeeze-it signature: (Offset 0) \x48\x4c\x53\x51\x5ah
983; HA signature: (Offset 0) HA
984; HAP signature: (Offset 0) \x913HF
985; HPK signature: (Offset 0) HPAK
986; SQZ signature: (Offset 0) HLSQZ
987; DWZ signature: (Offset -3) DWC
988
989; No OS/2 versions available yet to my knowledge...
990
991;Notes on modifying/updating this file:
992;=====================================
993
994;You can add as many archivers as you like to this file.
995;here are some suggestions on how to go about it:
996
997;List an archive with the archiver, redirecting to a disk
998;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
999;file into a text editor. Clip out the startlist and endlist
1000;strings and paste directly into this file on the appropriate
1001;lines; prevents errors due to typos when copying manually.
1002;Count the positions of filename, date, etc. and place on the
1003;appropriate line. Now run the archiver redirected to a file
1004;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
1005;Look for the various command options (extract, list, etc.) and
1006;put them into the file on the appropriate lines -- remember to
1007;add the modifiers to prevent the archiver from stopping to ask
1008;questions! You could be in deep doo-doo if it's a detached
1009;process. While it may seem a pain in the arse to have to
1010;edit this file when an archiver changes its command structure
1011;or list format, at least it's something within your control;
1012;you don't have to wait for an update to FM/2. That means if I
1013;die tomorrow you'll still be able to use FM/2 for years to come.
1014
1015;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
1016
1017;----------------cut here----------------------
1018;Name Length Date
1019;============ ======== ========= <--this line is start-of-list
1020;MAKEFILE 374 28 Nov 89
1021;QSORT.C 14279 29 Nov 89
1022;QSORT.EXE 24629 29 Nov 89
1023;STUFF.H 371 29 Nov 89
1024; ==== ======== <--this line is end-of-list
1025;Total 4 39653
1026;----------------cut here----------------------
1027
1028;Note the filename is in position 0, old length in position 1, and the
1029;date starts in position 2, with 3 parts, and there's no new length
1030;field (so it'd be -1). Compare that to the archiver entry for
1031;ARC 5.12mpl above and you should get a feel for what all those fields
1032;mean. Here's a diagram of how a file line breaks down:
1033
1034;STUFF.H 371 29 Nov 89
1035; ^ ^ ^
1036; | | |
1037; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
1038; | |
1039; | +--Old file length, field 1
1040; |
1041; +--Filename, field 0 (count from 0, not 1)
1042
1043;If you're adding an entirely new archive format, note that you can
1044;use 'C'-style \x<hexnumber> on the signature line in this file.
1045;For example, the \x1a in ARC 5.12mpl's signature line means FM/2 will
1046;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
1047;indicated by ARC's line 3, the offset into a file for the signature)
1048;of a file to determine if it's an archive. If line 3's offset is
1049;negative, FM/2 looks from the end of the file instead of the beginning.
1050;You can usually figure out what an archiver's signature is by looking
1051;at a few archives with a file viewing program like Vernon Buerg's
1052;LIST. By all means send me anything new you figure out for inclusion
1053;in future releases.
1054
1055;You can have several entries for one type of archive in this file. FM/2
1056;tries entries sequentially to list the file until it finds one that works.
1057;If the first entry for a signature doesn't work, and FM/2 finds one that
1058;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
1059;to make future accesses faster. This allows me to list everything I can
1060;get entries for and let FM/2 sort out what the user actually has that works.
1061;It also lets you, the user, create archives with more than one archiver that
1062;produces the same sort of archive (or with different switches, like one with
1063;LHArc producing -lh5- compression and one with it producing old, compatible
1064;-lh1- compression).
1065
1066;Always end file with blank line or comment
Note: See TracBrowser for help on using the repository browser.