1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
|
.TH SEARCHMONKEY 1 "September 12, 2006"
.SH NAME
SEARCHMONKEY \- search files using regular expressions aiming to
replace find/grep tools
.SH INTRODUCTION
\fBsearchMonkey\fP is a GTK+ application designed to replace the find/grep
command line tools.
The aim of this utility it to provide fast, slick text search ability
to the GTK community.
.SH The User Interface
This section describes every button, window, table and what it shows
or does.
.PP \fBThe Main-Menu\fP
.SS
.SS File Menu
.SS
.TP
.B New
Starts a brand new search (losing previous search history).
.TP
.B Open Criteria
Opens a previously saved search criteria.
.TP
.B Close
Close a child criteria window, but not the main application.
.TP
.B Save Criteria
Saves a search criteria (excluding the results).
.B Save Criteria As
As Save Criteria, but brings up a save-as dialog.
.TP
.B Save Results
Saves the results to a custom XML file. Only available
when search complete.
.TP
.B Print
Print the search results in a well formatted way.
.TP
.B Print Preview
Brings up a display of what would have been printed.
.TP
.B Print Setup
Brings up the system's printer setup dialog.
.SS
.SS Edit Menu
.SS
.TP
.B Word Wrap
When selected, allow the results text to wrap instead of keeping to
strict lines.
.TP
.B Set Font
Brings up a font dialog to adjust the results window base font.
.TP
.B Set Color
Brings up a color selection dialog to adjust the highlight colour for
the match results.
.TP
.B Clear History
Remove search history from drop down criteria.
.TP
.B Select All
Selects all file name matches in the left results pane.
.TP
.B Delete
Deletes the selected file name(s) forever (once confirmed).
.TP
.B Copy
Copies the selected file name(s) to clipboard.
.SS
.SS View Menu
.SS
.TP
.B Toolbar
If selected, the tool bar is shown.
.TP
.B Status Bar
If selected, the status bar is shown.
.TP
.B Sort by
Within sub-menu, choose sort criteria e.g. file name, file size,
modified date.
.SS
.SS Search Menu
.SS
.TP
.B Start
Starts the search.
.TP
.B Stop
Stops the search. Enabled when search is running.
.TP
.B One phase searching
Allows content matches to be displayed immediately, instead of waiting
for all files to be found.
.TP
.B Configuration
Brings up application configuration dialog.
.SS
.SS Test Menu
.SS
.TP
.B Reg. Expression
Allows a regular expression to be entered, along with sample text as a
way of checking that your expression returns the expected results.
.SS
.SS Window Menu
.SS
.TP
.B SearchXX
Allows quick switching between open search
criteria/results windows.
.TP
.B Help Menu
Description
.TP
.B User Guide
Brings up this web address from your default browser
.TP
.B Support
Brings up the searchMonkey support page from
Sourceforge
.TP
.B About
Brings up a dialog showing version number, license, and author's
email.
.SH The Toolbar
Can be hidden from the main-menu (view->toolbar).
.TP
.B New
Starts a brand new search (losing previous search history).
.TP
.B Open
Opens a previously saved search criteria.
.TP
.B Save
Saves a search criteria (excluding the results).
.TP
.B Save Results
Saves the results to a custom XML file. Only available when search
complete.
.TP
.B Play
Start the search.
.TP
.B Stop
Stop the search. Only available when search in progress.
.TP
.B Print
Print the search results in a well formatted way.
.TP
.B Forums
Starts a new browser instance to the searchMonkey Forums
.SH The Advanced Search Tab
Displayed when Expert User is enabled.
.TP
.B File Name
Type a new regular expression for file name searching.
.TP
.B Containing Text
Type a new regular expression for (text-only) contents
searching. Disable this field with check button.
.TP
.B Expr. Wizard
Brings up a regular expression helper dialog. Makes typing new regular
expressions easier.
.TP
.B Look In
Type a new starting location for search. Disable recurse directories
with check button.
.TP
.B Open/Multi
Brings up a folder search dialog. Multi allows multiple folders to be
selected for expert searches.
.TP
.B More/Less Than
Type a file size (in KBytes) to narrow searches to files less-than
and/or more-than specified size.
.TP
.B More/Less Than
Type a date expression (e.g. dd/mm/yyyy or dd mmm
yyyy) to narrow searches to files modified before and/or after
specified date.
.SH The Options Tab
Available at all times from the main screen.
.TP
.B Specifies Not Expression
Inverts the search i.e. finds
everything except your regular expression. Status bar shows [INV] to
indicate inverted.
.TP
.B Match case
When disabled allows case insensitive searching of
file names and/or content.
.TP
.B Regular Expression
When selected allows regular expressions to be used.
.TP
.B DOS Expression
When selected allows file names to be found using
DOS/Glob style pattern matching i.e. * and ?.
.TP
.B Open/Multi
Brings up a folder search dialog. Multi allows
multiple folders to be selected for expert searches.
.TP
.B More/Less Than
Type a file size (in KBytes) to narrow searches to
files less-than and/or more-than specified size.
.TP
.B More/Less Than
Type a date expression (e.g. dd/mm/yyyy or dd mmm
yyyy) to narrow searches to files modified before and/or after
specified date.
.SH File Name Results
This pane is only filled when matches are found.
Left clicking on a match will bring up content matches (displayed in
the Context Results pane, if any), and right-clicking the row will
bring up a sub-menu.
.SS
.SS Right Click Menu
.SS
.TP
.B Open
Opens the file name in your preferred text editor. See configuration.
.TP
.B Copy
Copies the full file name into the clipboard for use elsewhere.
.TP
.B Delete
Deletes the selected file forever, once confirmed.
.TP
.B Explore
Opens your preferred file browser that contains the selected file
.SH Context Results
This pane is only filled when text matches are found, and a result has
been selected.
The line that matches the search expression will be shown in full, and
the actual match text will be highlighted. Once text has been selected
with the left-button, the right button will allow copy options, or
select-all to be performed on the text. These allow text to be copied
from the results window, and pasted elsewhere.
.SH Advanced File Name and/or Contents Searching
To find files, using regular expressions can be achieved by filling
out the File Name and Look In boxes. The starting file name can be
typed, copied or selected by using the Open dialog. To search a single
folder, uncheck the Search Subfolders box.
If you want to find a specific regular expression within a text file,
then fill out the Containing Text box with a regular expression. Note:
significantly less files are shown when Containing Text is added
because binary files are skipped.
For a more specific search, add in min/max file size, and the
after/before modified date (if known).
Once ready, press Play to start the search process.
Results (if any) immediately start appearing in the File name results
table, and once complete the total number of matches is shown in the
status bar
.SH Status Bar
Describes what is currently going on.
* Phase 1 searching is the gathering of files that match the
filename, size and modified date criteria.
* Phase 2 searching is the internal checking of text files to
match the search strings.
* Upon completion, the number of hits is displayed, along with
whether this was an inverse filename search [inv] or [cancelled] by
the user
.SH Tips and Tricks
This section gives examples of some cool things to do with
searchMonkey.
.SS
.SS Regular Expressions
.TP
Some examples of regular expressions are given here:
.TP
.B (\\.[ch])$
Finds all of the C source code, plus headers.
.TP
.B ^(make)
Finds every make file instance.
.TP
.B ^(void function_name)(;)$
Finds a function declaration, as opposed to the definition
.TP
.B \e([a-zA-Z0-9\es]+\e)
Highlights all text within brackets
.SH SearchMonkey User Guide Online
To view the same guide in HTML please visit
<http://searchmonkey.sourceforge.net/index.php/SearchMonkey_User_Guide>
.SH AUTHOR
This manual page was written by Varun Hiremath <varunhiremath@gmail.com>,
for the Debian project (but may be used by others).
|