
 Comments on ZAQ.BTM:                                            Dec. 1993

 1.  You can change the following SET line to point to your ram drive,
     if you have one.  Also, any valid filename is allowable.  For
     example, "set q$t=D:\qaz.tmp" or "set q$t=E:\temp\c.q".  Even if
     you don't have a ram drive, it would pay to point this to your TEMP
     directory.  You should include a drive and path.  And you can delete
     this, and all the other, comment lines once you've dealt with them.

 2.  Any archiver that QAZ can handle can be added to ZAQ.  All you have
     to do is add a label for the extension, and follow the format for
     the appropriate unarchiver command.  QAZ can handle self-extracting
     archives, but ZAQ is only able to deal with explicit extensions.

 3.  The viewer is more elegant if it starts up with the selection bar
     positioned on the line with the first filename.  This can be
     accomplished with a buffer-stuffer.  Uncomment this line and change
     it to one of the following commands, or some equivalent one.

       fakey down down down down down down
       keystack down down down down down down
       stuff dn dn dn dn dn dn

 4.  I use different colors in different shells.  You could replace the
     single IF line following with some IFF block to cover that, such as:

           iff "%Q"=="" .and. %_shell ge 1 then (
               cls whi on bla bor yel ^ goto End)
       elseiff "%Q"=="" .and. %_shell lt 1 then (
               cls bla on whi bor yel ^ goto End)
        endiff

     I also stick in various context-sensitive screen clearings, notably
     a "cls whi on bla bor bla" before the first line in the :Qaz
     section, and a "cls whi on bla bor yel" before the first line in
     the :Zaq section, since I have "list" aliased to Vern Buerg's LIST,
     which won't turn on a border by itself, unlike 4DOS's List.  You
     can of course put whatever you want in anywhere you like.

 General Comments:

     This BTM uses only two commands new to 4DOS 5.0 (the "on error
     goto Help^on break goto End" part on line two), and will function
     without them.  It should clean up its environment variables and
     temp files okay.  ZAQ views only, and deletes the files it extracts
     to view (it does *not* pipe files to the screen, since not all the
     archivers can handle that, and trying to let those that can do it,
     while those that can't extract got too complicated).

     ZAQ is not as efficient as it might be.  It always calls QAZ again
     to generate a new table of contents after a viewing; ideally, it
     should use the temp list again, if it exists and is current, but I
     couldn't get that to work reliably.  But QAZ is quick, so this is
     only a delay of a second or so.

     ZAQ only views files.  It should be possible to get it to extract
     or delete them from the archives, as do Gordon Haff's freeware
     X-Ray viewers (which are better than ZAQ for ZIP, ARJ, LZH or ZOO
     archives).  You could probably do this by testing for the archive
     extension, and making the extract command a variable (i.e, sqz %qc
     %qsd\%@name[%1].%@ext[%1] %Q), with that variable being changed to
     the extract/delete command based on an inkey question.  If you can
     manage it, feel free.  I kept getting caught in IFF loops.

      Jorj Strumolo * RIME: ->8 * gjs@enest.com * Fido: 1:323/126

