Search Docs view

The Search Docs view is intended to help a user quickly find documentation for a specific function/system call. Users can search for documentation in man pages, info and html.

Launching a search for Documentation


Search Docs Settings

Various search settings can be changed from the Search Docs settings dialog. which can be opened from the toolbar icon

LookUp Mode

A search for documentation could proceed in 3 modes:

  1. Exact -- Only report matches that match exactly the 'key' entered (case insensitive)
  2. Substring -- Report all matches that include the 'key' entered as a substring (case insensitive)
  3. Regular Expression(Perl compatible)

Scope

A search for documentation could be limited in scope:

  1. Man Pages -- only report matches in the man pages
  2. Info Pages -- only report matches in the info pages
  3. Html -- only report matches from the Html index (created by the user -- see below)
Notes:

Browsing

To view the actual documentation, you will need either one of the following external browsers:

  1. konqueror -- It is part of the KDE desktop
  2. gnome-help-browser -- It is part of the GNOME desktop

Indexing Html Documentation

To index html documentation, the user needs to specify a list of directories that contain html files. Use the Browse button to navigate the filesystem and then add it to the list with the Add button. Then use the Create index button to index all html files in the list of directories.

Since the contents of files are indexed as words, you can only do a search in the html documentation in Exact mode(no substring, no regular expressions). You can only create an index if you have "Html" selected in the Scope.

Filtering search results

You can avoid having some search results displayed in the view with the Filter mechanism.

  1. Click on the button in the view toolbar to bring up the Filter Patterns dialog box.
  2. In the dialog box write a regular expression pattern that would match the "Name" column of those search result you do NOT want displayed.
  3. Click on the Add button to add it to the list of patterns.
  4. Once you are done adding patterns, click OK and notice how the search results are automatically updated to avoid displaying any result whose "Name" column matches any of the specified patterns.

e.g. Run a search with no filter


Now specify "Tcl.*" as one of the patterns to filter

Note that Search results that start with "Tcl" are not displayed.


NOTE: Any pattern added to the Filter Patterns dialog box is remembered. Thus, any future search would also apply those filters to the search results before displaying them.

Limitations

Contact Us