home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
MT_SCN11.ZIP
/
MT-SCAN.DOC
< prev
next >
Wrap
Text File
|
1993-08-02
|
8KB
|
204 lines
MT-Scan (v1.1)- Another "Modern Technology" PPE for PCBoard v15.0
-----------------------------------------------------------------
Welcome to the "MT-SCAN TEXT FILE SEARCH" PPE program!
Note that this is a generic "text search" program, and it can be
applied to just about any text file. For example, you could customize
the messages and use it to search a big BBS listing <such as the RIME
Node List etc..> for specific matches as provided by the user or to
check a master cross-file listing to find which boards have a specific
file.
This program has been packaged and is being distributed and customized
with menus and intro text files appropriated to use for a search your
DOWNLOAD.TXT file for matched entries <such as ProWho - WHO UPLOADED WHAT
FILE door written with ProKit by Sam Smith> The idea for this program
originated from Sam's program! Thanks Sam!
Here's a sample of the intro files included with this package;
INTRO (INTROG for Ansi INTROR for Rip Graphics)
-----
Welcome @FIRST@ to the "WHO UPLOADED THAT FILE" Door!
This program will scan the system download/upload log
and list all entries that mention a specific name.
WELCOME (WELCOMEG for Ansi WELCOMER for Rip graphics)
-------
You may select any full filename for scanning.
The search is done based on matching keywords.
(like the Zippy scan function)
You may do searches like this;
[MT-SCN.ZIP] All access to this file
[Fred Barra] All activity by this user
[08-02-1993] All activity on this date
Type (H) for Help or (I) for Info file at search prompt
Searches can take a few moments... so please be patient!
There are two additional files which can be modified by the sysop at will;
HELP
----
HELP file (for MONO) / HELPG (for ANSI) / HELPR (for RIP)
Help is included here so you may provide the caller with additional help.
Should you use this door to search a specific file and wish to pass along
any special instructions about it's use etc.. then you may edit the file
to suit your needs.
INFO
____
INFO file (for MONO) / INFOG (for ANSI) / INFOR (for RIP)
Again included here should the need arrise for some special info to be
shown to the caller. Please feel free to edit the included INFO file
to suit your needs.
Here is a sample configuration file:
D:\PCB\MAIN\DOWNLOAD.TXT
[File Xfers Info]
@X0A(@TIMELEFT@ min left) -> Filename or Text to Search for? (Q)=quit
MENU
INTRO
@X0FLoading FileInfo
---------------------[Quick Description of Config Lines]-----------------------
Line 1: Path and Filename of the File to Search for Text entries
Line 2: Purpose of door [ie if used to search a bbs list change appropriately]
<This is displayed to your callers> and has no other purpose except
to inform them what the door will do.
Line 3: Door Prompt.
Line 4: Menu file name NOTE! => menuG for ANSI version menuR for RIP version
Line 5: Intro file (shown to caller just prior to entering door) "see above!"
Line 6: Message shown to caller prior to loading the door. (0)=Disable
-------------------------------------------------------------------------------
!!! NOTE !!!
MT-SCAN.CNF <this file> MUST EXIST in current Path for this door work properly!
* Detailed configuration option lines *
Line 1: Location of the Text File to Scan/Search for Text entries.
(The most popular use for this door would be to scan the
DOWNLOAD.TXT file to search for matched entries such as how
many times a file has been downloaded, or how many files a
user has download etc... However this a GENERIC Text search
door and you can have it search any text file <such as a bbs
listing etc...> Provide the correct file in this field that
you wish to scan for text>
Line 2: Title Feature - If using this PPE to search ul/dl then the above
sample is okay, however you could use this to search bbs listings
etc... If this was the case you should change this title
appropriately. This message is displayed to the caller each time
they load this program to identify the feature they are about to
perform. This message should be changed accordingly if using this
door for other uses, ie if you were using it to Text Search the
RIME bbs Node Listing then this message could be something like
[Search for RIME Nodes Listing]
Line 3: Prompt shown to caller each and everytime they use this door.
Again modify it accordingly to whatever you might use this door
for.
Line 4: MENU file name (NOTE add a G for ANSI and R for Rip)
This file is displayed to the caller just before the door Prompt.
The sample included mentions the correct way to search for entries
in the DOWNLOAD.TXT file. However this is a GENERIC text search
door and if used for other purposes you should change this message
appropriately.
Line 5: INTRO file name ( " " " )
Shown to caller prior to Entering this door. This should be
a message explaining the purpose of this door. One is included
which mentions it will scan the DOWNLOAD.TXT file for matched
entries. However this is a GENERIC text search/scan door and
if used for other purposes then you should change this message
appropriately
Line 6: Message which shows just prior to loading the door. (0)=Disable
On my bbs I use this door to search filelistings (such as the
DOWNLOAD.TXT) for File Info and Summaries. I also use it to
let callers search bbs lists for keywords. If you use this door
to search nothing but the DOWNLOAD.TXT files then the above
example is fine. If you use it to Scan for Text in other files
<such as a big bbs listing> then you should chance the message
appropriately. To DISABLE this message from showing prior to
loading the door put a 0 "numeral Zero" in this line.
DISCLAIMER
==========
In no event will I "or anyone else" be liable to you for any damages,
including any lost profits, lost savings or other incidental or
consequential damages arising out of your use or inability to use
this program, or for any claim by any other party.
This is a FREE program!
If you have any questions, bugs, or suggestions, please contact
me at:
Modern Technology
Post Office Box 6531
Providence RI 02940-6531
Or you may call my BBS where the latest version is always available
as a FREE download.
BBS/DATA LINES: 401-333-1638 [HST DS 16.8] * 401-333-3451 [HAYES 96]
You may also leave mail at Salt Air.
Enjoy! Fred Barra
Author and Sysop Modern Technology BBS
History
-------
7-8-93 (v1.0)
Initial coding and release.
8-02-93 (v1.1)
- Minor corrections in the code, also optimized the search routines
they are now not only a bit smaller but the door should now run up
to %25 faster then the the previous release.
- Fixed some cosmetic oops!
- Compiled with the latest PPL compiler. <7-19-93 release>
- Added a Help file. Typing (H) at prompt will now show the caller
a HELP file. <This was requested by some sysops> which needed
to provide the user with special information, when or IF this
door was being used for a special purpose. The Help filename
should be named HELP (for MONO) / HELPG (for ANSI) / HELPR (for RIP)
- Added an INFO file which is displayed to the caller. The Info Filename
is ; INFO (for MONO) / INFOG (for ANSI) / INFOR (for RIP)
- Fixed a bug in which if a searched item was longer then one page, and
the caller used the NS option at the prompt to display the found matches
in non-stop mode, the NS would be saved to memory and any searches which
followed during that session in the door would automatically display in
NonStop mode regardless weather the caller specified it or not. Fixed!