source: trunk/archiver.tmp@ 392

Last change on this file since 392 was 392, checked in by root, 19 years ago

Added

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 21.6 KB
Line 
121
2;The first line is the number of lines/definition in this archiver.bb2 file...
3;It is very important; do not change. It allows modifications to the
4;file format to be transparent to older programs.
5
6;ARCHIVER.BB2, archiver control file for FM/2, AV, XBBS-OS/2 & XGROUP
7;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
8
9; $Id: archiver.tmp 392 2006-07-27 18:16:09Z root $
10
11;Format for this archiver.bb2 file (each entry has 21 lines):
12;
13; 1st line: archiver id (i.e. ARC, LHARC, PKZIP, etc.) for human consumption
14; 2nd line: normal extension for archives without period (i.e ZIP, ARC, LZH)
15; 3rd line: offset into file to signature (leave blank if no signature)
16; 4th line: list command
17; 5th line: extract command
18; 6th line: extract with directories command
19; 7th line: test archive command
20; 8th line: add/create command
21; 9th line: add/create with paths command
22;10th line: add/create & recurse command
23;11th line: move command
24;12th line: move with paths command
25;13th line: delete command
26;14th line: signature (case sensitive, leading spaces count!)
27;15th line: startlist string
28;16th line: endlist string
29;17th line: old size position (0-based, -1 = not available)
30;18th line: new size position (0-based, -1 = not available)
31;19th line: file date position (0-based, -1 = not available) [,type of date (0 for none)]
32;20th line: number of elements in dates (for "03 June 92" would be 3)
33;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)]]]
34; see ZOO entry for example of -1 in file name position
35; see LH entry for example of name is last
36; see RAR 2.00 entry for example of name is first
37; check listings generated by these programs for clarification
38
39;ARCHIVER AUTHORS: MAKE A STANDARD!
40
41;A semicolon marks a comment. They may appear at any point *except*
42;within the 21 lines of an archiver definition entry. Comments are ignored.
43;Archiver definition entries that contain numeric values may have trailing comments.
44;Archiver definition lines that contain strings do not support trailing comments.
45
46;Blank lines are ignored except within a 21 line archiver definition entry.
47;A blank line with a definition entry will be treats as either an empty string
48;or the number 0, depending on what content is expected for the definition line.
49
50;Note that all archiver command strings should include the archiver's parameter to
51;prevent it from prompting for input! Also note that archive types are checked
52;in order of their listing in this file. Finally, this file is set up for
53;the archivers I had lying around. If yours are different versions, you may
54;have to modify this file. All archivers are OS/2 (or FAPI) versions.
55;DOS archivers may work with FM/2, but it'll be up to you to set them up.
56
57;Supported date types:
58;--------------------
59; No date in data 0
60;02-31-98 23:55:32 mm-dd-yy hh:mm:ss 1
61;31 Feb 98 23:55:32 dd-Mmm- yy hh:mm:ss 2
62;31 Feb 98 11:55p dd Mmm yy hh:mmA 3
63;98-02-31 23:55:32 yy-mm-dd mm:mm:ss 4
64;31-02-98 23:55 dd-mm-yy hh:mm 5
65
66; Dash (-) and slash (/) separators are both supported.
67; Both 2 digit and 4 digit years are supported.
68; 2 digit years slide about 1980.
69
70;The positions specified in an archiver defintion are word numbers, where a
71;word is something separated by whitespace. Counting starts at zero (0).
72;Minus one (-1) usually indicates the item does not exist. The exception is
73;the file name position (line 21), where -1 indicates that the filename is
74;the last entry on the listing line. This allow files names with spaces to
75;be supported.
76
77;How archiver selection works (for the curious):
78
79;The archive selector scans the known archivers in the order in which they
80;are defined. The selector first tries a signature match, unless this is
81;suppressed in the settings. If there is no signature defined or if
82;the signature match is suppressed, the selector checks to see if the file
83;extension matches. The matching entry defines the commands used for the
84;various archiving operations and supplies parameters that enable the archiver
85;outputs to be parsed.
86
87;Warning: I'm told there's a bug in some versions of 4OS2 that can cause
88;a call to an archiver to fail if the archiver has an extension (i.e.
89;UNZIP works, UNZIP.EXE doesn't). If things fail for no apparent reason
90;and you're using 4OS2 you might keep it in mind.
91;
92;The FM/2 code for accessing and using this information is in avl.c, avl.c and
93;arccnrs.c and is freely available for use in in your own projects under
94;the terms of then GNU GPL2 license.
95
96;------------------- Current Archivers -------------------------
97;
98; Entry #1 - InfoZip Zip/UnZip 2.2/5.4, sent to me by V. Lee Conyers.
99;
100Zip/UnZip 2.2/5.4
101ZIP
1020
103UNZIP.EXE -lv
104UNZIP.EXE -jo
105UNZIP.EXE -o
106UNZIP.EXE -t
107ZIP.EXE -j9g
108ZIP.EXE -9g
109ZIP.EXE -r9g
110ZIP.EXE -mj9g
111ZIP.EXE -m9g
112ZIP.EXE -d
113PK\x03\x04
114-------- ------ ------- ----- ---- ---- ------ ----
115-------- ------- --- -------
1160
1172
1184,1
1192
1207,1
121;
122;
123; Entry #2 - PKZIP 2.50 named PKZip (true OS/2 executable).
124;
125PKZip 2.50
126ZIP
1270
128PKZIP.EXE /locale=canada /nofix
129PKZIP.EXE /overwrite /extract /nofix
130PKZIP.EXE /overwrite /extract /directories /nofix
131PKZIP.EXE /test
132PKZIP.EXE /add /nofix
133PKZIP.EXE /add /path /nofix
134PKZIP.EXE /add /path /recurse /nofix
135PKZIP.EXE /add /move /nofix
136PKZIP.EXE /add /move /path /nofix
137PKZIP.EXE /delete /nofix
138PK\x03\x04\x14
139 ------ ------ ----- ----- ---- ---- -------- ---- ----
140 ------ ------ ----- ----
1410
1422
1434
1442
1458,1
146;
147; Entry #3 - InfoZip unzipsfx self-extractors.
148;
149unzipsfx
150
151217
152UNZIP.EXE -vUo
153UNZIP.EXE -jo
154UNZIP.EXE -o
155UNZIP.EXE -to
156
157
158
159
160
161ZIP.EXE -d
162unzipsfx
163 ------ ------ ---- ----- ---- ---- ------ ----
164 ------ ------ --- -------
1650
1662
1674,1
1682
1697,1
170;
171;
172; Entry #4 - PKWare PKZIP self-extractors type 1.
173;
174PK(Un)Zip SE #1
175
1762934
177PKZIP.EXE /locale=canada /nofix
178PKZIP.EXE /overwrite /extract /nofix
179PKZIP.EXE /overwrite /extract /directories /nofix
180PKZIP.EXE /test
181PKZIP.EXE /add /nofix
182PKZIP.EXE /add /path /nofix
183PKZIP.EXE /add /path /recurse /nofix
184PKZIP.EXE /add /move /nofix
185PKZIP.EXE /add /move /path /nofix
186PKZIP.EXE /delete /nofix
187PK\x03\x04
188 ------ ------ ----- ----- ---- ---- ------ ---- ----
189 ------ ------ --- -------
1900
1912
1924
1932
1948
195;
196; Entry #5 - is for PKWare PKZIP self-extractors type 2.
197;
198PK(Un)Zip SE #2
199
20012784
201PKZIP.EXE /locale=canada /nofix
202PKZIP.EXE /overwrite /extract /nofix
203PKZIP.EXE /overwrite /extract /directories /nofix
204PKZIP.EXE /test
205PKZIP.EXE /add /nofix
206PKZIP.EXE /add /path /nofix
207PKZIP.EXE /add /path /recurse /nofix
208PKZIP.EXE /add /move /nofix
209PKZIP.EXE /add /move /path /nofix
210PKZIP.EXE /delete /nofix
211PK\x03\x04
212 ------ ------ ----- ----- ---- ---- ------ ---- ----
213 ------ ------ --- -------
2140
2152
2164
2172
2188
219;
220;
221; Entry #6 - PKWare PKZIP self-extractors type 3.
222;
223PK(Un)Zip SE #2
224
22530948
226PKZIP.EXE /locale=canada /nofix
227PKZIP.EXE /overwrite /extract /nofix
228PKZIP.EXE /overwrite /extract /directories /nofix
229PKZIP.EXE /test
230PKZIP.EXE /add /nofix
231PKZIP.EXE /add /path /nofix
232PKZIP.EXE /add /path /recurse /nofix
233PKZIP.EXE /add /move /nofix
234PKZIP.EXE /add /move /path /nofix
235PKZIP.EXE /delete /nofix
236PK\x03\x04
237 ------ ------ ----- ----- ---- ---- ------ ---- ----
238 ------ ------ --- -------
2390
2402
2414
2422
2438
244;
245; Entry #7 - TAR 1.1.0.
246;
247TAR 1.1.0
248TAR
249257
250Tar.exe -tv -f
251
252Tar.exe -xpf
253
254Tar.exe -rpYf
255Tar.exe -rpf
256Tar.exe --help
257
258
259Tar.exe --delete -f
260ustar
261
262
2632
264-1
2653,0
2664
2677,0,0,0
268;
269; Entry #8 - GZIP (GZ).
270;
271GZIP (GZ)
272GZ
2730
274gzip.exe -l -v
275gzip.exe -d
276
277gzip.exe -t
278gzip.exe
279
280gzip.exe -r
281
282
283
284\x1f\x8b
285method crc date time compressed uncompr. ratio uncompressed_name
286
2876
2885
2892,0
2903
2918,0,0,0
292;
293; Entry #9 - GZIP (Z).
294;
295GZIP (Z)
296Z
2970
298gzip.exe -l -v
299gzip.exe -d
300
301gzip.exe -t
302gzip.exe
303
304gzip.exe -r
305
306
307
308\x1f\x8b
309method crc date time compressed uncompr. ratio uncompressed_name
310
3116
3125
3132,0
3143
3158,0,0,0
316;
317; Entry #10 - Unarj 2.10 ported by Scott Dudley.
318;
319(Un)Arj 2.10
320
3210
322UNARJ.EXE l
323UNARJ.EXE e
324UNARJ.EXE x
325UNARJ.EXE t
326
327
328
329
330
331
332\x60\xea
333------------ ---------- ---------- ----- ----------------- -------- ---- ------
334------------ ---------- ---------- ----- -----------------
3351
3362
3374,4
3381
3390
340;
341; Entry #11 - Unarj 2.30 demo version.
342; Don't use Unarj 2.41; it's broken.
343;
344(Un)Arj 2.30 demo
345
3460
347UNARJ.EXE l
348UNARJ.EXE e
349UNARJ.EXE x
350UNARJ.EXE t
351
352
353
354
355
356
357\x60\xea
358------------ ---------- ---------- ----- ----------------- -------- -----------
359------------ ---------- ---------- ----- -----------------
3601
3612
3624
3631
3640
365;
366; Entry #12 - Arj 2.00 (DOS).
367; Note that other programs that use this control file may not be able to
368; handle calling a DOS archiver correctly! FM/2 is the only one that I
369; know of which can at this time. This means you may need to keep FM/2's
370; ARCHIVER.BB2 separate from those for other programs.
371;
372Arj 2.00 DOS
373ARJ
3740
375ARJ.EXE l
376ARJ.EXE e -y
377ARJ.EXE x -y
378ARJ.EXE t
379ARJ.EXE a -y -e
380ARJ.EXE a -y
381ARJ.EXE a -y -r
382ARJ.EXE m -y -e
383ARJ.EXE m -y
384ARJ.EXE d -y
385\x60\xea
386------------ ---------- ---------- ----- ----------------- -------- ---- ------
387------------ ---------- ---------- -----
3881
3892
3904
3911
3920
393;
394; Entry #13 (RAR v.3.5)
395;
396RAR v.3.5
397RAR
3980
399RAR32.EXE v -c-
400RAR32.EXE e -y -c- -o+
401RAR32.EXE x -y -c- -o+
402RAR32.EXE t -c-
403RAR32.EXE a -ep1 -y
404RAR32.EXE a -y
405RAR32.EXE a -r -y
406RAR32.EXE mf -ep1 -y
407RAR32.EXE m -y
408RAR32.EXE d -y
409Rar!\x1a\x07
410-------------------------------------------------------------------------------
411-------------------------------------------------------------------------------
4120
4131
4143,5
4152
4160,0,0,1
417;
418; Entry #14 - RAR/2 v2, provided by Eugene Roshal.
419;
420RAR/2 v2
421RAR
4220
423RAR.EXE v -c-
424RAR.EXE e -y -c- -o+
425RAR.EXE x -y -c- -o+
426RAR.EXE t -c-
427RAR.EXE a -ep1 -y
428RAR.EXE a -y
429RAR.EXE a -r -y
430RAR.EXE mf -ep1 -y
431RAR.EXE m -y
432RAR.EXE d -y
433Rar!\x1a\x07
434------------------------------------------------------------------------------
435------------------------------------------------------------------------------
4360
4371
4383
4391
4400,0,0,1
441;
442; Entry #15 - RAR/2 v.1.53beta OS/2 SFX.
443;
444RAR/2 v.1.53beta OS/2 SFX
445
44613707
447RAR.EXE l -c-
448RAR.EXE e -y -c- -o+
449RAR.EXE x -y -c- -o+
450RAR.EXE t -c-
451RAR.EXE a -ep1 -y
452RAR.EXE a -y
453RAR.EXE a -r -y
454RAR.EXE mf -ep1 -y
455RAR.EXE m -y
456RAR.EXE d -y
457Rar!\x1a\x07
458------------------------------------------------------------------------------
459------------------------------------------------------------------------------
4601
4612
4624
4631
4640,0,0,1
465;
466; Entry #16 - RAR v.1.53 DOS SFX.
467;
468RAR v.1.53 DOS SFX
469
4707195
471RAR.EXE l -c-
472RAR.EXE e -y -c- -o+
473RAR.EXE x -y -c- -o+
474RAR.EXE t -c-
475RAR.EXE a -ep1 -y
476RAR.EXE a -y
477RAR.EXE a -r -y
478RAR.EXE mf -ep1 -y
479RAR.EXE m -y
480RAR.EXE d -y
481Rar!\x1a\x07
482------------------------------------------------------------------------------
483------------------------------------------------------------------------------
4841
4852
4864
4871
4880,0,0,1
489;
490; Entry #17 - RAR v.2.00 SFX.
491;
492RAR v.2.00 SFX
493
49428
495RAR.EXE l -c-
496RAR.EXE e -y -c- -o+
497RAR.EXE x -y -c- -o+
498RAR.EXE t -c-
499RAR.EXE a -ep1 -y
500RAR.EXE a -y
501RAR.EXE a -r -y
502RAR.EXE mf -ep1 -y
503RAR.EXE m -y
504RAR.EXE d -y
505RSFXjr
506------------------------------------------------------------------------------
507------------------------------------------------------------------------------
5081
5092
5104
5111
5120,0,0,1
513;
514;
515; Entry #18 - LHarc 2.22.
516; Supposedly fixes bugs in earlier versions.
517; Actually seems to have done so. Good work, Peter.
518;
519LHarc 2.22
520LZH
5212
522LH.EXE /o l
523LH.EXE /o x
524LH.EXE /o /s x
525LH.EXE t
526LH.EXE /o a
527
528LH.EXE /o /s a
529LH.EXE /o m
530
531LH.EXE /o d
532-lh
533 -------- -------- -----------------------------------------
534 -------- -----------------------------------------
5350
536-1
5371,4
5381
5392,1
540;
541; Entry #19 - LHarc 2.22 using LH32 executable.
542;
543LHarc-32 2.22
544LZH
5452
546LH32.EXE /o l
547LH32.EXE /o x
548LH32.EXE /o /s x
549LH32.EXE t
550LH32.EXE /o a
551
552LH32.EXE /o /s a
553LH32.EXE /o m
554
555LH32.EXE /o d
556-lh
557 -------- -------- -----------------------------------------
558 -------- -----------------------------------------
5590
560-1
5611,4
5621
5632,1
564;
565; Entry #20 - LHarc 2.22 self-extractors..
566;
567LHarc 2.22 SE
568LZH
56922963
570LH.EXE /o l
571LH.EXE /o x
572LH.EXE /o /s x
573LH.EXE t
574LH.EXE /o a
575
576LH.EXE /o /s a
577LH.EXE /o m
578
579LH.EXE /o d
580-lh
581 -------- -------- -----------------------------------------
582 -------- -----------------------------------------
5830
584-1
5851,4
5861
5872,1
588;
589; Entry #21 - LHA 2.12 (DOS) self-extractors.
590; LH 2.22 seems to recognize them
591;
592LHarc 2.12 DOS SE
593LZH
5941638
595LH.EXE /o l
596LH.EXE /o x
597LH.EXE /o /s x
598LH.EXE t
599LH.EXE /o a
600
601LH.EXE /o /s a
602LH.EXE /o m
603
604LH.EXE /o d
605-lh
606 -------- -------- -----------------------------------------
607 -------- -----------------------------------------
6080
609-1
6101,4
6111
6122,1
613;
614; Entry #22 - LHA 2.12 (DOS) self-extractors.
615; LH 2.22 seems to recognize them
616;
617LHarc 2.12 DOS SE
618LZH
61937
620LH.EXE /o l
621LH.EXE /o x
622LH.EXE /o /s x
623LH.EXE t
624LH.EXE /o a
625
626LH.EXE /o /s a
627LH.EXE /o m
628
629LH.EXE /o d
630$LHarc's SFX
631 -------- -------- -----------------------------------------
632 -------- -----------------------------------------
6330
634-1
6351,4
6361
6372,1
638;
639; Entry #23 - LHA 2.13L (DOS) self-extractors.
640; LH 2.22 seems to recognize them
641;
642LHarc 2.13 DOS SE
643LZH
64436
645LH.EXE /o l
646LH.EXE /o x
647LH.EXE /o /s x
648LH.EXE t
649LH.EXE /o a
650
651LH.EXE /o /s a
652LH.EXE /o m
653
654LH.EXE /o d
655LHA's SFX 2.13L (c) Yoshi, 1991\r\n
656 -------- -------- -----------------------------------------
657 -------- -----------------------------------------
6580
659-1
6601,4
6611
6622,1
663;
664; Entry #24 - LH2 2.11.
665; NOTE: sometimes will put a file into an archive more than once, necessitating
666; deleting both. EAs not handled well, but at least they're handled.
667;
668LHarc 2.11
669LZH
6702
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
6871
6882,1
689;
690; Entry #25 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
691;ZIP/UNZIP should work with PKZIP 2.04 files. Saves EAs well. Won't
692;extract a file stored with path without the path (actually, this seems
693;to be fixed now. Maybe. There are dozens of versions floating around;
694;you don't pays your money and you takes your chances). If you have a
695;version that won't extract files with paths without the paths, there's
696;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
697;Because of broken ZIP archives floating around everywhere, this is here
698;without the version flag in the signature (should really be PK\x03\x04\x14).
699;Damnit, it looks like Katz's own software is what does the botching. So
700;much for the keeper of the ZIP standard... Zip still seems to have to
701;have erratic problems with creating archives with some pathnames...
702;
703Zip/UnZip 1.9/5.0
704ZIP
7050
706UNZIP.EXE -vUo
707UNZIP.EXE -jo
708UNZIP.EXE -o
709UNZIP.EXE -to
710ZIP.EXE -j9g
711ZIP.EXE -9g
712ZIP.EXE -r9g
713ZIP.EXE -mj9g
714ZIP.EXE -m9g
715ZIP.EXE -d
716PK\x03\x04
717 ------ ------ ---- ----- ---- ---- ------ ----
718 ------ ------ --- -------
7190
7202
7214,1
7222
7237,1
724;
725; Entry #26 - ZIP 1.9/UNZIP 5.0 using *32 executables.
726;
727Zip/UnZip-32 1.9/5.0
728ZIP
7290
730UNZIP32.EXE -vUo
731UNZIP32.EXE -jo
732UNZIP32.EXE -o
733UNZIP32.EXE -to
734ZIP32.EXE -j9g
735ZIP32.EXE -9g
736ZIP32.EXE -r9g
737ZIP32.EXE -mj9g
738ZIP32.EXE -m9g
739ZIP32.EXE -d
740PK\x03\x04
741 ------ ------ ---- ----- ---- ---- ------ ----
742 ------ ------ --- -------
7430
7442
7454,1
7462
7477,1
748;
749; Entry #27 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
750; (the -v long format can sometimes result in the old length field
751; being crammed together with the Method field, resulting in an
752; unparsable format). Some info, like old length, will be missing,
753; but at least you can view the contents.
754;
755Zip/UnZip 1.9/5.0 Short
756ZIP
7570
758UNZIP.EXE -lUo
759UNZIP.EXE -jo
760UNZIP.EXE -o
761UNZIP.EXE -to
762ZIP.EXE -j9g
763ZIP.EXE -9g
764ZIP.EXE -r9g
765ZIP.EXE -mj9g
766ZIP.EXE -m9g
767ZIP.EXE -d
768PK\x03\x04
769 ------ ---- ---- ----
770 ------ -------
771-1
7720
7731,1
7742
7753,1
776;
777; Entry #28 - Zoo 2.1.
778; NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
779; be extracted with paths even when you don't ask it to do so...
780;
781Zoo 2.1
782ZOO
78320
784ZOO.EXE v
785ZOO.EXE xO
786ZOO.EXE xO/
787ZOO.EXE -test
788ZOO.Exe ah:
789ZOO.EXE ah
790
791ZOO.EXE aM:h
792ZOO.EXE aMh
793ZOO.EXE -delete
794\xdc\xa7\xc4\xfd
795-------- --- -------- --------- --------
796-------- --- -------- --------- --------
7970
7982
7993,2
8003
801-1
802;
803;----------------- Older, less used archivers --------------
804;
805; Entry #29 - ARC 5.12mpl.
806;
807Arc 5.12mpl
808ARC
8090
810ARC.EXE lwn
811ARC.EXE ewn
812
813ARC.EXE t
814ARC.EXE awn
815
816
817ARC.EXE mwn
818
819ARC.EXE dwn
820\x1a
821============ ======== =========
822 ==== ========
8231
824-1
8252,3
8263
8270
828;
829; Entry #30 - ARC2 (6.0).
830; Note that I don't actually have a copy of this...
831;
832Arc 6.0
833ARC
8340
835ARC.EXE l
836ARC.EXE ewn
837
838ARC.EXE t
839ARC.EXE awn
840
841
842ARC.EXE mwn
843
844ARC.EXE dwn
845\x1a
846================= ======== =========
847 ==== ========
8481
849-1
8502
8513
8520
853;
854; Entry #31 - ARC2 (6.0) using ARC2 executable.
855;
856Arc 6.0
857ARC
8580
859ARC2.EXE l
860ARC2.EXE ewn
861
862ARC2.EXE t
863ARC2.EXE awn
864
865
866ARC2.EXE mwn
867
868ARC2.EXE dwn
869\x1a
870================= ======== =========
871 ==== ========
8721
873-1
8742
8753
8760
877;
878; Entry #32 (CABExtract 1.0)
879;
880CABExtract 1.0
881CAB
8820
883Cabextract.exe -l
884Cabextract.exe
885
886
887
888
889
890
891
892
893MSCF
894-----------+---------------------+-------------
895
8960
897-1
898-1,0 ; Suppress date/time
8992
9005,1,0,0
901;
902; Entry #33 (Untgz Ver 0.95)
903; Supplied by Gregg Young
904;
905Untgz Ver 0.95
906TAR.GZ
9070
908untgzos2.exe -l
909untgzos2.exe
910
911untgzos2.exe -t
912
913
914
915
916
917
918\x1f\x8b
919------- ----- ---- ----- ---------------------------------------------------
920------- ----- ---- ----- ---------------------------------------------------
9210
922-1
9231,0
9243
9255,1,0,0
926;
927;----------------- End of archiver data -----------------------
928
929; For possible future use:
930
931; Squeeze-it signature: (Offset 0) \x48\x4c\x53\x51\x5ah
932; HA signature: (Offset 0) HA
933; HAP signature: (Offset 0) \x913HF
934; HPK signature: (Offset 0) HPAK
935; SQZ signature: (Offset 0) HLSQZ
936; DWZ signature: (Offset -3) DWC
937
938; No OS/2 versions available yet to my knowledge...
939
940;Notes on modifying/updating this file:
941;=====================================
942
943;You can add as many archivers as you like to this file.
944;here are some suggestions on how to go about it:
945
946;List an archive with the archiver, redirecting to a disk
947;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
948;file into a text editor. Clip out the startlist and endlist
949;strings and paste directly into this file on the appropriate
950;lines; prevents errors due to typos when copying manually.
951;Count the positions of filename, date, etc. and place on the
952;appropriate line. Now run the archiver redirected to a file
953;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
954;Look for the various command options (extract, list, etc.) and
955;put them into the file on the appropriate lines -- remember to
956;add the modifiers to prevent the archiver from stopping to ask
957;questions! You could be in deep doo-doo if it's a detached
958;process. While it may seem a pain in the arse to have to
959;edit this file when an archiver changes its command structure
960;or list format, at least it's something within your control;
961;you don't have to wait for an update to FM/2. That means if I
962;die tomorrow you'll still be able to use FM/2 for years to come.
963
964;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
965
966;----------------cut here----------------------
967;Name Length Date
968;============ ======== ========= <--this line is start-of-list
969;MAKEFILE 374 28 Nov 89
970;QSORT.C 14279 29 Nov 89
971;QSORT.EXE 24629 29 Nov 89
972;STUFF.H 371 29 Nov 89
973; ==== ======== <--this line is end-of-list
974;Total 4 39653
975;----------------cut here----------------------
976
977;Note the filename is in position 0, old length in position 1, and the
978;date starts in position 2, with 3 parts, and there's no new length
979;field (so it'd be -1). Compare that to the archiver entry for
980;ARC 5.12mpl above and you should get a feel for what all those fields
981;mean. Here's a diagram of how a file line breaks down:
982
983;STUFF.H 371 29 Nov 89
984; ^ ^ ^
985; | | |
986; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
987; | |
988; | +--Old file length, field 1
989; |
990; +--Filename, field 0 (count from 0, not 1)
991
992;If you're adding an entirely new archive format, note that you can
993;use 'C'-style \x<hexnumber> on the signature line in this file.
994;For example, the \x1a in ARC 5.12mpl's signature line means FM/2 will
995;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
996;indicated by ARC's line 3, the offset into a file for the signature)
997;of a file to determine if it's an archive. If line 3's offset is
998;negative, FM/2 looks from the end of the file instead of the beginning.
999;You can usually figure out what an archiver's signature is by looking
1000;at a few archives with a file viewing program like Vernon Buerg's
1001;LIST. By all means send me anything new you figure out for inclusion
1002;in future releases.
1003
1004;You can have several entries for one type of archive in this file. FM/2
1005;tries entries sequentially to list the file until it finds one that works.
1006;If the first entry for a signature doesn't work, and FM/2 finds one that
1007;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
1008;to make future accesses faster. This allows me to list everything I can
1009;get entries for and let FM/2 sort out what the user actually has that works.
1010;It also lets you, the user, create archives with more than one archiver that
1011;produces the same sort of archive (or with different switches, like one with
1012;LHArc producing -lh5- compression and one with it producing old, compatible
1013;-lh1- compression).
1014
1015;Always end file with blank line or comment
Note: See TracBrowser for help on using the repository browser.