home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff301.lzh
/
Aquarium
/
Aquarium.doc
< prev
next >
Wrap
Text File
|
1990-01-10
|
10KB
|
286 lines
***************************************************************************
***************************************************************************
Aquarium (c) B Lennart Olsson 1989 - All Rights Reservered.
NewFish (c) B Lennart Olsson 1988 - All Rights Reservered.
***************************************************************************
***************************************************************************
Aquarium and NewFish may be copied and redistributed without any additional
permission, provided that no charge is requested for it's use and that
this information is included.
Special thanks to Niclas Persson, who supported in many ways.
***************************************************************************
0. Contents.
-------------
1. Intro
2. Installation
3. Search methods
4. Search mode and program mode
5. Navigation gadgets
6. Project menu
7. Hardcopy menu
8. Break-"gadget"
9. Key philosophy
10. Files in data directory
11. Future revisions of Aquarium
12. Using NewFish
13. Version history
1. Intro.
----------
Aquarium is a program intended for searching through a special
database containing information of the contents in Fred Fish's
AmigaLibDisks, in order to find programs etc with specified features.
NewFish is a program that appends the contents files to the database.
--- WARNING! Read this doc before you attempt to run this program;
it just might make your database useless if not handled with care.
A future revision will take care of this problem.
2. Installation.
-----------------
There is nothing special about it: just be sure you have Aquarium
and the data directory in the same directory level, and if you're
running it from the CLI you must be in the same directory. See also
10: about the files in data.
3. Search methods.
-------------------
The program searches through the database in three ways: Keys, sub-
string in program name and substring in the describing text.
a: All the requested keys must be defined in the investigated item,
otherwise it continues with the next.
b: If the keys are allright it scannes the item name for the sub-
string ( not case sensitive) specified in the string-gadget 'name'.
If this fails it continues with the next item.
c: The sub-string specified in the string-gadget 'text' is used for
a search in the describing text in the same way as in b.
A special feature is included with the 'name' gadget: You may jump to
a disk directly by giving the disk number after a '/'. Example: '/150'.
(Not a beauty, but it works.)
Note that if you're in programming mode no search operations are
performed.
4. Search mode and program mode.
---------------------------------
In search mode you setup the keys by clicking on the keywords and a
navigation gadget. In program mode the setting of a key will change
the database directly.
Programming mode is recognized by a red screen and by a special image
for the mode-gadget.
5. Navigation gadgets.
-----------------------
Double left arrows:
With this gadget you move directly to the beginning of the
database.
Left and right arrow:
With these gadgets you searches the database towards the beginning
resp. the end for a match. In programming mode you only take one
step in that direction.
Printer:
Make a hardcopy of the showed item, using the settings in the
Hardcopy menu.
Right gadget with open lock:
Search the database for the next item which does not have any keys
specified.
Mode gadget:
Switches between search mode and program mode. In program mode the
screen turns red and in search mode green-blue.
6. Project menu.
-----------------
About:
About Aquarium and me.
Save:
Save the changes to disk.
Save & Quit:
Save changes, if any, and quit THIS program.
7. Hardcopy menu.
------------------
Options:
Include text:
The describing text is included in all printouts.
Sorted list:
Normally, when a printed search is started, the program prints
directly any found item. With this option enabled it first puts
them in a buffer, sorts them when end of file is reached, and
then prints them.
Formfeeds:
With this enabled it send a FormFeed character to the printer
whenever a new page is to start. Otherwise it sends linefeeds
according to the settings in preferences.
Count them:
Search through the database, beginning at the top, count the
matches and show the result in the text field.
New Page:
Start a new page.
Print:
Search through the database and print the matching items.
8. Break-"gadget".
-------------------
When time consuming actions take place, like searching for substring
in the text or printing, you'll find that a special gadget appears in
the text field. Clicking in the neighbourhood of this will stop the
current action.
9. Key philosophy.
-------------------
We have tried to make the keys self-explanatory and the settings
logical and consequent, but there are a few things that can help you
understand the philosophy:
a: IFF pictures and such - Data & Graphics
b: Sound files - Data & Sound
c: Fonts - Data, Text processing & Graphics
d: The Subroutine key stands for librarys and useful routines
in general.
There are some unused keys that you can use for your own purpose.
Just put the names in the file 'KeyNames' in the 'Data' directory.
10. Files in data directory.
----------------------------
The data directory must reside in the same directory as Aquarium.
If you run this program from CLI, you must make this your current
directory. You don't have to make any assignments.
Data:
This file contains the describing text only.
Index:
Contains the keys and pointers to data file.
Names:
Contains item names.
KeyNames:
Contains the key names appearing in the key-gadgets.
11. Future revisions of Aquarium.
----------------------------------
If you have any suggestions or thoughts around this program,
please let me know.
12. Using NewFish.
-----------------
NewFish is a program to read the contents files of the Fish's disks
and append them to Aquarium's database.
WARNING:
You MUST take a backup copy of all files in the data directory
before you run NewFish. This program is not very smart and if it failes
to interpret the contents file correctly and you accept the result,
there is NO WAY to delete the incorrect item from the data base.
The program reads the contents file and tries to extract the different
items from the text. For each item it asks you if it is OK and then
saves it directly to disk. A problem might occure if the file is only
partly correct and you abort the program. This leaves you with an
uncomplete disk in the database. To correct the situation you must edit
a version of the contents file and delete those items already appended.
A file with no separatable items will be read as one item and called
Diskxxx.
Make a hardcopy of all the contents files before you tries to append
them. Read them carefully and check if the following rules applies.
a: A contents file with separate items is allowed to have a multi
line comment in the beginning, if all the lines starts at the
first column.
b: The items must be separated by a blank line.
c: An items first line must start in the first column and the lines
there after must start with a tab or spaces.
d: A contents file that are to be interpreted as one item only must
not contain any white spaces at the beginning of lines if it
shall be correctly interpreted. You may try to read it with NewFish
to see if it reads correct. You will be noted if the program treats
it as a disk item or not. Just abort if it separate it into
different items.
In some way I'll make this program easier to use. It's just to
silly the way it is now.
13. Version history.
--------------------
Aquarium 1.11:
Changes that make it easier to compile for another language by
linking with a special text file. This also applies for the
names of files. The program will use the names specified in
the text file and if these don't work, it tries the default
Swedish names and thereafter the English names.
Centering of key names did not work if the line in the key-name
file ended directly after the name. Now it does.
Save caused the program to start at the beginning of the data
base. Changed.
The disk number option in the name gadget did not always work.
This bug is now removed.
Aquarium 1.12:
A minor internal enhancement.
--------------------------------------------------------------------------
That's all. If you have any suggestions or thoughts around this program,
please don't hesitate to contact me.
B Lennart Olsson
Brunnsgatan 8
223 60 LUND
Sweden