home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
dwnsrt63.zip
/
COMPRESS.CFG
< prev
next >
Wrap
Text File
|
1996-12-08
|
6KB
|
151 lines
; COMPRESS.CFG contains entries for the various compression programs which
; you may wish to use with Squish and Maximus. Each compression progrm
; should have its own separate entry, and each entry should begin with
; the text 'Archiver <name>', where <name> is a short name which can
; be used to refer to the archiver in SQUISH.CFG.
;
; IMPORTANT NOTE: the order of the archiver entries within this file
; is VERY important. The FIRST archiver specified will be used as
; a default, if no 'Pack' statement exists for any given node in
; SQUISH.CFG.
;
; However, when trying to unpack a compressed file, the list of
; archivers is scanned in a REVERSE order. This is especially important
; in the case of ARC and PAK files, since PAK and ARC use the same
; identification character at the beginning of the file. (The identity
; of a PAK-type file must be checked first, in case the file uses a PAK
; compression method, which PKArc and friends can't handle.) This is
; why PAK is listed AFTER PKArc in the distribution control file.
; SEA's ARC2
Archiver ARC
; The 'Extension' keyword tells Squish that archives of this flavour
; will commonly use the specified file extension. This isn't used
; for decompressing inbound mail packets, but Squish needs to know
; about it anyway.
Extension ARC
; Unless you are familiar with the internals of compression programs,
; the `Ident' keyword (see below) should not be modified. Two numbers
; follow the keyword, each separated by a comma. When attempting to
; decompress an archive of an unknown type, Max and Squish will use
; this informtion to automatically identify different types of archives.
;
; The first number after 'Ident' contains the OFFSET at which a special
; identifying marker can be located. Positive entries work in the
; expected manner, whereas negative entries can be used to indicate
; offsets from the END of a compressed file. However, an offset of
; "-2" is the LAST character, and an offset of "-3" is the SECOND-LAST
; character, etc.
;
; Following the OFFSET is a series of hexadecimal numbers which
; represent the text which can be found at the specified offset in the
; compressed mail bundle. Each byte in the compressed file should
; be represented by the appropriate hexadecimal character. For example,
; an uppercase 'A' can be represented with a '41', which is the ASCII
; code for 'A' (in hexadecimal). Strings of characters may also
; be recognized by simply specifying more than one sequence of
; bytes. (For an example, see the 'Ident' keyword for PKZip or ZOO.)
Ident 0,1a
; The Add command tells Squish how to add a packet to an archive of the
; specified type. This should be the normal 'add' command of your
; archiver, with one exception: the two special macros, "%a" and "%f",
; will be translated to the name of the archive and file to add
; (respectively).
DOS Add pkpak -oct a %a %f
OS2 Add arc2 aw5 %a %f
; The Extract command tells Squish how to remove packets from an
; archive of the specified type. "%a" will be translated to the name
; of the archive, and "%f" will be translated to the name of the
; file to extract. (The "%f" specification may be translated into
; a wildcard!)
DOS Extract pkunpak /r %a %f
OS2 Extract arc2 ew %a %f
; The View command tells Squish how to get a listing of the contents
; of the specified archive. As above, the "%a" will be translated
; into the name of the archive to process. This command isn't currently
; used by Squish, but it may be used in the future.
DOS View pkpak v %a
OS2 View arc2 l %a
End Archiver
; Phil Katz's PKZip if DOS
; Info-Zip's zip/unzip if OS2
Archiver ZIP
Extension ZIP
Ident 0,504b0304 ; "PK^c^d"
DOS Add pkzip -a %a %f
OS2 Add zip -j -k -o %a %f
DOS Extract pkunzip -n -) %a %f
OS2 Extract unzip -Cjos %a %f
DOS View pkzip -v %a
OS2 View unzip -Z -lvhz %a
End Archiver
; Haruyasu Yoshizaki's LHarc program, in maximum compression mode
; (for OS/2: Peter Fitzsimmons' LH2)
Archiver LHarc
Extension LZH
Ident 2,2d6c68 ; "-lh"
DOS Add lha a /m %a %f
OS2 Add lh2 a %a %f
DOS Extract lha e /m %a %f
OS2 Extract lh2 e %a %f
DOS View lha l %a
OS2 View lh2 l %a
End Archiver
; Robert Jung's ARJ program
;
; If you're short on memory, add the "-m4" option to the "arj a" command.
; Doing so will make ARJ use about 64K less memory.
Archiver ARJ
Extension ARJ
Ident 0,60ea
DOS Add arj a -e- %a %f
OS2 Add --- arj not supported under OS/2 ---
DOS Extract arj e -n %a %f
OS2 Extract unarj e %a %f
DOS View arj l %a
OS2 View unarj l %a
End Archiver
; Rahul Dhesi's ZOO program
Archiver ZOO
Extension ZOO
Ident 0,5a4f4f ; "ZOO"
DOS Add zoo a: %a %f
OS2 Add zoo a: %a %f
DOS Extract zoo e:O %a %f
OS2 Extract zoo e:O %a %f
DOS View zoo v %a
OS2 View zoo v %a
End Archiver
; RAR program
Archiver RAR
Extension RAR
Ident 0,526172211a0700
DOS Add rar a -ep1 -m5 -o+ -y %a %f
OS2 Add rar a -ep1 -m5 -o+ -y %a %f
DOS Extract unrar e %a %f
OS2 Extract rar e %a %f
DOS View unrar l %a %f
OS2 View rar l %a %f
End Archiver