home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
util
/
fdb-1.3.lha
/
FDB
/
FDB_english.doc
< prev
next >
Wrap
Text File
|
1994-04-01
|
11KB
|
353 lines
FDB - Documentation
*******************
Copyright
*********
FDB (C) 1993-94 kMel, Klaus Melchior
These programs are freely distributable, but copyrighted by me. This
means you may freely copy them as long as you do not charge more than a
nominal fee for copying. These programs may be put on PD disks,
especially on Fred Fish's AmigaLibDisks and Fred's CDROMs. If you want
to distribute these programs you MUST keep this document with it. The
programs and documents must be distributed in their original unmodified
form.
These programs cannot be used for commercial purposes without written
permission by the author. The author can not be made responsible for
any damage which is caused by using these programs.
These programs are GiftWare. If you like them and use them
regularly, you should consider to send a small donation to the author
in order to honor the work he has put into these programs.
Send comments, suggestions or bug reports, and the gifts to:
Klaus Melchior, Schulstrasse 17
D-52156 Monschau, Germany
Phone: +49 (0)2472 4710
ADSP: kmel@eifel.adsp.sub.org
DE: kmel@eifel.fido.de
FIDO: 2:242/7.2@fidonet
FIDO: 2:2452/107.2@fidonet
What is FDB ?
*************
FDB & UDB are based on find/updatedb-utilities from Larry Phillips
and Martin Steppler. If you already have installed them it is easy to
use my tools, because they are compatible. I use the same kind of
database.
- UDB generates a database in a directory "FindDB:", which you must
first assign to some place on your harddisk. It scans all
directories and files specified in the file "FindDB:<db>.config".
This file must contain only one line; pathnames are separated by
spaces, e.g.:
Filename Contents
------------------ -----------------------
FindDB:find.config -> Work: Sys:
FindDB:test.config -> RAM:
FindDB:<db>.config -> <path> <path> ...
To avoid paths you can define a 'AP=AvoidPaths' pattern in this
line. You only have to set a '~' (tilde) at the begin of the
pattern. There should be only one in the line.
If you would scan the "S:" and the "man:" directory, without all
"guide" drawers, generate following line:
Filename Contents
------------------- ----------------------
FindDB:test2.config -> S: ~(#?guide/) man:
<db> is the name of the database. So you can have several
databases in your "FindDB:", e.g. one of the last Fish-CD, one of
all your Sources, ... . Default of <db> is "find", like Larry's
find.
Furhermore, udb provides scanning of several paths without having
to create a <db>.config file. You can simply specify the paths in
the command line, e.g.:
udb db test RAM: SYS:
This leads to the consecutive scanning of "RAM:" and "SYS:". The
names of all files and dirs are stored in the database "test".
- FDB finds quickly files/dirs by using these databases.
If your are looking for a file on an already scanned CDROM, you
only have to specify the name of the database and the filename,
e.g. you want to locate 'ToolManager' on the last
'FreshFish'-CDROM:
fdb db fresh03 ToolManager
If you don't know where to find 'ToolManager' in your databases,
select all databases while typing:
fdb db #? ToolManager
- LDB lists the files/dirs in the specified database.
CLI arguments
*************
UDB
===
Paths/M
paths to scan; if no paths are specified, <db>.config is used
DB=DataBase/K
specify a database, default is "find"
AP=AvoidPaths/K
specify a pattern, which _expanded_ paths should not be scanned,
e.g.: use "#?guide/" to avoid the "3.x:s/guide/" path
FDB
===
P=Pattern/A
amiga-pattern, is used between two "#?", so a pattern like "foo" is
really "#?foo#?", seen at Larry's find.
DB=DataBase/K
specify a database, default is "find"; if here a pattern is used,
FDB look into "FindDB:" and if the pattern match, these databases
are scanned.
E=Exact/S
the pattern at 'P=Pattern/A' is used exactly the way you specified
it and is not expanded to "#?<pattern>#?".
CS=CaseSensitive/S
the pattern is handled casesensitive
D=Dirs/S
only show directories
F=Files/S
only show files
NH=NoHead/S
no headers are displayed, entries are not sorted
NP=NoPath/S
no absolute pathnames are displayed
PG=PAGES/S
the output is handled in pages, 'return' to continue, other key &
'return' to break
LDB
===
DB=DataBase/A
specify a database, default is "find"
What you need !
***************
- Kickstart >= 2.0
- Workbench >= 2.0
How to install
**************
You could create a drawer like "finddb" and set an assign "FindDB:"
on it. All tools of FDB are requiring this assign, so you have to
create it. Every of the <db>.config and <db>.codes files are stored
there.
You should create a line in your "user-startup" like this:
"assign FindDB: Work:finddb/"
Copy the "bin/" files to a place where you already have a path on,
normally this is "C:" or "bin:".
copy bin/#? C:
This is limited !
*****************
UDB
===
- commandline in "<db>.config" is limited to 1023 bytes, only one
line
FDB
===
- found path & filename are limited to 1023 characters
LDB
===
- path & filename are limited to 1023 characters
History of FDB
**************
1.0 12.12.93 * first public release
31.12.93 + fdb: added 'P=PAGES' mode
1.1 * private release
07.02.94 + fdb: rewrote find routine in assembler
08.02.94 + fdb: mode 'E=EXACT': locating with "MatchPattern"
- fdb: corrected bug, break wasn't recognized at
startup (Andreas Harrenberg)
- fdb: corrected template & doc, 'NH=NoHead'
(Gottfried Janik)
- fdb: corrected bug, break at mode 'P=PAGES' was
recognized too late
09.02.94 - doc corrected (Martin Steppler)
- udb: corrected bug, break wasn't recognized at
startup (Andreas Harrenberg)
1.2 10.02.94 * release
03.03.94 - fdb: corrected bug with ReadArgs()
- udb: corrected bug with ReadArgs()
08.03.94 + udb: rearranged source for better error handling
+ udb: added option 'AV=AvoidPaths', a pattern of paths
not to scan (Thomas Kobler)
> ldb: created
19.03.94 + doc rewritten in texinfo
+ release contains now doc & guide file
21.03.94 > german documentation
+ fdb: now 'DB=DataBase/K' can contain a pattern to
select several databases (a spezi from bavaria)
25.03.94 - german doc corrected (Andreas Harrenberg)
- ldb: 'DB=DataBase/K' changed into 'DB=DataBase/A'
(Andreas Harrenberg)
+ udb: 'AP=AvoidPaths' could also be set in the
<db>.config (Andreas Harrenberg)
27.03.94 - doc corrections (Martin Steppler)
1.3 30.03.94 * release
What is to do in future ?
*************************
- ENV-variable "FINDDB" = default homepath of config/codes-files
- UDB: softlinks
- FDB: sorted lists
- FDB: MUI-Application
- LDB: 'P=PATH/M' - define paths, which should only be listed
- check if 'DB=DataBase' option contains a path for databases
- define a extended database format to store name, size, date
- create program to convert AmiBack index files to databases
- FDB: only load parts of <db>.codes file in case of low memory
situations
- installer script
Version of files
****************
FDB 1.188 13112 Bytes
LDB 1