home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The California Collection
/
TheCaliforniaCollection.cdr
/
his012
/
smdoor2s.exe
/
lha
/
SEARCHME.DOC
< prev
next >
Wrap
Text File
|
1990-04-12
|
8KB
|
197 lines
=============================================================================
SEARCHME 2.00b (Mar. 90)
By: John A. Qualtrough
1989,90 Q-Ware Las Cruces, NM
Originally developed for: Art Pike at Waterfront West Wildcat!
Las Cruces, NM (505)-523-4528
24hrs 3/12/24/96 N,8,1
These programs can be used free of charge by any and all WildCat! sysops for
on-line or off-line purposes. The same goes for Sysops of other systems, but
I doubt if it will work. SEARCHME is dependant upon the structure of the
WildCat! CALLINFO.BBS file which is unique to WildCat!. (sorry Opus)
This archive should contain the following files:
SEARCHME.EXE (main Door program)
SEARCHME.CFG (Door config. file)
SEARCHME.TXT (Opening screen text file)
SEARCHME.DOC (this file)
SAMPLE.DB (Sample database file)
DBMOD.EXE (Database Modifier pgm)
DBUNMOD.EXE (Database UN-Modifier pgm)
DBSCAN.EXE (UNDER DEVELOPMENT)
=============================================================================
SEARCHME was written as a Live program (door) for the WILDCAT! BBS. It will
search through ASCII database files for user specified word(s), phrase(s), or
word fragment(s). The current search rate is about 30000 lines/minute on a
10Mhz XT! DB files must be in the same directory with SEARCHME.CFG, and
SEARCHME.TXT. SEARCHME.EXE can be located in the default directory, or in any
subdirectory in the DOS PATH. The caller information file (CALLINFO.BBS)
can be located anywhere as its' path is specified in the SEARCHME.CFG file.
For more details on pathing of the files, see the section on RUNNING SEARCHME
FROM WILDCAT!
=============================================================================
DATABASE REQUIREMENTS:
----------------------
SEARCHME will search up to 32 ASCII data files automatically when run.
The database file(s) must be composed of ASCII <cr><lf> terminated lines.
Each entry can be one or more lines which are delimited with the "~" character.
This character must be at the beginning of each entry, and at the end of the
file(s). Here is an example of a PROGRAMS database:
~File Name: NDD.EXE Norton Disk Doctor
Author : Peter Norton
Available: Part of Norton Advanced Utilities
~File Name: DM.EXE Disk Manager
Author : On-Track Software
Available: Puchased alone, or with some Hard Disk units.~
The above "database" is an example of two entries of three lines each. All
entries in a database DO NOT have to have the same number of lines. This will
depend upon where you place the delimiter character (~) in the file(s). Be
sure there is one delimiter at the beginning, and one at the end of each file.
A sample database "SAMPLE.DB" should be included with this SEARCHME packet.
Included with SEARCHME is a program called: DBMOD.EXE. This program will
automatically insert the delimiter (~) in the proper positions within your
database files. It requires the database filename, and a character or string
which is unique to the first line of every entry of your database. In the above
example, the words "File Name:" are unique to the 1st line of each entry. From
this, DBMOD can insert the delimiter at the proper position. If the file is
formatted to have only one line per entry, just press [ENTER] when asked for
this unique first-line identifier. If unsure, experiment with the SAMPLE.DB
file provided with this packet.
DBUNMOD.EXE is also included. This program simply reverses the process
performed by DBMOD. If in the future you decide you no longer wish to use
SEARCHME, you can run DBUNMOD on all the database files to restore them to
original.
=============================================================================
SEARCHME CONFIGURATION FILE:
---------------------------
SEARCHME.CFG format: (6+ line ASCII file)
BBS NAME
SYSOP NAME
DRV:\PATH\CALLINFO.BBS
DATABASE CONTENTS (Movies, Files, etc..)
DOOR TIME LIMIT IN MINUTES. (optional)
FILE1 (name of 1st database file)
FILE2 (name of 2nd database file)
.
.
FILEx (name of last database file)
Sample SEARCHME.CFG (10 lines) :
Waterfront West Wildcat!
Art Pike
C:\CAT\CALLINFO.BBS
pd/shareware files list
15
ATOC
DTOF
GTOL
MTOQ
RTOZ
If the time limit (line 5) is a "0", the door time limit will be set to
the amount of time the user has remaining. There maybe up to 32 files in the
file list, or as few as one (minimum).
NOTE: The sample .CFG MAY have comments in () on the right-hand end of each
line. If you use this file, DELETE these comments BEFORE use.
=============================================================================
RUNNING SEARCHME FROM WILDCAT!:
-------------------------------
SEARCHME is called by running a DOOR batch file which passes the search
path as the command line parameter. SEARCHME will use this path to locate
the .CFG, .TXT, and the database files used during the run. In this way,
you need only ONE copy of SEARCHME.EXE to run multiple databases!
NOTE: SEARCHME.EXE must be in the default directory (usually \WILDCAT) OR
---- located somewhere in the DOS PATH.
Sample DOOR batch file which searches a database in C:\DATA1\ directory:
ECHO OFF
SEARCHME C:\DATA1\
CAT
=============================================================================
SEARCHME.TXT FILE:
------------------
This file is a 1-4 line ASCII text file which is displayed at the opening
screen. In it you can place any special instructions, notes, etc. which
pertain to the database being searched. SEARCHME.TXT needs to be in the same
directory as the .CFG, and database files. This is the same directory which
is passed as the command line parameter during a run.
=============================================================================
Note to SYSOPS:
---------------
SEARCHME may be run off-line by omitting the command line
search path. But, you MUST be in the directory with the
.CFG, .TXT, and database files when running off-line.
Example:
--------
C:\>SEARCHME
=============================================================================
NEW FEATURE(S) IN 2.00 :
Version 2.00b has been "slowed down" to a maximum character output rate of
240 cps. The system BAUD rate can be anywhere from 1-115,000 (as usual),
but since some "AT" class machines can (and do) overrun the searial transmit
buffer, I have added this down-shift to prevent the "missing characters"
syndrome.
=============================================================================
CONCLUSION:
----------
I know this documentation is not very good, and the operation is a little
complex. However, after you get 'er running, I think you'll have a nice door
which you can use for many applications. If you've tried and tried, and just
can't make it work, drop me a line on Waterfront West WildCat! (see below).
=============================================================================
=============================================================================
If you have questions, comments, or wish custom modifications, send them to:
John A. Qualtrough
315 Linda Vista Rd.
Las Cruces, NM 88005
Or leave a [M]essage on Waterfront West Wildcat! (24 Hrs - 3/12/24/96) N,8,1
(505)-523-4528 I am user: John Qualtrough
=============================================================================
P.S. I also do custom WildCat! doors. (but I DON'T do windows!)