home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / dbases / fishcat1.lha / FishCat.doc next >
Text File  |  1992-02-21  |  14KB  |  298 lines

  1.  
  2. FishCat V1.1
  3. ============
  4.  
  5.   So, Kickstart 2.0 is here, and boy does it look GREAT!! (thanks guys :-))
  6. But all of your applications still open their own screens in hires,
  7. non-interlace embarassing you in front of your friends.  Once I experienced
  8. 2.0 along with its usable Workbench, I wanted EVERYTHING to open a window on
  9. the workbench with 3D buttons (no read/blue glasses required).
  10.  
  11.   FishCat is intended to be a replacement for Aquarium.  Aquarium is one of
  12. my more "dog-eared" programs, and although it ran beautifully under 2.0, it
  13. was somewhat of an aesthetic shock from my crisp hires, interlace, overscan
  14. workbench.  I also found myself using Aquarium to look for programs, and
  15. writing the items I wanted on a slip of paper.  So I said to myself, "HEY!!
  16. these are the nineties... and you want to learn 2.0 anyway."
  17.  
  18.   FishCat allows you to search a database consisting of the programs on all
  19. existing Fish disks.  The influence of Aquarium is extremely evident, but I
  20. hope there are enough enhancements to make some people happy.
  21.  
  22.  
  23. REQUIREMENTS
  24. ------------
  25.  
  26.     FishCat was designed to be run on a HIRES, INTERLACED, OVERSCAN screen.
  27. Its window is 640x200, so it will fit on a hires, non-interlaced screen, but
  28. things will be a bit out of proportion (I personally feel that running your
  29. Amiga in less than hires, interlaced mode does a disservice to the Amiga and
  30. makes it look like a toy although for memory reasons, I realize it can be
  31. necessary).  You MUST have the HELVETICA font in both 11 and 13 points
  32. available for this thing to look suitably impressive.  While certainly not
  33. required, I would recommend finding a terminal program that opens a public
  34. screen (or at least opens on the workbench).  TERM 1.9c is my personal
  35. choice (but my demands are very reasonable, so it may not meet your needs).
  36. FishCat functions very well on my A3000/16, but I can make no performance
  37. promises on slower machines.  It requires ~290K when running.  I have not
  38. tested FishCat on a floppy, but I assume performance would be pathetic as
  39. in any application of this type.
  40.  
  41.  
  42. PERFORMANCE
  43. -----------
  44.  
  45.     I have spent a reasonable amount of time optimizing many of the searches
  46. in FishCat.  On an Amiga 3000/16, the entire current database can be
  47. searched for an arbitrary string in the description field in approximately
  48. 50 seconds compared to 1 minute 30 seconds for Aquarium.  Title and flag
  49. searches take less than 3 seconds.
  50.  
  51.  
  52. FEATURES
  53. --------
  54.  
  55.    - Reasonably fast searches
  56.    - Can open on a specific public screen or the default public screen
  57.    - "Iconifies" (using the 2.0 "zoom" gadget)
  58.    - Database is generally less susceptible to corruption than other efforts
  59.    - Internal support for adding new fish disks.
  60.       - Disks can be added in any order/combination
  61.       - Supports dropping "contents files" on the FishCat window to
  62.         automatically add them to the database (AppWindow)
  63.       - Database corruption is almost always limited to one fish disk
  64.       - Errors in the database can be corrected by simply re-adding the files
  65.    - Classy 2.0 look
  66.    - Supports configuration through tooltypes
  67.    - Runs from both CLI and Workbench
  68.    - Tons o' nice thoughtful features to make your life easier
  69.  
  70.  
  71.  
  72. Getting Around in FishCat
  73. =========================
  74.  
  75. Starting FishCat
  76. ----------------
  77.     FishCat can be run from both the CLI and Workbench. If run from the CLI,
  78. it accepts a public screen name as its only parameter.  If this is not
  79. specified, FishCat will open on the default public screen (usually the
  80. workbench screen.  I would suggest setting the stack to at least 10000 or
  81. you may experience problems (this is taken care of automatically when
  82. running from the workbench).
  83.  
  84.     When run from its icon, FishCat supports the following tool types:
  85.  
  86.      ICONIFY - If set to YES, FishCat will be iconified immediately after
  87.                being run
  88.      PUBSCREEN - If specified, it is set equal to the name (case sensitive)
  89.                  of the public screen on which to open the FishCat window.
  90.      USERBUTTON - If specified, the value will be used as the name of the
  91.                   "user" button rather than the default name("User").
  92.                   Only the first eight characters are used.
  93.  
  94. The Controls
  95. ------------
  96.     The FishCat window contains several gadgets which are described below:
  97.  
  98.     - Item list
  99.         This is a scrolling list of the items found so far in the current
  100.         search.  It will consist of all of the items on the current disk in
  101.         the case of a disk search, or all of the items matching the given
  102.         title, description, and flags as selected in the case of a
  103.         string/flag search.  This list is functional during a search.
  104.         Clicking on an item in this list during a search terminates the
  105.         search and displays the item selected.
  106.  
  107.     - Backward/Forward buttons
  108.         These buttons begin a downward/upward search (ie. a search from the
  109.         current disk to lower/higher disks).  In the case of a disk search,
  110.         this will advance to the next lower/higher disk in the database.
  111.  
  112.     - Stop
  113.         This button will terminate a search in progress.
  114.  
  115.     - Goto button (» «)
  116.         This button (situated immediately to the right of the Forward search
  117.         button) changes to disk search mode and sets the current disk to the
  118.         disk on which the current item is located.  This is useful if you
  119.         find a particular item, and you want to see what other items are on
  120.         that same disk.
  121.  
  122.     - Search type
  123.         These radio buttons select which type of search will be performed by
  124.         Backward/Forward buttons.  Clicking Disk search will immediately take
  125.         you to the disk number typed in the corresponding string gadget
  126.         (if in the database).  Clicking "String/Flag" search will clear the
  127.         item window and prepare for a search using the flags specified at
  128.         the right, and the strings entered in the title and description
  129.         string gadgets.  In order for the title and/or description strings
  130.         to be considered in the search, the corresponding checkboxes must
  131.         be checked.
  132.  
  133.     - Description box
  134.         This scrolling box contains the description of the currently
  135.         selected item.  Immediately above it is the disk number and name of
  136.         the current item.
  137.  
  138.     - Match/Show button
  139.         This button has two states, "Match" and "Show".  When in "match mode",
  140.         the selected flags will be used during any subsequent string/flag
  141.         searches.  When in "show mode", the flags set for the currently
  142.         selected item are displayed in the flag gadgets.
  143.  
  144.     - Set Button
  145.         This button is only available in show mode.  It sets the flags for
  146.         the current item to those selected using the flag gadgets.
  147.  
  148.     -User flag
  149.         The user flag acts like a normal flag in every respect. It can be
  150.         set, cleared, and searched for.  Although by default this flag is
  151.         named "User", it can be renamed using the USERBUTTON tooltype (I
  152.         personally name mine "Download" and use it to mark those files I
  153.         want to download later).  The User flag is different from the other
  154.         flags in only one respect.  There is no need to select the set
  155.         button to set the state of the user flag.  As soon as the user flag
  156.         is clicked, the entry for that item is changed in the database (it
  157.         must still be saved to disk if you want the change to be permanent).
  158.         There is also a menu item that can be used to clear the user flag
  159.         for ALL items in the database.  This flag is intended to be used as
  160.         a volatile flag to mark items for whatever reason you want to mark
  161.         them.
  162.  
  163.  
  164.     NOTES:
  165.             Holding the SHIFT key when clicking on the Backward/Forward
  166.         buttons, will take you to the first/last disk before performing the
  167.         specified function.  This means that shift-clicking while in disk
  168.         search simply takes you to the first or last disk, but while
  169.         performing a string/flag search, the search will merely start from
  170.         the lowest/highest disk.
  171.             If a search is interrupted, clicking the Backward/Forward button
  172.         will continue the search from the disk where the search was stopped
  173.         (clearing the item list first).
  174.             Typing in the disk number gadget and pressing enter will
  175.         auomatically switch to disk search mode and goto the selected disk.
  176.         Typing in the title or description string gadgets and pressing enter
  177.         will automatically switch to string/flag search mode and check the
  178.         entered field.
  179.             If the window is iconified during a search, the disk being
  180.         searched is displayed in the ttle bar of the FishCat window.
  181.             The small buttons to the left of the title and description
  182.         string gagdets can be used to copy the name of the current item to
  183.         the corresponding string gadget.
  184.  
  185.  
  186. Adding New Disks
  187. ----------------
  188.  
  189.     Adding new fish disks to FishCat is mind bogglingly simple.  You can...
  190.  
  191. A) Drop one or more "Contents.###" files on the FishCat window
  192.    (this will automatically add them to the database)
  193.  
  194. B) Select "Read New Disks..." from the Project menu.  This will bring up the
  195.    ASL file requester to select a file.  The selected "Contents.###" file
  196.    will be added to the database.  If you do not select a file, but click
  197.    "Okay" in the file requester with only a directory selected, The entire
  198.    directory will be read and all contents files will be added to the
  199.    database.
  200.  
  201.     If FishCat reports that a file is corrupt, this merely means that it
  202. could not decipher the format of the file.  Many early fish disks (<100)
  203. were poorly formatted at best, and will not be added to the database
  204. correctly.  If this happens, merely edit the contents file and try again.
  205. The file must have the text "This is disk ###" as its first non-blank line,
  206. and each item should consist of the item name followed immediately by
  207. a description (possibly indented).  I had NO problems with ANY disk after
  208. 200 (and only a couple between 100 and 200).  Also, my algorithm is much
  209. more robust than I described above, but the above format is your best bet.
  210.  
  211.  
  212. The Database
  213. ------------
  214.  
  215.     I have opted not to support the aquarium database format.  This is
  216. largely due to the fact that I had corrupted my database one too many times
  217. trying to add new disks.
  218.     My database consists of an INDEX containing the name, flags, and offset
  219. for each entry in the library.  There is also a "data" directory containing
  220. one directory for every 100 Fish disks.  Each disk directory contains upto
  221. 100 "Contents" files.  These contents files are stripped down versions of
  222. the ACTUAL contents files located on the original disks.  I realize it may
  223. seem absurd to store each disk in its own file rather than one HUGE one, but
  224. I have experienced no problems, it dramatically reduces the chance of
  225. corrupting the database, and it allows for faster operation in many cases.
  226.     The only file you really need to backup when adding new disks might be
  227. your index file, as it is theoretically possible to trick the program into
  228. reading an invalid file.  Again, this could only corrupt the index and even
  229. this is not likely.  To facilitate this, there is a "Save as..." menu item
  230. for backing up the index.
  231.  
  232.  
  233. Possible Future Enhancements
  234. ----------------------------
  235.  
  236.     The following are some of the features that might be implemented if I
  237.     get any support:
  238.  
  239.         - Support for more "contents file" formats (including USENET posts,
  240.           and Aquarium updates)
  241.         - Better error checking, and limiting of user input at appropriate
  242.           times to avoid possible confusion regarding the interface.
  243.         - AREXX support (mostly as a learning experience, but it could be
  244.           used to force a terminal program to download the selected file
  245.           for instance)
  246.         - Faster searches
  247.         - Support for more system configurations
  248.         - More tool types as suggested by users
  249.  
  250.  
  251. Special Thanks
  252. --------------
  253.  
  254.     I would be remiss if I did not thank the following people:
  255.  
  256.         - Fred Fish for providing an AMAZING and UNPARALLELED service to the
  257.           Amiga community
  258.         - B Lennart Olson for Aquarium which I used to find most of the
  259.           utilities and programs on my system.
  260.         - Matt Dillon for DICE.  An amazing compiler(try it, you'll
  261.           like it :-))
  262.         - John Novak for beta testing, and many helpful suggestions
  263.         - My girlfriend for allowing me to ignore her long enough to write
  264.           this program
  265.         - And FAR FROM LEAST, the Commodore team who gave us and continues
  266.           to improve this incredible machine (WOW!!)
  267.  
  268.  
  269.  
  270. THIS PROGRAM IS SHAREWARE!!!
  271. ============================
  272.  
  273.     If you use this program, clear your conscience and motivate further
  274. development by sending $10 to the following address:
  275.  
  276.     Matt Brown
  277.     2403 W. Springfield Ave. Apt.Y-8
  278.     Champaign, IL 61821
  279.  
  280.  
  281.     If 10 bucks is out of your league, at least let me know you're using it,
  282. and send me your comments.
  283.  
  284.     E-Mail sent to mks22040@uxa.cso.uiuc.edu will also be forwarded to me.
  285.  
  286.  
  287.  
  288.     Most of all, enjoy this program!!
  289.  
  290.     If something is missing that is necessary for this program to be useful
  291. to you, LET ME KNOW!  I can't change it if I don't know about it.
  292.  
  293.  
  294.     Oh yah... ofcourse, I am not responsible for any damage this program
  295. might cause.  It has done me no harm in ANY of its incarnations, so I would
  296. classify it as "Mostly Harmless" :-)
  297.  
  298.