home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / ad109f66.zip / archivers < prev    next >
Text File  |  1996-02-17  |  12KB  |  479 lines

  1. 22
  2. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
  3. ;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
  4. ;
  5. ;format for this archiver.bb2 file (each entry has 22 lines):
  6. ;
  7. ; 1st line:  ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
  8. ; 2nd line:  normal extension for archives (like ZIP, ARC, LZH; note no period)
  9. ; 3rd line:  offset into file to signature
  10. ; 4th line:  list command
  11. ; 5th line:  extract command
  12. ; 6th line:  extract w/ directories command
  13. ; 7th line:  test archive command
  14. ; 8th line:  add/create command
  15. ; 9th line:  add/create w/ paths command
  16. ;10th line:  add/create & recurse command
  17. ;11th line:  move command
  18. ;12th line:  move w/ paths command
  19. ;13th line:  delete command
  20. ;14th line:  signature (case sensitive, leading spaces count!
  21. ;15th line:  startlist string
  22. ;16th line:  endlist string
  23. ;17th line:  old size position  (all positions 0-based, -1 = not available)
  24. ;18th line:  new size position
  25. ;19th line:  file date position
  26. ;20th line:  number of positions in dates (for "03 June 92" would be 3)
  27. ;21st line:  file name position (absolutely required, of course)
  28. ;22nd line:  Letter which selects protocol (human consumption)
  29. ;            leave blank if this protocol is not a user selectable. ie. it
  30. ;            should only be used when identifying an archive.. etc.
  31. ;
  32. ;a semicolon demarks a comment.  they may appear at any point *except*
  33. ;within the 22 lines of an archiver entry.
  34. ;everything on the line after the semicolon is ignored.
  35. ;
  36. ;note that all archiver strings should include the archiver's parameters to
  37. ;prevent it from stopping for input!  also note that archive types are checked
  38. ;in order of their listing in this file.  finally, this file is set up for
  39. ;the archivers I had lying around; if yours are different versions, you may
  40. ;have to modify this file.  All archivers are OS/2 (or FAPI) versions.
  41. ;
  42. ;how archive listing works:
  43. ;
  44. ;XBBS (or AV) first tries to find a signature match.  failing that, it checks
  45. ;to see if the file might be an ARC-format file.  If the latter, READARC.CMD
  46. ;is spawned (by XBBS) with ARC as the first argument and v as the second,
  47. ;followed by the filename.  If the former, the list command is sent, followed
  48. ;by the filename.  output is redirected to a file that XBBS then displays to
  49. ;the user.  crude, but effective.  AV handles things a little more smoothly.
  50. ;
  51. ;although only the list and extract command strings are currently used by
  52. ;XBBS, include them all. someday most or all of Peeker's functionality will
  53. ;be present in XBBS-OS/2. AV likes them, too, and uses most of them now.
  54. ;
  55. ;note to XGroup DOS users:  you'll probably have to modify the ARJ and
  56. ;LHARC listings in here to work with your archivers.
  57. ;
  58. ; *************************************
  59. ; UnArj 2.41.kkf.a demo / ARJZ-OS2 0.15
  60. ; *************************************
  61. UNARJ / ARJZ
  62. ARJ
  63. 0
  64. UNARJ.EXE L
  65. UNARJ.EXE E
  66. UNARJ.EXE X
  67. UNARJ.EXE T
  68. arjz-os2.exe a -a -md -mp9 -mf -jm -e
  69. arjz-os2.exe a -a -md -mp9 -mf -jm
  70. arjz-os2.exe a -a -md -mp9 -mf -jm
  71. arjz-os2.exe m -a -md -mp9 -mf -jm -e
  72. arjz-os2.exe m -a -md -mp9 -mf -jm
  73.  
  74. `\xea
  75. ------------ ---------- ---------- ----- ----------------- -------- -----------
  76. ------------ ---------- ---------- ----- -----------------
  77. 1
  78. 2
  79. 4
  80. 1
  81. 0
  82. A
  83. ;
  84. ; ************************
  85. ; ARJ SE (Self Extracting)
  86. ; ************************
  87. UNARJ / ARJZ
  88. ARJ
  89. 0
  90. UNARJ.EXE L
  91. UNARJ.EXE E
  92. UNARJ.EXE X
  93. UNARJ.EXE T
  94. arjz-os2.exe a -a -md -mp9 -mf -jm -e
  95. arjz-os2.exe a -a -md -mp9 -mf -jm
  96. arjz-os2.exe a -a -md -mp9 -mf -jm
  97. arjz-os2.exe m -a -md -mp9 -mf -jm -e
  98. arjz-os2.exe m -a -md -mp9 -mf -jm
  99.  
  100. MZ\xea
  101. ------------ ---------- ---------- ----- ----------------- -------- -----------
  102. ------------ ---------- ---------- ----- -----------------
  103. 1
  104. 2
  105. 4
  106. 1
  107. 0
  108.  
  109. ; ********
  110. ; Arc 5.21
  111. ; ********
  112. Arc 5.21
  113. ARC
  114. 0
  115. ARC.EXE lw
  116. ARC.EXE ewn
  117.  
  118. ARC.EXE t
  119. ARC.EXE awn
  120.  
  121.  
  122. ARC.EXE mwn
  123.  
  124. ARC.EXE dwn
  125. \x1a
  126. ============  ========  =========
  127.         ====  ========
  128. 1
  129. -1
  130. 2
  131. 3
  132. 0
  133. C
  134. ; *************
  135. ; LHarc-32 2.22
  136. ; *************
  137. LHarc-32 2.22
  138. LZH
  139. 2
  140. LH32.EXE /o l
  141. LH32.EXE /o x
  142. LH32.EXE /o /s x
  143. LH32.EXE t
  144. LH32.EXE /o a
  145.  
  146. LH32.EXE /o /s a
  147. LH32.EXE /o m
  148.  
  149. LH32.EXE /o d
  150. -lh
  151.   -------- --------  -----------------------------------------
  152.   --------          -----------------------------------------
  153. 0
  154. -1
  155. 1
  156. 1
  157. 2
  158. L
  159. ; **********************************
  160. ; LHarc-32 2.22 SE (Self Extracting)
  161. ; **********************************
  162. LHarc-32 2.22
  163. LZH
  164. 2
  165. LH32.EXE /o l
  166. LH32.EXE /o x
  167. LH32.EXE /o /s x
  168. LH32.EXE t
  169. LH32.EXE /o a
  170.  
  171. LH32.EXE /o /s a
  172. LH32.EXE /o m
  173.  
  174. LH32.EXE /o d
  175. MZ\xB1\x01\x2D
  176.   -------- --------  -----------------------------------------
  177.   --------          -----------------------------------------
  178. 0
  179. -1
  180. 1
  181. 1
  182. 2
  183.  
  184. ; *******
  185. ; Zoo 2.1
  186. ; *******
  187. Zoo 2.1
  188. ZOO
  189. 20
  190. ZOO.EXE v
  191. ZOO.EXE xO
  192. ZOO.EXE xO/
  193. ZOO.EXE -test
  194. ZOO.Exe ah:
  195. ZOO.EXE ah
  196.  
  197. ZOO.EXE aM:h
  198. ZOO.EXE aMh
  199. ZOO.EXE -delete
  200. \xdc\xa7\xc4\xfd
  201. --------  --- --------  --------- --------
  202. --------  --- --------  --------- --------
  203. 0
  204. 2
  205. 3
  206. 3
  207. -1
  208. O
  209. ; *****************
  210. ; Zip/UnZip 1.9/5.0
  211. ; *****************
  212. Zip/Unzip 1.9/5.0
  213. ZIP
  214. 0
  215. UNZIP.EXE -lU
  216. UNZIP.EXE -ojC
  217. UNZIP.EXE -oC
  218. UNZIP.EXE -ot
  219. ZIP.EXE -j
  220.  
  221.  
  222. ZIP.EXE -mj
  223.  
  224. ZIP.EXE -d
  225. PK\x03\x04\x14
  226.  ------    ----    ----    ----
  227.  ------                    -------
  228. 0
  229. -1
  230. 1
  231. 2
  232. 3
  233. Z
  234. ; *******************
  235. ; Zip/UnZip SE Type 1
  236. ; *******************
  237. Zip/Unzip 1.9/5.0
  238. ZIP
  239. 0
  240. UNZIP.EXE -lU
  241. UNZIP.EXE -ojC
  242. UNZIP.EXE -oC
  243. UNZIP.EXE -ot
  244. ZIP.EXE -j
  245.  
  246.  
  247. ZIP.EXE -mj
  248.  
  249. ZIP.EXE -d
  250. MZ\x9A\x01
  251.  ------    ----    ----    ----
  252.  ------                    -------
  253. 0
  254. -1
  255. 1
  256. 2
  257. 3
  258.  
  259. ; *******************
  260. ; Zip/UnZip SE Type 2
  261. ; *******************
  262. Zip/Unzip 1.9/5.0
  263. ZIP
  264. 0
  265. UNZIP.EXE -lU
  266. UNZIP.EXE -ojC
  267. UNZIP.EXE -oC
  268. UNZIP.EXE -ot
  269. ZIP.EXE -j
  270.  
  271.  
  272. ZIP.EXE -mj
  273.  
  274. ZIP.EXE -d
  275. MZ\xF5\x01
  276.  ------    ----    ----    ----
  277.  ------                    -------
  278. 0
  279. -1
  280. 1
  281. 2
  282. 3
  283.  
  284. ; *******************
  285. ; Zip/UnZip SE Type 3
  286. ; *******************
  287. Zip/Unzip 1.9/5.0
  288. ZIP
  289. 0
  290. UNZIP.EXE -lU
  291. UNZIP.EXE -ojC
  292. UNZIP.EXE -oC
  293. UNZIP.EXE -ot
  294. ZIP.EXE -j
  295.  
  296.  
  297. ZIP.EXE -mj
  298.  
  299. ZIP.EXE -d
  300. MZ\xB7\x01
  301.  ------    ----    ----    ----
  302.  ------                    -------
  303. 0
  304. -1
  305. 1
  306. 2
  307. 3
  308.  
  309. ; ************
  310. ; PKzip/2 1.02
  311. ; ************
  312. PKZip 1.02
  313. ZIP
  314. 0
  315. PKZIP2.EXE -v
  316. PKUNZIP2.EXE -o
  317. PKUNZIP2.EXE -o -d
  318. PKUNZIP2.EXE -t
  319. PKZIP2.EXE -a
  320. PKZIP2.EXE -a -P
  321. PKZIP2.EXE -a -p -r
  322. PKZIP2.EXE -m
  323. PKZIP2.EXE -m -P
  324. PKZIP2.EXE -d
  325. PK\x3\x4
  326.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  327.  ------          ------  ---                                 -------
  328. 0
  329. 2
  330. 4
  331. 2
  332. 8
  333. P
  334. ; *********************************
  335. ; PKzip/2 1.02 SE (Self Extracting)
  336. ; *********************************
  337. PKZip 1.02
  338. ZIP
  339. 0
  340. PKZIP2.EXE -v
  341. PKUNZIP2.EXE -o
  342. PKUNZIP2.EXE -o -d
  343. PKUNZIP2.EXE -t
  344. PKZIP2.EXE -a
  345. PKZIP2.EXE -a -P
  346. PKZIP2.EXE -a -p -r
  347. PKZIP2.EXE -m
  348. PKZIP2.EXE -m -P
  349. PKZIP2.EXE -d
  350. MZ\x09\x00\x18\x00\x4F
  351.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  352.  ------          ------  ---                                 -------
  353. 0
  354. 2
  355. 4
  356. 2
  357. 8
  358.  
  359. ; ********
  360. ; RAR 2.00
  361. ; ********
  362. RAR 2.00
  363. RAR
  364. 0
  365. RAR2.EXE l -y
  366. RAR2.EXE e -y
  367. RAR2.EXE x -y
  368. RAR2.EXE t -y
  369. RAR2.EXE a -y
  370.  
  371. RAR2.EXE a -r -y
  372. RAR2.EXE m -y
  373.  
  374. RAR2.EXE d -y
  375. Rar!
  376. ------------------------------------------------------------------------------
  377. ------------------------------------------------------------------------------
  378. 1
  379. 2
  380. 4
  381. 1
  382. 0
  383. R
  384. ; *****************************
  385. ; RAR 2.00 SE (Self Extracting)
  386. ; *****************************
  387. RAR 2.00
  388. RAR
  389. 0
  390. RAR2.EXE l -y
  391. RAR2.EXE e -y
  392. RAR2.EXE x -y
  393. RAR2.EXE t -y
  394. RAR2.EXE a -y
  395.  
  396. RAR2.EXE a -r -y
  397. RAR2.EXE m -y
  398.  
  399. RAR2.EXE d -y
  400. MZ
  401. ------------------------------------------------------------------------------
  402. ------------------------------------------------------------------------------
  403. 1
  404. 2
  405. 4
  406. 1
  407. 0
  408.  
  409. ;
  410. ; For possible future use:
  411. ; Squeeze-it signature:  (Offset 0000)  \x48\x4C\x53\x51\x5Ah
  412. ; No OS/2 version available yet
  413. ;
  414. ;Notes on modifying/updating this file:
  415. ;
  416. ;You can add as many archivers as you like to this file.
  417. ;here are some suggestions on how to go about it:
  418. ;
  419. ;list an archive with the archiver, redirecting to a disk
  420. ;file (ex. "ARC l AFILE.ARC > TEMP.").  Load the resultant
  421. ;file into a text editor.  Clip out the startlist and endlist
  422. ;strings and paste directly into this file on the appropriate
  423. ;lines; prevents errors due to typos when copying manually.
  424. ;Count the positions of filename, date, etc. and place on the
  425. ;appropriate line.  Now run the archiver redirected to a file
  426. ;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
  427. ;Look for the various command options (extract, list, etc.) and
  428. ;put them into the file on the appropriate lines -- remember to
  429. ;add the modifiers to prevent the archiver from stopping to ask
  430. ;questions!  You could be in deep doo-doo if it's a detached
  431. ;process.  While it may seem a pain in the arse to have to
  432. ;edit this file when an archiver changes its command structure
  433. ;or list format, at least it's something within your control;
  434. ;you don't have to wait for an update to AV.  That means if I
  435. ;die tomorrow you'll still be able to use AV for years to come.
  436. ;
  437. ;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
  438. ;
  439. ;Name          Length    Date
  440. ;============  ========  =========    <--this line is start-of-list
  441. ;MAKEFILE           374  28 Nov 89
  442. ;QSORT.C          14279  29 Nov 89
  443. ;QSORT.EXE        24629  29 Nov 89
  444. ;STUFF.H            371  29 Nov 89
  445. ;        ====  ========               <--this line is end-of-list
  446. ;Total      4     39653
  447. ;
  448. ;Note the filename is in position 0, old length in position 1, and the
  449. ;date starts in position 2, with 3 parts, and there's no new length
  450. ;field (so it'd be -1).  Compare that to the archiver entry for
  451. ;ARC 5.12mpl above and you should get a feel for what all those fields
  452. ;mean.
  453. ;
  454. ;If you're adding an entirely new archive format, note that you can
  455. ;use 'C'-style \x<hexnumber> on the signature line in this file.
  456. ;For example, the \x1a in ARC 5.12mpl's signature line means AV will
  457. ;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
  458. ;indicated by ARC's line 3, the offset into a file for the signature)
  459. ;of a file to determine if it's an archive.  If line 3's offset is
  460. ;negative, AV looks from the end of the file instead of the beginning.
  461. ;You can usually figure out what an archiver's signature is by looking
  462. ;at a few archives with a file viewing program like LIST.  By all means
  463. ;send me anything new you figure out for inclusion in future releases.
  464. ;
  465. ;
  466. ;You can have several entries for one type of archive in this file.  AV
  467. ;tries entries sequentially to list the file until it finds one that works.
  468. ;If the first entry for a signature doesn't work, and AV finds one that
  469. ;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
  470. ;to make future accesses faster.  This allows me to list everything I can
  471. ;get entries for and let AV sort out what the user actually has that works.
  472. ;It also lets you, the user, create archives with more than one archiver that
  473. ;produces the same sort of archive (or with different switches, like one with
  474. ;LHArc producing -lh5- compression and one with it producing old, compatible
  475. ;-lh1- compression).
  476. ;
  477. ;
  478. ;always end file with blank line or comment
  479.