home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / vrac / abool20.zip / BOOL.TXT < prev    next >
Text File  |  1995-07-28  |  21KB  |  417 lines

  1.  
  2.  
  3.        Boole Text Searcher Version 2.0 c 1995 by Peter Neuendorffer
  4.        for Windows 3.1         File: ABOOL20.ZIP
  5.  
  6.  
  7.        Boole must be distributed as Shareware.
  8.        After 30 days, register it for $30.00.
  9.  
  10.        1. The Program
  11.        3. Auto Save Settings
  12.           Text Conditions
  13.        4. Directory Searching
  14.        5. Mask Size
  15.        6. Editing Text,
  16.           Bookmarks, History List & Speed Buttons
  17.  
  18.  
  19.  
  20.                             The Program
  21.  
  22.        Notes:   Micheal Moreau. "Previous instance" code by Pat Ritchey.
  23.        The program runs at 640X400 or 800X600 screen resolution.
  24.  
  25.        While you do a search, only run this program. "Boole" uses memory.
  26.        This program finds text. It searches for text in a single file,
  27.        and also an entire directory, or hard drive.
  28.        A special feature in Directory Searches is to search just DOC and
  29.        TXT text files. To do that, turn the File Filter "text" checkbox on.
  30.        An improvement to version one ensures that you can search the
  31.        entire drive at once. Up to 1000 files can be listed for each search.
  32.  
  33.        This software looks in files to find the text you request. This text
  34.        can be more than one thing at once, such as "computer and disk." Note
  35.        when you make search requests, do not use quotation marks. The
  36.        words AND, OR, NOT have special meanings. Searches are supported
  37.        for Hard Drives only.
  38.  
  39.        To register Boole, send $30.00 to Peter Neuendorffer,
  40.        1399 Commonwealth Ave #11, Allston MA 02134.
  41.        Tel: 617-254-2213    Internet: petern@channel1.com
  42.        This software not disabled in any way, no further media will be sent.
  43.  
  44.        To install, copy all files to a sub-directory on your hard drive.
  45.        Then open up a program group in Windows, select File/New. Then browse
  46.        to BOOL.EXE in your new directory. Select his, then click on
  47.        Change Icon, OK, then OK again.
  48.        It is recommended that you not run other programs on your desktop
  49.        when running this software as it will require most of your 1MEG RAM.
  50.  
  51.        You need an IBM compatible 386 or higher, 486 preferred, and
  52.        Windows 3.1. with 8 megs of memory. This software uses the short
  53.        file names, and not the new Windows 95 long file names. Mouse required.
  54.  
  55.        You may be familiar with the File Manager's ability to
  56.        scan your disk for file names. This software will scan your disk
  57.        or directories for text that appears in files. It works best with
  58.        text files or word processor files. A text file might be an email
  59.        message, a manual, a story, letter, something created with
  60.        Notepad, Megaedit, Brief, WordPerfect, MSWord.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.        Boole p 2.
  69.  
  70.        The Program
  71.  
  72.        Searching for text on your drive helps you find files, find
  73.        isolated ideas, especially when you do not know exactly
  74.        what you are searching for, or what file it is in. This software
  75.        has two main screens. The opening screen has the main menu,
  76.        and you can view and search single files fow search words or
  77.        special conditions. The directory search has searching of
  78.        multiple files.
  79.  
  80.        A search request, if blank, finds all files. A simple search
  81.        request could be "Tom" (without quotes.) A condition strings
  82.        together words or phrases with special words AND  NOT  OR.
  83.        "Tom and house" looks for both to be present within a mask.
  84.        More on mask sizes later. "Tom or house" finds one or the
  85.        other. You can have up to 4 words strung together - terms.
  86.        When the manual, or the software talks about search conditions,
  87.        it means these single or complex search words.
  88.  
  89.        You can search an entire Directory, including sub-directories of
  90.        that directory by choosing Search/Directory Search. Simply put,
  91.        you DOUBLE click on a directory name in the box at the top left.
  92.        Then specify if you want the software to search subdirectories, enter
  93.        in a text condition words and click on Search. A list of found files
  94.        appears below (if any.) You can select one to view, and search. Click
  95.        on "View Question" if you wish to preview each file before viewing.
  96.  
  97.        The second way to search is by and individual file. Click on
  98.        File/Open from the main screen and select a text file to view.
  99.        You may then use Find First and Find Next to search the file.
  100.        You can Close any display with File/Close, but this is not
  101.        neccessary. You can open a new file any time that a search is
  102.        not in progress. A small scroll bar may appear at the top
  103.        of any display screen. This is if the file is larger than
  104.        29000 bytes. Click this bar to move forward and backwards in
  105.        the file by 29000 bytes at a time.
  106.  
  107.  
  108.        If you want to use the same text request you might have used
  109.        in the Directory Section, you can click on the Button "use
  110.        directory condition" after clicking on Find First Both selecting
  111.        a file found in Directory Search, or opening a file from
  112.        File/Open have the same effect of displaying the file, which
  113.        you can then search for a text condition.
  114.  
  115.        When you view files, only 31-32 Kilobyte chunks of each file are
  116.        loaded at a time. To continue on in the file, click on the small
  117.        scrollbar at the top of the screen. If there is no scrollbar
  118.        present, then the file is not large.
  119.  
  120.        When a file is displayed, you can get a quick list of 100 alpha-
  121.        betized words sampled from the file. Click Search/Wordlist. Then
  122.        you can search for one of the words by double clicking the word
  123.        in the word list, or clicking on View in the wordlist window.
  124.  
  125.  
  126.        When searching both ways, if you click on the "whole words"
  127.        checkbox, the searches will look for whole words only. Thus, if
  128.        whole words is checked, and you search for "book" it will find
  129.        "book" but not "bookish" or "bookshelf." You should leave whole
  130.        words off most of the time, because these searches are much slower.
  131.  
  132.  
  133.  
  134.        Boole p 3.
  135.  
  136.        Word Perfect (and some other data files) are automatically
  137.        formatted for searching and viewing in Boole. If the file is
  138.        wide, you may click on Edit/Font Small to change the font size
  139.        in the main window so you don't have to scroll from left to right.
  140.  
  141.        This software does not usually search \DOS or \WINDOWS,
  142.        during directory searches. This speeds up your "entire
  143.        disk" searches dramatically. To enable searching of
  144.        DOS or WINDOWS, you must click on the "DOS/WINDOWS"
  145.        checkbox in the Directory Window. When searching
  146.        \WINDOWS\SYSTEM you may get a "Share" system error
  147.        when it looks at the fonts. This is recoverable.
  148.  
  149.        Auto Save Settings
  150.  
  151.        You can restore all your directory settings each session. To do this,
  152.        make sure Options/Auto Save Settings is clicked on -checked
  153.        before ending a session. The next time you run the software,
  154.        all your Directory Search settings will be restored. Also the
  155.        last displayed file will be displayed again. Certain
  156.        other settings are always restored, including bookmarks, the
  157.        drop-down list in Directory Search, and your mask size.
  158.  
  159.  
  160.        Text Conditions
  161.  
  162.        When you enter in a search request, you are looking for words
  163.        (or imbedded words) to be found in the text tiles. A simple
  164.        example would be "hello" searching for the word "hello".
  165.        You can string together more then one word or phrase in a single
  166.        condition with the words AND, OR, NOT. You can also use
  167.        parentheses to group your request logically. When words are in
  168.        parentheses, they are meant to be taken together. Conditions don't
  169.        have to be capitalized, as the software will find "Hello" and
  170.        "hello" the same way. Here are some examples of some text
  171.        conditions, and what they would search for.
  172.  
  173.        Text Condition         What it searches for in the text file(s)
  174.        ---------------------   --------------------------
  175.           Hello                all occurrences of  word hello
  176.  
  177.           fun city             all occurrences of phrase "fun city" together.
  178.  
  179.           hello or goodbye     finds all occurrences of either hello or
  180.                                goodbye but not necessarily both
  181.  
  182.           computer and disk    finds all occurrences of  both computer
  183.                                and disk - both must be present. They
  184.                                must be in the same group of lines set
  185.                                by the Mask Size (see below), say
  186.                                within 5 lines of each other. But not
  187.                                necessarily together on the same line.
  188.  
  189.           tom and not bob      finds tom, but not if the word bob
  190.                                in close bye.
  191.  
  192.           event and (Boston or Chicago)   finds event if either Boston or
  193.                                           Chicago is mentioned close by.
  194.           show or shown or showed         finds one of the three words.
  195.  
  196.  
  197.  
  198.  
  199.  
  200.      Boole p 4.
  201.  
  202.      Directory Searching:
  203.  
  204.      One of the two ways to search for text is with the Search/Directory
  205.      Search screen. Choose this screen from the main menu.  It is the
  206.      dark grey screen. You will search for files in an entire directory
  207.      that contain your condition. Choose the directory by double clicking
  208.      the large directory box at the top.
  209.  
  210.      Hypertext jumps:
  211.      You can get to Directory Search another way. From the main file
  212.      display window, highlight a word or phrase. You can double click
  213.      a word to send it to the Directory Search. Or select text and click
  214.      on Search/Hypertext. This is the same as going to the Directory Search
  215.      except that your highlighted text is all set to do a multiple search on.
  216.  
  217.         ---> Directory searches that have "child directories" enabled will
  218.         only search 3 directories deeper than the start directory.
  219.  
  220.         From Search / Search Directory, the dark gray screen. You choose a
  221.         directory to search, then enter in a condition in  the white text
  222.         box. Click on Search to search for the condition. Any files
  223.         containing the text will be listed at the bottom white box.
  224.  
  225.         The blue bar that appears shows the directory that is being searched.
  226.         The green bar shows the file that is being searched. To cancel your
  227.         search, click on Cancel Search. You only have to cancel when the
  228.         Blue bar is displayed. If a single file is taking a long time
  229.         to search (listed in Green in the middle right), you can click
  230.         on Jump File. The software asks you if you want to skip it, to
  231.         make sure the timing is correct.
  232.  
  233.  
  234.         Once you get your list, the condition is listed in black on gray,
  235.         and the starting directory is listed in yellow just above the list
  236.         box. This list stays up until you do another search that is
  237.         successful, or you leave the program. Once you have the file list,
  238.         you can view and search a single file by double clicking on the file
  239.         name in the box at the bottom of the screen.
  240.  
  241.         Settings: For a plain search, you can leave all the checkboxes off
  242.         and set to "entire file" and click on "Clear" (the default settings
  243.         each time you start up). This will search all the files in the
  244.         directory. Or hit "Panic Button" at the top of the screen to refresh
  245.         original settings and clear out your current results.
  246.  
  247.         Search Child Directories? Make sure this is checked if you want
  248.         to also search the directory structure that is in this directory.
  249.  
  250.         Ask Each Directory? If you want a box to pop up asking if you
  251.         want to search the next directory. When you search, Yes means search
  252.         it, No means skip the directory, Cancel means stop the search, and
  253.         All means change back to searching all the subdirectories, nonstop.
  254.  
  255.         20 lines, 100 lines: If you want to search only the top of each file.
  256.         File filter: For example *.doc will just search files with that
  257.         extension. To search just text files, set the "text" checkbox on.
  258.         If you skip the condition, a search will list all files.
  259.  
  260.         [More Settings on next page]
  261.  
  262.  
  263.  
  264.  
  265.  
  266.         Boole p 5.
  267.  
  268.         Directory Search More Settings.
  269.         File Directory Search More Settings.
  270.  
  271.         DOS/Windows: LEAVE THIS OFF. To search the DOS or Windows
  272.          directories you will have to turn this on first.
  273.         Programs: LEAVE THIS OFF. You only need this if you are
  274.         looking for program files. If off, it ignores all files with
  275.         these extensions, guaranteeing much faster searches:
  276.         EXE, COM, GIF, BMP, HLP, DLL, VBX, PIF, PAR, ZIP, BIN, SYS, OVL,
  277.         OBJ, TPU, BAS, FOT, SCR, WAV, SYS, FON, 386, ICO, MOZ, AVI
  278.  
  279.         View Question: If this is checked you will be asked each time
  280.         a file is displayed if you wish to continue viewing it. Optionally,
  281.         when viewing files, instead of Clicking on View, you can click on
  282.         File PEek, which will show the beginning of the file first.
  283.  
  284.         Go to Find First In View: Turn this on if you want to immediatley
  285.         search for your directory condition when you view each file
  286.         with View. The condition used is the one that was originally
  287.         used for the search -in yellow on the Directory screen. Note, the
  288.         current search settings will be used which may be different from the
  289.         ones used in the original multiple search.
  290.         Drive Box: Select the Drive you wish to search in.
  291.  
  292.  
  293.         Narrow Down
  294.         You can narrow down your search list further by using "NARROW DOWN".
  295.         You click on "NARROW DOWN" and enter a single word or condition to
  296.         further narrow down your list. When you use NARROW DOWN, you are
  297.         searching in the entire file. You can find one word that is at the
  298.         top of the file, and also another word that is at the bottom. You
  299.         search for the first word, get your list, then use Narrow down to
  300.         search for the second word.
  301.  
  302.         To be safe, leave all settings alone. Searching files is not fast.
  303.         The fruitless search takes the longest. If you use single words
  304.         instead of conditions to search for, it is fastest. Next fastest are
  305.         OR conditions (without using AND). 20 and 100 line searches are much
  306.         faster, but only look in the top of each file. ALWAYS LEAVE "PROGRAMS"
  307.         OFF (not checked.)
  308.  
  309.  
  310.         Mask Size:         Used for "AND"  "NOT" requests only.
  311.         This is the number of lines that the software groups at once when
  312.         searching. The Mask Size is set from Search/Mask Size. For example,
  313.         if the Mask Size is set to 5, then the software expects to find the
  314.         various words in your condition within 5 lines of each other.
  315.  
  316.         The mask size can be set up to 30, but a value of 5 is recommended.
  317.         In other words, if the mask size is 5 and you search for "computer
  318.         and disk" the software expects to find the words "computer" and
  319.         "disk" within 5 lines of each other to have a hit. Boole only uses
  320.         the mask size only for search requests that have the words AND, NOT
  321.         in them. Generally, leave the mask size  at 5 or less. Your mask
  322.         size is saved for the next session.
  323.  
  324.         To search for AND conditions so that each word could be anywhere in
  325.         the file, then disable the Mask Size. Click Disable from the Mask
  326.         Size Window. This sets the mask size to zero. You could find "lamp
  327.         and chair" but you don't care if the two words were far apart.
  328.         A mask size of zero "disabled" makes for much faster "AND" searching.
  329.  
  330.  
  331.  
  332.         Bool p. 6
  333.  
  334.         Editing Text
  335.  
  336.         You can set one or even two editors (or a word processor) to
  337.         use to edit the files you search and view. From "File" at the
  338.         main menu, choose Set Editors. Then type in the full file name
  339.         of the editor program(s). You can use the browse buttons to find
  340.         the files. You only have to do this once, although you can change
  341.         it again later. If you are not sure what files are in fact
  342.         word editors, go to the Windows Program Manager, highlight an editor
  343.         or word processor icon, and click Files/Properties. The file
  344.         name will be listed. This software takes care of the "working
  345.         directory" part.
  346.  
  347.         When you wish to edit a file -it must be displayed- click on
  348.         Edit/Edit Text. when you are done editing, be sure to save
  349.         and close the editor.  This is the best way to edit the file,
  350.         so that Boole will update the display when you go back to it.
  351.         If you used the editor without using the Edit/Edit Text menu option,
  352.         then be sure to click on File/Open/OK to update your display,
  353.         when you go back to Boole.
  354.  
  355.         Glossary
  356.  
  357.         Search: look for words or combinations of words in a file
  358.               or all the files in a directory
  359.         Directory search: look for words in entire directories or drive
  360.         Find first, find next: look for next occurrence in a single file
  361.         Child directories: search the subdirectories in a directory
  362.         Prompt each directory : in directory search, you will be asked
  363.                     in advance if you wish to search each child directory
  364.         Whole words: if checked means the searches look for entire words.
  365.                     thus "book" would be found but not "bookish"
  366.         File filter: is the file mask used in directory search.
  367.         Block:       the current chunk of a file that is displayed.
  368.         Mask size:   for AND, NOT searches only is the groups of lines
  369.                     taken together to look for your condition. 1-30.
  370.         Condition:   a text query can be constructed by combining search
  371.                     words with AND OR NOT and parentheses.
  372.         Bookmark:   a list of displayed files you keep yourself.
  373.  
  374.         Book Marks
  375.  
  376.         You can keep a list of up to 50 files names from File / Bookmark.
  377.         When you have any file displayed, you can add that file name
  378.         to the bookmarks. The current search condition (if it was found
  379.         in this file) will be added to the listing as well. This list
  380.         can be viewed and changed at any time from File/Book Mark.
  381.  
  382.         This is a list to add names of files you have searched and
  383.         displayed. It stays up for your next session. It will not be aware
  384.         if you move the file, but will just say "could not load file" if
  385.         you try to view one that has moved on your drive.
  386.  
  387.         Single click a file already in the box and either Remove
  388.         it from the list or View it. The file itself is NEVER deleted,
  389.         only the name in this list. This is different from the Directory
  390.         Window list. Empty the Book Mark box with Clear. When it fills
  391.         to 50 items the earliest item drops off. The list is in reverse
  392.         order, with the most recent items listed first.
  393.  
  394.         History List: An automatic list of the last 50 files that have
  395.         been displayed is always available from File/History.  You can
  396.         add a file from this list to the bookmarks, or display it. This
  397.         is useful to move back and forth to previous files. This list
  398.         is saved for your next session. Please note, this is not the
  399.         same as the list in the Directory Search, which is your current
  400.         list of files meeting your search request.
  401.  
  402.  
  403.         Speed Buttons  On the main screen from left to right:
  404.         (open door)    Go to Directory Search.
  405.         (paper)        Open Single File.
  406.         (first arrow)  Find First in a file.
  407.         (next arrow)   Find Next in a file.
  408.         (?)            Help System.
  409.  
  410.                        In the Directory Search screen:
  411.         (closed door)  Return to the main screen.
  412.         (drive)        More settings including change search drive.
  413.  
  414.  
  415.  
  416.  
  417.