source: branches/ticket_150/archiver.tmp@ 868

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

Add tar 1.5.1 definition

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 21.8 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 429 2006-08-14 04:16:39Z 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;
318; Entry #10 - TAR 1.15.1 from Gregg Young
319;
320TAR 1.15.1
321TAR
322257
323Tar.exe -tv -f
324
325Tar.exe -xpf
326
327Tar.exe -rpYf
328Tar.exe -rpf
329Tar.exe --help
330
331
332Tar.exe --delete -f
333ustar
334
335
3362
337-1
3383,0
3392
3405,0,0,0
341;
342; Entry #11 - Unarj 2.10 ported by Scott Dudley.
343;
344(Un)Arj 2.10
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,4
3631
3640
365;
366; Entry #12 - Unarj 2.30 demo version.
367; Don't use Unarj 2.41; it's broken.
368;
369(Un)Arj 2.30 demo
370
3710
372UNARJ.EXE l
373UNARJ.EXE e
374UNARJ.EXE x
375UNARJ.EXE t
376
377
378
379
380
381
382\x60\xea
383------------ ---------- ---------- ----- ----------------- -------- -----------
384------------ ---------- ---------- ----- -----------------
3851
3862
3874
3881
3890
390;
391; Entry #13 - Arj 2.00 (DOS).
392; Note that other programs that use this control file may not be able to
393; handle calling a DOS archiver correctly! FM/2 is the only one that I
394; know of which can at this time. This means you may need to keep FM/2's
395; ARCHIVER.BB2 separate from those for other programs.
396;
397Arj 2.00 DOS
398ARJ
3990
400ARJ.EXE l
401ARJ.EXE e -y
402ARJ.EXE x -y
403ARJ.EXE t
404ARJ.EXE a -y -e
405ARJ.EXE a -y
406ARJ.EXE a -y -r
407ARJ.EXE m -y -e
408ARJ.EXE m -y
409ARJ.EXE d -y
410\x60\xea
411------------ ---------- ---------- ----- ----------------- -------- ---- ------
412------------ ---------- ---------- -----
4131
4142
4154
4161
4170
418;
419; Entry #14 (RAR v.3.5)
420;
421RAR v.3.5
422RAR
4230
424RAR32.EXE v -c-
425RAR32.EXE e -y -c- -o+
426RAR32.EXE x -y -c- -o+
427RAR32.EXE t -c-
428RAR32.EXE a -ep1 -y
429RAR32.EXE a -y
430RAR32.EXE a -r -y
431RAR32.EXE mf -ep1 -y
432RAR32.EXE m -y
433RAR32.EXE d -y
434Rar!\x1a\x07
435-------------------------------------------------------------------------------
436-------------------------------------------------------------------------------
4370
4381
4393,5
4402
4410,0,0,1
442;
443; Entry #15 - RAR/2 v2, provided by Eugene Roshal.
444;
445RAR/2 v2
446RAR
4470
448RAR.EXE v -c-
449RAR.EXE e -y -c- -o+
450RAR.EXE x -y -c- -o+
451RAR.EXE t -c-
452RAR.EXE a -ep1 -y
453RAR.EXE a -y
454RAR.EXE a -r -y
455RAR.EXE mf -ep1 -y
456RAR.EXE m -y
457RAR.EXE d -y
458Rar!\x1a\x07
459------------------------------------------------------------------------------
460------------------------------------------------------------------------------
4610
4621
4633
4641
4650,0,0,1
466;
467; Entry #16 - RAR/2 v.1.53beta OS/2 SFX.
468;
469RAR/2 v.1.53beta OS/2 SFX
470
47113707
472RAR.EXE l -c-
473RAR.EXE e -y -c- -o+
474RAR.EXE x -y -c- -o+
475RAR.EXE t -c-
476RAR.EXE a -ep1 -y
477RAR.EXE a -y
478RAR.EXE a -r -y
479RAR.EXE mf -ep1 -y
480RAR.EXE m -y
481RAR.EXE d -y
482Rar!\x1a\x07
483------------------------------------------------------------------------------
484------------------------------------------------------------------------------
4851
4862
4874
4881
4890,0,0,1
490;
491; Entry #17 - RAR v.1.53 DOS SFX.
492;
493RAR v.1.53 DOS SFX
494
4957195
496RAR.EXE l -c-
497RAR.EXE e -y -c- -o+
498RAR.EXE x -y -c- -o+
499RAR.EXE t -c-
500RAR.EXE a -ep1 -y
501RAR.EXE a -y
502RAR.EXE a -r -y
503RAR.EXE mf -ep1 -y
504RAR.EXE m -y
505RAR.EXE d -y
506Rar!\x1a\x07
507------------------------------------------------------------------------------
508------------------------------------------------------------------------------
5091
5102
5114
5121
5130,0,0,1
514;
515; Entry #18 - RAR v.2.00 SFX.
516;
517RAR v.2.00 SFX
518
51928
520RAR.EXE l -c-
521RAR.EXE e -y -c- -o+
522RAR.EXE x -y -c- -o+
523RAR.EXE t -c-
524RAR.EXE a -ep1 -y
525RAR.EXE a -y
526RAR.EXE a -r -y
527RAR.EXE mf -ep1 -y
528RAR.EXE m -y
529RAR.EXE d -y
530RSFXjr
531------------------------------------------------------------------------------
532------------------------------------------------------------------------------
5331
5342
5354
5361
5370,0,0,1
538;
539;
540; Entry #19 - LHarc 2.22.
541; Supposedly fixes bugs in earlier versions.
542; Actually seems to have done so. Good work, Peter.
543;
544LHarc 2.22
545LZH
5462
547LH.EXE /o l
548LH.EXE /o x
549LH.EXE /o /s x
550LH.EXE t
551LH.EXE /o a
552
553LH.EXE /o /s a
554LH.EXE /o m
555
556LH.EXE /o d
557-lh
558 -------- -------- -----------------------------------------
559 -------- -----------------------------------------
5600
561-1
5621,4
5631
5642,1
565;
566; Entry #20 - LHarc 2.22 using LH32 executable.
567;
568LHarc-32 2.22
569LZH
5702
571LH32.EXE /o l
572LH32.EXE /o x
573LH32.EXE /o /s x
574LH32.EXE t
575LH32.EXE /o a
576
577LH32.EXE /o /s a
578LH32.EXE /o m
579
580LH32.EXE /o d
581-lh
582 -------- -------- -----------------------------------------
583 -------- -----------------------------------------
5840
585-1
5861,4
5871
5882,1
589;
590; Entry #21 - LHarc 2.22 self-extractors..
591;
592LHarc 2.22 SE
593LZH
59422963
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
6191638
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-lh
631 -------- -------- -----------------------------------------
632 -------- -----------------------------------------
6330
634-1
6351,4
6361
6372,1
638;
639; Entry #23 - LHA 2.12 (DOS) self-extractors.
640; LH 2.22 seems to recognize them
641;
642LHarc 2.12 DOS SE
643LZH
64437
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
655$LHarc's SFX
656 -------- -------- -----------------------------------------
657 -------- -----------------------------------------
6580
659-1
6601,4
6611
6622,1
663;
664; Entry #24 - LHA 2.13L (DOS) self-extractors.
665; LH 2.22 seems to recognize them
666;
667LHarc 2.13 DOS SE
668LZH
66936
670LH.EXE /o l
671LH.EXE /o x
672LH.EXE /o /s x
673LH.EXE t
674LH.EXE /o a
675
676LH.EXE /o /s a
677LH.EXE /o m
678
679LH.EXE /o d
680LHA's SFX 2.13L (c) Yoshi, 1991\r\n
681 -------- -------- -----------------------------------------
682 -------- -----------------------------------------
6830
684-1
6851,4
6861
6872,1
688;
689; Entry #25 - LH2 2.11.
690; NOTE: sometimes will put a file into an archive more than once, necessitating
691; deleting both. EAs not handled well, but at least they're handled.
692;
693LHarc 2.11
694LZH
6952
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-lh
707 -------- -------- -----------------------------------------
708 -------- -----------------------------------------
7090
710-1
7111
7121
7132,1
714;
715; Entry #26 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
716;ZIP/UNZIP should work with PKZIP 2.04 files. Saves EAs well. Won't
717;extract a file stored with path without the path (actually, this seems
718;to be fixed now. Maybe. There are dozens of versions floating around;
719;you don't pays your money and you takes your chances). If you have a
720;version that won't extract files with paths without the paths, there's
721;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
722;Because of broken ZIP archives floating around everywhere, this is here
723;without the version flag in the signature (should really be PK\x03\x04\x14).
724;Damnit, it looks like Katz's own software is what does the botching. So
725;much for the keeper of the ZIP standard... Zip still seems to have to
726;have erratic problems with creating archives with some pathnames...
727;
728Zip/UnZip 1.9/5.0
729ZIP
7300
731UNZIP.EXE -vUo
732UNZIP.EXE -jo
733UNZIP.EXE -o
734UNZIP.EXE -to
735ZIP.EXE -j9g
736ZIP.EXE -9g
737ZIP.EXE -r9g
738ZIP.EXE -mj9g
739ZIP.EXE -m9g
740ZIP.EXE -d
741PK\x03\x04
742 ------ ------ ---- ----- ---- ---- ------ ----
743 ------ ------ --- -------
7440
7452
7464,1
7472
7487,1
749;
750; Entry #27 - ZIP 1.9/UNZIP 5.0 using *32 executables.
751;
752Zip/UnZip-32 1.9/5.0
753ZIP
7540
755UNZIP32.EXE -vUo
756UNZIP32.EXE -jo
757UNZIP32.EXE -o
758UNZIP32.EXE -to
759ZIP32.EXE -j9g
760ZIP32.EXE -9g
761ZIP32.EXE -r9g
762ZIP32.EXE -mj9g
763ZIP32.EXE -m9g
764ZIP32.EXE -d
765PK\x03\x04
766 ------ ------ ---- ----- ---- ---- ------ ----
767 ------ ------ --- -------
7680
7692
7704,1
7712
7727,1
773;
774; Entry #28 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
775; (the -v long format can sometimes result in the old length field
776; being crammed together with the Method field, resulting in an
777; unparsable format). Some info, like old length, will be missing,
778; but at least you can view the contents.
779;
780Zip/UnZip 1.9/5.0 Short
781ZIP
7820
783UNZIP.EXE -lUo
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 ------ -------
796-1
7970
7981,1
7992
8003,1
801;
802; Entry #29 - Zoo 2.1.
803; NOTE: Bug in Zoo 2.1 seems to cause files stored with paths to
804; be extracted with paths even when you don't ask it to do so...
805;
806Zoo 2.1
807ZOO
80820
809ZOO.EXE v
810ZOO.EXE xO
811ZOO.EXE xO/
812ZOO.EXE -test
813ZOO.Exe ah:
814ZOO.EXE ah
815
816ZOO.EXE aM:h
817ZOO.EXE aMh
818ZOO.EXE -delete
819\xdc\xa7\xc4\xfd
820-------- --- -------- --------- --------
821-------- --- -------- --------- --------
8220
8232
8243,2
8253
826-1
827;
828;----------------- Older, less used archivers --------------
829;
830; Entry #30 - ARC 5.12mpl.
831;
832Arc 5.12mpl
833ARC
8340
835ARC.EXE lwn
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,3
8513
8520
853;
854; Entry #31 - ARC2 (6.0).
855; Note that I don't actually have a copy of this...
856;
857Arc 6.0
858ARC
8590
860ARC.EXE l
861ARC.EXE ewn
862
863ARC.EXE t
864ARC.EXE awn
865
866
867ARC.EXE mwn
868
869ARC.EXE dwn
870\x1a
871================= ======== =========
872 ==== ========
8731
874-1
8752
8763
8770
878;
879; Entry #32 - ARC2 (6.0) using ARC2 executable.
880;
881Arc 6.0
882ARC
8830
884ARC2.EXE l
885ARC2.EXE ewn
886
887ARC2.EXE t
888ARC2.EXE awn
889
890
891ARC2.EXE mwn
892
893ARC2.EXE dwn
894\x1a
895================= ======== =========
896 ==== ========
8971
898-1
8992
9003
9010
902;
903; Entry #33 (CABExtract 1.0)
904;
905CABExtract 1.0
906CAB
9070
908Cabextract.exe -l
909Cabextract.exe
910
911
912
913
914
915
916
917
918MSCF
919-----------+---------------------+-------------
920
9210
922-1
923-1,0 ; Suppress date/time
9242
9255,1,0,0
926;
927; Entry #34 (Untgz Ver 0.95)
928; Supplied by Gregg Young
929;
930Untgz Ver 0.95
931TAR.GZ
9320
933untgzos2.exe -l
934untgzos2.exe
935
936untgzos2.exe -t
937
938
939
940
941
942
943\x1f\x8b
944------- ----- ---- ----- ---------------------------------------------------
945------- ----- ---- ----- ---------------------------------------------------
9460
947-1
9481,0
9493
9505,1,0,0
951;
952;----------------- End of archiver data -----------------------
953
954; For possible future use:
955
956; Squeeze-it signature: (Offset 0) \x48\x4c\x53\x51\x5ah
957; HA signature: (Offset 0) HA
958; HAP signature: (Offset 0) \x913HF
959; HPK signature: (Offset 0) HPAK
960; SQZ signature: (Offset 0) HLSQZ
961; DWZ signature: (Offset -3) DWC
962
963; No OS/2 versions available yet to my knowledge...
964
965;Notes on modifying/updating this file:
966;=====================================
967
968;You can add as many archivers as you like to this file.
969;here are some suggestions on how to go about it:
970
971;List an archive with the archiver, redirecting to a disk
972;file (ex. "ARC l AFILE.ARC > TEMP."). Load the resultant
973;file into a text editor. Clip out the startlist and endlist
974;strings and paste directly into this file on the appropriate
975;lines; prevents errors due to typos when copying manually.
976;Count the positions of filename, date, etc. and place on the
977;appropriate line. Now run the archiver redirected to a file
978;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
979;Look for the various command options (extract, list, etc.) and
980;put them into the file on the appropriate lines -- remember to
981;add the modifiers to prevent the archiver from stopping to ask
982;questions! You could be in deep doo-doo if it's a detached
983;process. While it may seem a pain in the arse to have to
984;edit this file when an archiver changes its command structure
985;or list format, at least it's something within your control;
986;you don't have to wait for an update to FM/2. That means if I
987;die tomorrow you'll still be able to use FM/2 for years to come.
988
989;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
990
991;----------------cut here----------------------
992;Name Length Date
993;============ ======== ========= <--this line is start-of-list
994;MAKEFILE 374 28 Nov 89
995;QSORT.C 14279 29 Nov 89
996;QSORT.EXE 24629 29 Nov 89
997;STUFF.H 371 29 Nov 89
998; ==== ======== <--this line is end-of-list
999;Total 4 39653
1000;----------------cut here----------------------
1001
1002;Note the filename is in position 0, old length in position 1, and the
1003;date starts in position 2, with 3 parts, and there's no new length
1004;field (so it'd be -1). Compare that to the archiver entry for
1005;ARC 5.12mpl above and you should get a feel for what all those fields
1006;mean. Here's a diagram of how a file line breaks down:
1007
1008;STUFF.H 371 29 Nov 89
1009; ^ ^ ^
1010; | | |
1011; | | +--Date starts in field 2, 3 parts (29, Nov, and 89)
1012; | |
1013; | +--Old file length, field 1
1014; |
1015; +--Filename, field 0 (count from 0, not 1)
1016
1017;If you're adding an entirely new archive format, note that you can
1018;use 'C'-style \x<hexnumber> on the signature line in this file.
1019;For example, the \x1a in ARC 5.12mpl's signature line means FM/2 will
1020;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
1021;indicated by ARC's line 3, the offset into a file for the signature)
1022;of a file to determine if it's an archive. If line 3's offset is
1023;negative, FM/2 looks from the end of the file instead of the beginning.
1024;You can usually figure out what an archiver's signature is by looking
1025;at a few archives with a file viewing program like Vernon Buerg's
1026;LIST. By all means send me anything new you figure out for inclusion
1027;in future releases.
1028
1029;You can have several entries for one type of archive in this file. FM/2
1030;tries entries sequentially to list the file until it finds one that works.
1031;If the first entry for a signature doesn't work, and FM/2 finds one that
1032;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
1033;to make future accesses faster. This allows me to list everything I can
1034;get entries for and let FM/2 sort out what the user actually has that works.
1035;It also lets you, the user, create archives with more than one archiver that
1036;produces the same sort of archive (or with different switches, like one with
1037;LHArc producing -lh5- compression and one with it producing old, compatible
1038;-lh1- compression).
1039
1040;Always end file with blank line or comment
Note: See TracBrowser for help on using the repository browser.