source: trunk/archiver.tmp@ 1638

Last change on this file since 1638 was 1638, checked in by Gregg Young, 14 years ago

Corrected editing error I had changed the TAR 1.10 entry instead of the .tar.gz using tar 1.15 entry

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 22.5 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 1638 2011-10-09 21:29:55Z 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 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;
150; Entry #3 - PKZIP 2.50 named PKZip (true OS/2 executable).
151;
152PKZip 2.50
153ZIP
1540
155PKZIP.EXE /locale=canada /nofix
156PKZIP.EXE /overwrite /extract /nofix
157PKZIP.EXE /overwrite /extract /directories /nofix
158PKZIP.EXE /test
159PKZIP.EXE /add /nofix
160PKZIP.EXE /add /path /nofix
161PKZIP.EXE /add /path /recurse /nofix
162PKZIP.EXE /add /move /nofix
163PKZIP.EXE /add /move /path /nofix
164PKZIP.EXE /delete /nofix
165PK\x03\x04\x14
166------ ------ ----- ----- ---- ---- -------- ---- ----
167------ ------ ----- ----
1680
1692
1704,0
1712
1728,1,0,0
173;
174; Entry #4 - InfoZip unzipsfx self-extractors.
175;
176unzipsfx
177
178217
179UNZIP.EXE -vUo
180UNZIP.EXE -jo
181UNZIP.EXE -o
182UNZIP.EXE -to
183
184
185
186
187
188ZIP.EXE -d
189unzipsfx
190------ ------ ---- ----- ---- ---- ------ ----
191------ ------ --- -------
1920
1932
1944,1
1952
1967,1,0,0
197;
198;
199; Entry #5 - PKWare PKZIP self-extractors type 1.
200;
201PK(Un)Zip SE #1
202
2032934
204PKZIP.EXE /locale=canada /nofix
205PKZIP.EXE /overwrite /extract /nofix
206PKZIP.EXE /overwrite /extract /directories /nofix
207PKZIP.EXE /test
208PKZIP.EXE /add /nofix
209PKZIP.EXE /add /path /nofix
210PKZIP.EXE /add /path /recurse /nofix
211PKZIP.EXE /add /move /nofix
212PKZIP.EXE /add /move /path /nofix
213PKZIP.EXE /delete /nofix
214PK\x03\x04
215------ ------ ----- ----- ---- ---- ------ ---- ----
216------ ------ --- -------
2170
2182
2194,0
2202
2218,0,0,0
222;
223; Entry #6 - is for PKWare PKZIP self-extractors type 2.
224;
225PK(Un)Zip SE #2
226
22712784
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;
248; Entry #7 - PKWare PKZIP self-extractors type 3.
249;
250PK(Un)Zip SE #2
251
25230948
253PKZIP.EXE /locale=canada /nofix
254PKZIP.EXE /overwrite /extract /nofix
255PKZIP.EXE /overwrite /extract /directories /nofix
256PKZIP.EXE /test
257PKZIP.EXE /add /nofix
258PKZIP.EXE /add /path /nofix
259PKZIP.EXE /add /path /recurse /nofix
260PKZIP.EXE /add /move /nofix
261PKZIP.EXE /add /move /path /nofix
262PKZIP.EXE /delete /nofix
263PK\x03\x04
264------ ------ ----- ----- ---- ---- ------ ---- ----
265------ ------ --- -------
2660
2672
2684,0
2692
2708,0,0,0
271;
272;
273; Entry #8 - TAR 1.15.1 from Gregg Young
274;
275TAR 1.15.1 (or higher)
276TAR
277257
278Tar.exe -tvf
279Tar.exe --wildcards -xpf
280Tar.exe --wildcards -xpf
281
282
283Tar.exe --no-recursion -rpf
284Tar.exe -rpf
285
286Tar.exe --remove-files -rpf
287Tar.exe --delete -f
288ustar
289None
290None
2912
292-1
2933,0
2942
2955,1,0,0
296;
297; Entry #9 - TAR 1.1.0.
298;
299TAR 1.10
300TAR
301257
302tar110.exe -tvf
303Tar110.exe -xpf
304Tar110.exe -xpf
305
306Tar110.exe -rpyf
307Tar110.exe -rpf
308Tar110.exe --help
309
310
311Tar110.exe --delete -f
312ustar
313None
314None
3152
316-1
3173,2
3184
3199,1,0,0
320;
321;
322; Entry #10 (tar.gz)
323;
324TAR.GZ (Req. TAR 1.15+ & GZIP)
325tar.gz
3260
327tar.exe -tzvf
328tar.exe -xzpvf
329tar.exe -xzpvf
330
331tar.exe -rzpf
332tar.exe -rpf
333
334
335
336tar.exe -z --delete -f
337\x1f\x8b
338None
339None
3402
341-1
3423,6
3434
3447,1,0,0
345;
346; Entry #11 (tar.bz2)
347;
348TAR.BZ2 (Req. TAR 1.15+ & BZIP2)
349tar.bz2
3500
351tar.exe -tjvf
352tar.exe -xjpvf
353tar.exe -xjpvf
354
355tar.exe -crjpf
356tar.exe -rjpf
357
358
359
360tar.exe -j --delete -f
361BZh
362None
363None
3642
365-1
3663,0
3672
3685,1,0,0
369;
370; Entry #12 - GZIP (GZ).
371;
372GZIP (GZ) (req. GZIP & TAR 1.15+)
373GZ
3740
375gzip.exe -lv
376gzipe.cmd
377
378gzip.exe -t
379gzip.exe
380gzip.exe
381gzip.exe -r
382gzip.exe
383gzip.exe
384
385\x1f\x8b
386None
387None
3882
389-1
3903,4
3912
3925,1,0,0
393;
394; Entry #13 - GZIP (Z).
395;
396GZIP (Z)
397Z
3980
399gzip.exe -lv
400gzipe.cmd
401
402gzip.exe -t
403gzip.exe -9 -s .z
404gzip.exe -9 -s .z
405gzip.exe -r
406
407
408
409\x1f\x8b
410method crc date time compressed uncompr. ratio uncompressed_name
411None
4126
4135
4142,0
4153
4168,0,0,0
417;
418; Entry #14 - Unarj 2.30 demo version.
419; Don't use Unarj 2.41; it's broken.
420;
421(Un)Arj 2.30 demo
422
4230
424UNARJ.EXE l
425UNARJ.EXE e
426UNARJ.EXE x
427UNARJ.EXE t
428
429
430
431
432
433
434`\xea
435------------ ---------- ---------- ----- ----------------- -------- -----------
436------------ ---------- ---------- ----- -----------------
4371
4382
4394,0
4401
4410,0,0,0
442;
443; Entry #15 - Arj 2.00 (DOS).
444; Note that other programs that use this control file may not be able to
445; handle calling a DOS archiver correctly! FM/2 is the only one that I
446; know of which can at this time. This means you may need to keep FM/2's
447; ARCHIVER.BB2 separate from those for other programs.
448;
449Arj 2.00 DOS
450ARJ
4510
452ARJ.EXE l
453ARJ.EXE e -y
454ARJ.EXE x -y
455ARJ.EXE t
456ARJ.EXE a -y -e
457ARJ.EXE a -y
458ARJ.EXE a -y -r
459ARJ.EXE m -y -e
460ARJ.EXE m -y
461ARJ.EXE d -y
462`\xea
463------------ ---------- ---------- ----- ----------------- -------- ---- ------
464------------ ---------- ---------- -----
4651
4662
4674,0
4681
4690,0,0,0
470;
471; Entry #16 (RAR v.3.5)
472;
473RAR v.3.5
474RAR
4750
476RAR32.EXE v -c-
477RAR32.EXE e -y -c- -o+
478RAR32.EXE x -y -c- -o+
479RAR32.EXE t -c-
480RAR32.EXE a -ep1 -y
481RAR32.EXE a -y
482RAR32.EXE a -r -y
483RAR32.EXE mf -ep1 -y
484RAR32.EXE m -y
485RAR32.EXE d -y
486Rar!\x1a\x07
487-------------------------------------------------------------------------------
488-------------------------------------------------------------------------------
4890
4901
4913,5
4922
4930,0,0,1
494;
495; Entry #17 - RAR/2 v2, provided by Eugene Roshal.
496;
497RAR/2 v2
498RAR
4990
500RAR.EXE v -c-
501RAR.EXE e -y -c- -o+
502RAR.EXE x -y -c- -o+
503RAR.EXE t -c-
504RAR.EXE a -ep1 -y
505RAR.EXE a -y
506RAR.EXE a -r -y
507RAR.EXE mf -ep1 -y
508RAR.EXE m -y
509RAR.EXE d -y
510Rar!\x1a\x07
511------------------------------------------------------------------------------
512------------------------------------------------------------------------------
5130
5141
5153,0
5161
5170,0,0,1
518;
519; Entry #18 - RAR/2 v.1.53beta OS/2 SFX.
520;
521RAR/2 v.1.53beta OS/2 SFX
522
52313707
524RAR.EXE l -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------------------------------------------------------------------------------
5371
5382
5394,0
5401
5410,0,0,1
542;
543; Entry #19 - RAR v.1.53 DOS SFX.
544;
545RAR v.1.53 DOS SFX
546
5477195
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.2.00 SFX.
568;
569RAR v.2.00 SFX
570
57128
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
582RSFXjr
583------------------------------------------------------------------------------
584------------------------------------------------------------------------------
5851
5862
5874,0
5881
5890,0,0,1
590;
591;
592; Entry #21 - LHarc 2.22.
593; Supposedly fixes bugs in earlier versions.
594; Actually seems to have done so. Good work, Peter.
595;
596LHarc 2.22
597LZH
5982
599LH.EXE /o l
600LH.EXE /o x
601LH.EXE /o /s x
602LH.EXE t
603LH.EXE /o a
604
605LH.EXE /o /s a
606LH.EXE /o m
607
608LH.EXE /o d
609-lh
610-------- -------- -----------------------------------------
611-------- -----------------------------------------
6120
613-1
6141,4
6151
6162,1,0,0
617;
618; Entry #22 - LHarc 2.22 using LH32 executable.
619;
620LHarc-32 2.22
621LZH
6222
623LH32.EXE /o l
624LH32.EXE /o x
625LH32.EXE /o /s x
626LH32.EXE t
627LH32.EXE /o a
628
629LH32.EXE /o /s a
630LH32.EXE /o m
631
632LH32.EXE /o d
633-lh
634-------- -------- -----------------------------------------
635-------- -----------------------------------------
6360
637-1
6381,4
6391
6402,1,0,0
641;
642; Entry #23 - LHarc 2.22 self-extractors..
643;
644LHarc 2.22 SE
645LZH
64622963
647LH.EXE /o l
648LH.EXE /o x
649LH.EXE /o /s x
650LH.EXE t
651LH.EXE /o a
652
653LH.EXE /o /s a
654LH.EXE /o m
655
656LH.EXE /o d
657-lh
658-------- -------- -----------------------------------------
659-------- -----------------------------------------
6600
661-1
6621,4
6631
6642,1,0,0
665;
666; Entry #24 - LHA 2.12 (DOS) self-extractors.
667; LH 2.22 seems to recognize them
668;
669LHarc 2.12 DOS SE
670LZH
6711638
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 - LHA 2.12 (DOS) self-extractors.
692; LH 2.22 seems to recognize them
693;
694LHarc 2.12 DOS SE
695LZH
69637
697LH.EXE /o l
698LH.EXE /o x
699LH.EXE /o /s x
700LH.EXE t
701LH.EXE /o a
702
703LH.EXE /o /s a
704LH.EXE /o m
705
706LH.EXE /o d
707$LHarc's SFX
708-------- -------- -----------------------------------------
709-------- -----------------------------------------
7100
711-1
7121,4
7131
7142,1,0,0
715;
716; Entry #26 - LHA 2.13L (DOS) self-extractors.
717; LH 2.22 seems to recognize them
718;
719LHarc 2.13 DOS SE
720LZH
72136
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
732LHA's SFX 2.13L (c) Yoshi, 1991\r\n
733-------- -------- -----------------------------------------
734-------- -----------------------------------------
7350
736-1
7371,4
7381
7392,1,0,0
740;
741; Entry #27 - LH2 2.11.
742; NOTE: sometimes will put a file into an archive more than once, necessitating
743; deleting both. EAs not handled well, but at least they're handled.
744;
745LHarc 2.11
746LZH
7472
748LH.EXE /o l
749LH.EXE /o x
750LH.EXE /o /s x
751LH.EXE t
752LH.EXE /o a
753
754LH.EXE /o /s a
755LH.EXE /o m
756
757LH.EXE /o d
758-lh
759-------- -------- -----------------------------------------
760-------- -----------------------------------------
7610
762-1
7631,0
7641
7652,1,0,0
766;
767; Entry #28 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
768;ZIP/UNZIP should work with PKZIP 2.04 files. Saves EAs well. Won't
769;extract a file stored with path without the path (actually, this seems
770;to be fixed now. Maybe. There are dozens of versions floating around;
771;you don't pays your money and you takes your chances). If you have a
772;version that won't extract files with paths without the paths, there's
773;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
774;Because of broken ZIP archives floating around everywhere, this is here
775;without the version flag in the signature (should really be PK\x03\x04\x14).
776;Damnit, it looks like Katz's own software is what does the botching. So
777;much for the keeper of the ZIP standard... Zip still seems to have to
778;have erratic problems with creating archives with some pathnames...
779;
780Zip/UnZip 1.9/5.0
781ZIP
7820
783UNZIP.EXE -vUo
784UNZIP.EXE -jo
785UNZIP.EXE -o
786UNZIP.EXE -to
787ZIP.EXE -j9g
788ZIP.EXE -9g
789ZIP.EXE -r9g
790ZIP.EXE -mj9g
791ZIP.EXE -m9g
792ZIP.EXE -d
793PK\x03\x04
794------ ------ ---- ----- ---- ---- ------ ----
795------ ------ --- -------
7960
7972
7984,1
7992
8007,1,0,0
801;
802; Entry #29 - ZIP 1.9/UNZIP 5.0 using *32 executables.
803;
804Zip/UnZip-32 1.9/5.0
805ZIP
8060
807UNZIP32.EXE -vUo
808UNZIP32.EXE -jo
809UNZIP32.EXE -o
810UNZIP32.EXE -to
811ZIP32.EXE -j9g
812ZIP32.EXE -9g
813ZIP32.EXE -r9g
814ZIP32.EXE -mj9g
815ZIP32.EXE -m9g
816ZIP32.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 the -l listing format.
827; (the -v long format can sometimes result in the old length field
828; being crammed together with the Method field, resulting in an
829; unparsable format). Some info, like old length, will be missing,
830; but at least you can view the contents.
831;
832Zip/UnZip 1.9/5.0 Short
833ZIP
8340
835UNZIP.EXE -lUo
836UNZIP.EXE -jo
837UNZIP.EXE -o
838UNZIP.EXE -to
839ZIP.EXE -j9g
840ZIP.EXE -9g
841ZIP.EXE -r9g
842ZIP.EXE -mj9g
843ZIP.EXE -m9g
844ZIP.EXE -d
845PK\x03\x04
846------ ---- ---- ----
847------ -------
848-1
8490
8501,1
8512
8523,1,0,0
853;
854; Entry #31 - Zoo 2.1.
855; NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
856; be extracted with paths even when you don't ask it to do so...
857;
858Zoo 2.1
859ZOO
86020
861ZOO.EXE v
862ZOO.EXE xO
863ZOO.EXE xO/
864ZOO.EXE -test
865ZOO.Exe ah:
866ZOO.EXE ah
867
868ZOO.EXE aM:h
869ZOO.EXE aMh
870ZOO.EXE -delete
871\xdc\xa7\xc4\xfd
872-------- --- -------- --------- --------
873-------- --- -------- --------- --------
8740
8752
8763,2
8773
878-1,0,0,0
879;
880;----------------- Older, less used archivers --------------
881;
882; Entry #32 - ARC 5.12mpl.
883;
884Arc 5.12mpl
885ARC
8860
887ARC.EXE lwn
888ARC.EXE ewn
889
890ARC.EXE t
891ARC.EXE awn
892
893
894ARC.EXE mwn
895
896ARC.EXE dwn
897\x1a
898============ ======== =========
899==== ========
9001
901-1
9022,3
9033
9040,0,0,0
905;
906; Entry #33 - ARC2 (6.0).
907; Note that I don't actually have a copy of this...
908;
909Arc 6.0
910ARC
9110
912ARC.EXE l
913ARC.EXE ewn
914
915ARC.EXE t
916ARC.EXE awn
917
918
919ARC.EXE mwn
920
921ARC.EXE dwn
922\x1a
923================= ======== =========
924==== ========
9251
926-1
9272,0
9283
9290,0,0,0
930;
931; Entry #34 - ARC2 (6.0) using ARC2 executable.
932;
933Arc 6.0
934ARC
9350
936ARC2.EXE l
937ARC2.EXE ewn
938
939ARC2.EXE t
940ARC2.EXE awn
941
942
943ARC2.EXE mwn
944
945ARC2.EXE dwn
946\x1a
947================= ======== =========
948==== ========
9491
950-1
9512,0
9523
9530,0,0,0
954;
955; Entry #35 (CABExtract 1.0)
956;
957CABExtract 1.0
958CAB
9590
960Cabextract.exe -l
961Cabextract.exe
962
963
964
965
966
967
968
969
970MSCF
971-----------+---------------------+-------------
972
9730
974-1
975-1,0
9762
9775,1,0,0
978;
979; Entry #36 (Untgz Ver 0.95)
980; Supplied by Gregg Young
981;
982Untgz Ver 0.95
983TAR.GZ
9840
985untgzos2.exe -l
986untgzos2.exe
987
988untgzos2.exe -t
989
990
991
992
993
994
995\x1f\x8b
996------- ----- ---- ----- ---------------------------------------------------
997------- ----- ---- ----- ---------------------------------------------------
9980
999-1
10001,0
10013
10025,1,0,0
1003;
1004;----------------- End of archiver data -----------------------
1005
1006; For possible future use:
1007
1008; Squeeze-it signature: (Offset 0) \x48\x4c\x53\x51\x5ah
1009; HA signature: (Offset 0) HA
1010; HAP signature: (Offset 0) \x913HF
1011; HPK signature: (Offset 0) HPAK
1012; SQZ signature: (Offset 0) HLSQZ
1013; DWZ signature: (Offset -3) DWC
1014
1015; No OS/2 versions available yet to my knowledge...
1016
1017;Notes on modifying/updating this file:
1018;=====================================
1019
1020;You can add as many archivers as you like to this file.
1021;here are some suggestions on how to go about it:
1022
1023;List an archive with the archiver, redirecting to a disk
1024;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
1025;file into a text editor. Clip out the startlist and endlist
1026;strings and paste directly into this file on the appropriate
1027;lines; prevents errors due to typos when copying manually.
1028;Count the positions of filename, date, etc. and place on the
1029;appropriate line. Now run the archiver redirected to a file
1030;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
1031;Look for the various command options (extract, list, etc.) and
1032;put them into the file on the appropriate lines -- remember to
1033;add the modifiers to prevent the archiver from stopping to ask
1034;questions! You could be in deep doo-doo if it's a detached
1035;process. While it may seem a pain in the arse to have to
1036;edit this file when an archiver changes its command structure
1037;or list format, at least it's something within your control;
1038;you don't have to wait for an update to FM/2. That means if I
1039;die tomorrow you'll still be able to use FM/2 for years to come.
1040
1041;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
1042
1043;----------------cut here----------------------
1044;Name Length Date
1045;============ ======== ========= <--this line is start-of-list
1046;MAKEFILE 374 28 Nov 89
1047;QSORT.C 14279 29 Nov 89
1048;QSORT.EXE 24629 29 Nov 89
1049;STUFF.H 371 29 Nov 89
1050; ==== ======== <--this line is end-of-list
1051;Total 4 39653
1052;----------------cut here----------------------
1053
1054;Note the filename is in position 0, old length in position 1, and the
1055;date starts in position 2, with 3 parts, and there's no new length
1056;field (so it'd be -1). Compare that to the archiver entry for
1057;ARC 5.12mpl above and you should get a feel for what all those fields
1058;mean. Here's a diagram of how a file line breaks down:
1059
1060;STUFF.H 371 29 Nov 89
1061; ^ ^ ^
1062; | | |
1063; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
1064; | |
1065; | +--Old file length, field 1
1066; |
1067; +--Filename, field 0 (count from 0, not 1)
1068
1069;If you're adding an entirely new archive format, note that you can
1070;use 'C'-style \x<hexnumber> on the signature line in this file.
1071;For example, the \x1a in ARC 5.12mpl's signature line means FM/2 will
1072;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
1073;indicated by ARC's line 3, the offset into a file for the signature)
1074;of a file to determine if it's an archive. If line 3's offset is
1075;negative, FM/2 looks from the end of the file instead of the beginning.
1076;You can usually figure out what an archiver's signature is by looking
1077;at a few archives with a file viewing program like Vernon Buerg's
1078;LIST. By all means send me anything new you figure out for inclusion
1079;in future releases.
1080
1081;You can have several entries for one type of archive in this file. FM/2
1082;tries entries sequentially to list the file until it finds one that works.
1083;If the first entry for a signature doesn't work, and FM/2 finds one that
1084;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
1085;to make future accesses faster. This allows me to list everything I can
1086;get entries for and let FM/2 sort out what the user actually has that works.
1087;It also lets you, the user, create archives with more than one archiver that
1088;produces the same sort of archive (or with different switches, like one with
1089;LHArc producing -lh5- compression and one with it producing old, compatible
1090;-lh1- compression).
1091
1092;Always end file with blank line or comment
Note: See TracBrowser for help on using the repository browser.