home *** CD-ROM | disk | FTP | other *** search
-
- ╔══════════════════════════════════════════════════════════════════════════╗
- ║ ║
- ║ ISoft D&M ║
- ║ POB. 5517 ║
- ║ Coralville IA 52241 ║
- ║ U.S.A ║
- ║ ║
- ╚══════════════════════════════════════════════════════════════════════════╝
-
- *******************************************************************************
- * RSS.DOC-V2.2 *
- * LAST UPDATE - Feb. 27, 1992. (c) 1991, 92 Ron Loewy. *
- *******************************************************************************
-
-
-
-
- ░░░░░░░░░░░░░ ░░░░░░░░░░░ ░░░░░░░░░░░
- ░▒▒▒▒▒▒▒▒▒▒▒▒░ ░░▒▒▒▒▒▒▒▒▒▒▒ ░░▒▒▒▒▒▒▒▒▒▒▒
- ░▒▓▓▓▓▓▓▓▓▓▓▓░▒ ░░▒▒▓▓▓▓▓▓▓▓▓▓▓ ░░▒▒▓▓▓▓▓▓▓▓▓▓▓
- ░▒▓██████████░▒▓ ░░▒▒▓▓███████████ ░░▒▒▓▓███████████
- ░▒▓█ on's ░▒▓█ ░░▓▓██ mart ░░▓▓██ earc
- ░░░░░░░░░░░░░ ▒▓█ ░░░░░░░░░░ ░░░░░░░░░░h
- ░▒▒▒▒▒▒▒░░▒▒▒▒ ▓█ ▒▒▒▒▒▒▒▒░░ ▒▒▒▒▒▒▒▒░░
- ░▒▓▓▓▓▓▓▓░░▓▓▓▓ █ ▓▓▓▓▓▓▓▓░░ ▓▓▓▓▓▓▓▓░░
- ░▒▓███████░░████ ██████░░▒▒ ██████░░▒▒
- ░▒▓█ ░░ ░░▒▒▓▓ ░░▒▒▓▓
- ░▒▓█ ░░ ░░░░░░░░░░░▒▒▓▓██ ░░░░░░░░░░░▒▒▓▓██
- ▒▓█ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▓▓██ ▒▒▒▒▒▒▒▒▒▒▒▓▓██
- ▓█ ▓▓ ▓▓▓▓▓▓▓▓▓▓▓██ ▓▓▓▓▓▓▓▓▓▓▓██
- █ ██ ███████████ ███████████
-
- *******************************************************************************
- * File List *
- *******************************************************************************
-
- This package contains the following files :
-
- RSS.EXE - RSS program executable.
- RSS.DOC - This file.
- RSS.REG - Registration file.
- PROGRAMS.TXT - ISoft D&M shareware products description.
-
- *******************************************************************************
- * Why Register *
- *******************************************************************************
-
- RSS is a shareware product, if you find this product valuable,
- please register it. This section describes the reasones you should register.
-
- By registering you will receive a printed manual, with many examples,
- and a diskette with the latest RSS version, and - you will help us to create
- the next version of RSS - that will include even more features then the
- features that are currently available!, we might even add YOUR enhancment
- requests!
-
- *******************************************************************************
- * Whats New *
- *******************************************************************************
-
- V2.2 - Added the ? help command. From this version RSS is distributed by
- ISOFT D&M, P.O.B 5517, Coralville IA 52241, U.S.A
-
- V2.1 - Video configuration is restored better when RSS terminates.
-
- V2.0 - Added the FIND command that displays the text source of the
- found key, the SEARCH command "finds" the same keys, but
- only displays the key and file name, the find command displays
- the actual text.
-
- PLEASE NOTICE - Dictionaries built in previous releases of RSS
- are NOT COMPATIBLE with RSS V2.0 and above! . Be sure to RE-BUILD
- all of your dictionaries before you start using them with RSS V2.0.
-
- I'm sorry for the inconvenience this restriction might cause, but
- the new FIND feature is so important that the dictionary structure
- change is worthy.
-
- V1.2 - Command re-direction from the DOS prompt is now available.
- - Build file definition prefix on command line changed to
- '$' from '^', The '^' character is used by 4DOS as a command
- delimiter.
-
- V1.1 - RSS has a new information screen when building the indexes, the old
- version supplied all the keys with no sum information. Now RSS shows
- the sum information of the keys found in each file.
-
- *******************************************************************************
- * Introduction *
- *******************************************************************************
-
- RSS is an extention of my own TXS text search program, RSS uses the same
- technology and search logic to perform FAST LOGIC searches on static text
- databases. The difference is that RSS has a more complicated database
- build facilities with enhanced creation parameters, and the ability to
- hold huge databases. RSS is a command line program where TXS is a full
- CUA environment. As RSS is a superset of TXS, I might integrate the two
- products by enhancing future versions of TXS and RSS to work in dual mode -
- "simple" mode - current TXS database definition, and "enhanced" mode -
- current RSS database definition.
-
- The need for RSS was created when I found out I spend a lot of time searching
- a problem index of a company I give technical support and consulting to, the
- index arrives once a month, and is about 1 MB large. In the index we have
- about 500 - 2000 different problem descriptions with search keywords. The
- problems are seperated by a dashed line, and are uniqely identified by a
- problem key number that appears on the first line after the dashed seperator
- line, with the prefix PROB#=. I found myself hoping for the ability to perform
- smart searchs with logic operators, the way I do on our telefax database with
- my own TXS and XCD programs.
-
- RSS was built to be generic enough to answer the problem I encountered, and
- provide a similiar solution to as many cases as possible. RSS allows the user
- to define a multi-key, multi-file database, with variable length "entries"
- (or records), build an economic existential dictionary on it, and use it as
- an index for fast logic searches. RSS allows the definition of common words
- that are belived to exist in all of the entries, and are thought to be left
- out of the dictionary, by defining "exclude" dictionary. RSS supports two
- dictionary "models", the small model that supports dictionaries of up to
- 30,000 words, and the big model that supports up to 120,000 words.
-
- Version 2.0 of RSS added the ability to FIND the search criteria in the
- source text database. RSS does not read the entire text database to display
- the relevant text, but saves a pointer and length indicators in the dictionary
- created during the build. RSS searces are as fast as ever, and only the text
- that meets the search criteria is extracted from the text database and
- displayed.
-
- If you know Ralf Brown's Interrupt List you can look for a package called
- RSSINT27 that defines a build definition file for that list.
-
- *******************************************************************************
- * Terminology *
- *******************************************************************************
-
- In order to understand RSS operation and customization we will define the
- following terms :
-
- SEPERATOR - a string prefix that is used to define the end of an entry, and the
- begining of a new one.
-
- KEYLINE - an integer that is used to define the number of lines below the
- SEPERATOR line in the entry, the entry's key resides on.
-
- KEYPOS - the position from the start of the line the key starts.
-
- KEYLEN - the number of characters used to define the key.
-
- DELIMITER - a character used to seperate between two words in a text database.
-
- EXCLUDE - a word that appears on all of the entries in the database, and
- we want to exclude from actual database.
-
- *******************************************************************************
- * Dictionary-Definition *
- *******************************************************************************
-
- In order to define the dictionary to RSS, the user must create a dictionary-
- build-file-definition. This file has the following structure :
-
- seperator string start looking at the line start
- keyLine integer no. of lines below the seperator line where key is ..
- keyPos integer key starts at pos on keyLine
- keyLen integer keyLength
- delimiter char character used as delimiter in the area ...
- exclude word words to exclude
- dictionary parm small or big dictionary
-
- Example :
-
- seperator ======= seperator is a 7 = string at the begining of the line,
- rest of line is ignored.
- keyline 1 key is in first line below the seperator
- keypos 12 key starts in column 12
- keylen 5 and is 5 characters long
- delimiter ' ' space is a delimiter
- delimiter ',' , is a delimiter
- delimiter '=' = is a delimiter
- exclude he he will not be entered to dictionary
- exclude prod prod -"- ...
- dictionary big dictionary will use the 4 dict vars, instead of default 1
-
- *******************************************************************************
- * Operation *
- *******************************************************************************
-
- At the dos command line type RSS to get the following help screen :
-
- RSS V2.2, ISoft D&M, P.O.B 5517, CORALVILLE IA 52241, U.S.A
-
- Usage ..
- RSS cmd cmd-parm
- Where cmd Are ..
- b - build database from files given in cmd-parm
- s - search database for expression given in cmd-parm
- f - find in database entries for cmd-parm expression
- ? - display help screen
- Build format ..
- RSS b [@dictionary-file] [$definition-file] files [files]
- Search command ..
- RSS s [@dictionary-file] logic-search-expr
- Find command ..
- RSS f [@dictionary-file] logic-search-expr
- Notice ..
- dictionary-file - with no suffix, will use .DCT and .CFG
- definition-file - used to build dictionary.
-
- IMPORTANT : DO NOT SPECIFY .BDF SUFFIX TO DEFINITION FILE!
-
- *** Remarks :
-
- When you enter file names to build in the build command, dos wild-cards are
- allowed.
-
- If you omit the dictionary-file, RSS will try to get the dictionary name
- from the environment variable RSSDICT, if this name does not exist, RSS will
- use the name 'RSSDICT' to build the dictionary configuration and index files.
-
- If you omit the definition-file, RSS will try to get the definition name
- from the environment variable RSSBLDF, if this name does not exist, RSS will
- use the name 'RSSBLDF' to read the build configuration parameters.
-
- PLEASE NOTICE - dictionary and definition file parameters given MUST NOT
- include any file name extention.
- (e.g. RIGHT -> rss b @dict1 $def *.*
- WRONG -> rss b @dict1 $def.bdf *.* )
-
- The logic search expressions understood by RSS have the following format :
-
- [NOT] search-word-1 [AND | OR | XOR [NOT] search-word-2 [AND | ...]]
-
- Some examples will clarify the definition :
-
- RON and not landmark - will print all of the files that
- contain the word RON, but do not
- contain the word LANDMARK.
- JOG or DIE - will print all the files that
- contain the word JOG, or the
- word DIE, or both of them.
- JOG xor DIE - All of the files that contain
- either one of the words DIE or JOG,
- but not both of them.
-
- Some points to consider :
-
- RSS does not make a difference between upper and lower case letters. -
- lanDmark, LANDMARK, landMArK and landmark are all the same.
-
- RSS definition for a word - any set of characters seperated by delimiters.
-
- Operator precedence : NOT, AND, XOR, OR.
-
- *******************************************************************************
- * Warranty *
- *******************************************************************************
-
- There is no warranty what so ever, The program is supplied as is,
- The distributer (ISoft D&M), or the author (Loewy Ron), are not,
- and will not be responsible for any damages, lost profits,
- or inconveniences caused by the use, or inability to use this program.
- The use of the program is at your own risk.
- By using (or attempting to use) the program you agree to this.
-
- *******************************************************************************
- * Distribution *
- *******************************************************************************
-
- RSS is distributed by ISoft D&M, P.O.B. 5517 CORALVILLE IA 52241, U.S.A.
-
- RSS is (c) copyrighted by Loewy Ron, 1991, 92.
-
- RSS is a shareware program, please register your copy.
- To register your copy of RPTP please refer to the supplied
- RSS.REG file.
-
- Other programs distributed by ISoft D&M are described in the supplied
- PROGRAMS.TXT file.
-
- *******************************************************************************
- * Contact *
- *******************************************************************************
-
- Please contact :
-
- ISoft D&M,
- P.O.B 5517
- Coralville IA 52241,
- U.S.A
-
- *******************************************************************************
- * Credits *
- *******************************************************************************
-
- RSS was written using Turbo-Pascal 6.0 (Copyright - Borland Intl').
-
- 4DOS is a copyright of J.P. software.
-
- E.T. Floyd wrote the DDJ published DICT unit, I used the ideas in this unit
- to create RSS, and was helped by the published source code, but My dictionary
- uses different hash algorithm. ( I saw that in DDJ Jan. 1991 MR. Floyd
- answered a letter regarding the hash algorithm. ), I removed some of the
- code I did not need from the DICT unit, and added the ability to remove
- keys from the dictionary.
-