


   =====( UnPack V0.21 )==============================================


        Trion 'Unpack' Utility.

        (c) Copyright Paul Spijkerman, '96-'98. All rights reserved.

        Written for use with the Trion BBS package.


   ===================================================================


    Unpack is a simple Shell userinterface (frontend) for archiver programs.


    Adds wildcards to archivers without wildcards.

    Do you ever wanted to Unarchive a lot of ARJ archives and
    discovered that 'unarj' doesn't support wildcards.
    So you have to type all the names in shell to extract.

    Now you just type 'Unpack e #?'

    (same goes for RAR, ARC and others)


    Unpacking in one pass of different types of archives.

    Did you ever had a directory of Archives you wanted to
    Unarchive and discovered you needed a different programm
    for each archive.

    Now you just type 'Unpack e #?'


    Did you ever had archives without extensions so you didn't
    knew what type they where.

    Now you just type 'Unpack i #?'


    Did you ever got a new type of archive (like RAR or LZX)
    and forget how to operate the new different archiver.

    Now you just type 'Unpack e #?'


    You have to remember 1 command to Unarchive or view archives.


    With 'Unpack l #?' you can view archives.


    Unpack uses the 'trion:cfg/unpack.cfg' for it's data about
    archivers, but it can also be placed in S: for systems
    without the BBS package on disk.

    Unpack works by comparing the first 10 bytes of the
    archive with bytes suplied in the configuration to
    find out what type of archive we are handling.

    Note that the 'recognition' codes of some archives not
    always start on position zero .. so for the first bytes
    without any meaning for the recognition code you can
    suply a "??" .. so the programm knows that byte
    doesn't matter.
    

    Note that Unpack is stopable with Ctrl-C.
    This works in the list modes , but when it starts programmas
    like LHA they sook up all the Ctrl-C's .. because the machine
    is so quick. At the moment you type the next Ctrl-C Unpack
    has already started the next programm. So you end up terminating
    all started programmas until the end of the dir has been reached.


    The default version of the Unpack configuration file also
    contains code to recognize IFF, JPEG and GIF files.
    Which can be usefull
    if you have a load of files without (proper) extensions.
    It also shows the pictures in Unpack mode.
    It has one drawback .. when there are archives in the same dir
    they are Unpacked.
    (Maybe a PicView mode would be nice, have to think about the
     usefullness and future of this util)
    But it also has some advantages .. cause I use ViewTek to
    show pictures, but when ViewTek shows the next picture it
    still shows the previous. I have only 512K of chip mem. so
    big pictures are a problem. With Unpack ViewTek shows
    1 picture at a time and saves a lot of chip mem.
    Because I have an OCS (old) chipset ViewTek shows pictures only
    in 16 colors and always in hires/interlace .. even if they are
    very small. You can fix this by typing 'LO NL' on the command
    line when using ViewTek. But it's more work and people forget
    quick .. so it's usefull when it's done for you with Unpack :)

    The recognition of picture files is used in the ViewArchive
    script .. if the BBS couldn't findout the type of the
    archive the ViewArchive script starts Unpack .. if
    the file is indeed a picture .. unpack will start Viewtek
    and Viewtek will give the resolution and depth of the
    picture.

    Unpack is used by typing a command at the command line
    with an archive name or a wildcard.
    And an optional path when in extract mode.


    Usage:    Unpack command [-options] archive [path]

    commands:

    E, X  = Extract archives.
    L     = List archives.
    I     = Info on archive types.

