[Previous] [Contents] [Index] [Next]

Getting Help

You'll find three kinds of help facilities in Photon:


Note: Photon also gives you help in the form of text labels (called "balloons") that may appear when your pointer pauses over a button or icon.

Using a help button

Some applications have a question-mark help button. Whenever you need information about anything within an application, just click on its help button.

Help button

To use an application's help button:

  1. Click on the question-mark button. Your pointer will change into a question mark-this is called the help pointer.
  2. Position the help pointer on an object you want to know about within the application you're in - you won't be able to use the help pointer from one application to get help on other applications on your workspace.
  3. Click on the object. The appropriate section of text will appear in the Helpviewer.

Using pterm help

The pterm shell lets you select (highlight) a portion of text and then invoke the Helpviewer by either:

The Helpviewer starts, then searches the table of contents for any topics that contain the selected text. The first matching topic is automatically displayed.

You can also simply type something in a pterm window and then press Ctrl -Alt -H .

Using the Helpviewer

The QNX Helpviewer is a convenient, easy-to-use tool for accessing online documentation. You have the entire Photon bookset at your fingertips-you can browse through the table(s) of contents, quickly go to any section in the bookset, search for text strings, quickly jump to "hot links" (underlined text), retrace your steps, set bookmarks, and more.

To start the Helpviewer:

=>> In the Desktop Manager's Applications folder, click on the Helpviewer icon:

Figure showing Helpviewer icon

The Helpviewer looks like this:

Figure showing Helpviewer window

Here's a description of the Helpviewer's main parts:

Title bar

The Title bar shows you the name of the section you're in. It also shows you the name of the HTML file for each hot link you move your pointer over.

If you move the pointer over the title bar, the Helpviewer will display the filename of the currently displayed HTML file. To enter a new file name for the Helpviewer to display:

  1. Move the pointer over the title bar.
  2. Give the title bar focus by pressing the left mouse button.
  3. Type the filename, e.g.: /usr/help/product/photon/prog_guide/tutorl5.html
  4. Press Enter.

If you move the pointer over the entries in the Contents or Search pane, then the Helpviewer will display the full topic path of the entry in the title bar.

If you move the pointer over the entries in the History or Bookmarks pane, then the Helpviewer will display the hypertext link of the entry in the title bar.

Helpviewer tabs

The Section pane displays information based on the Helpviewer tab selected:

Contents pane

The Contents pane displays the current table of contents or topic tree. Each entry in the table of contents is a topic with an associated HTML page and may contain subtopics. The last selected topic is highlighted.

Helpviewer Contents pane

As you move the pointer over a topic, the Helpviewer will display the topic title in a balloon. The full topic path is also displayed in the title bar.

To synchronize the topic tree with the currently displayed page, click on the Where? button. The Helpviewer will open the topic tree to the matching topic (if it doesn't, then it can't find a matching topic, which means you're probably looking at help files not included in the current topic tree).

Search pane

The search pane lets you search the topic tree or the current page for matching text. Before searching, you should select the appropriate mode, scope, and method of the search. These options are presented in comboboxes, which display a list of choices when you press on the button on their right sides.

Helpviewer Search pane

The mode combobox lets you select whether to search the topic titles, the topic text, or the current page. If you search the topic titles or text, then the titles of matching topics are displayed in the search pane. Selecting one of these topics will cause the topic text to be displayed. If you search the current page, then matching text is highlighted and the Helpviewer will move to the first line containing a match.

The scope combobox lets you select whether to search all the topics in the table of contents, or just the currently selected topic and all its subtopics. Narrowing the scope can significantly increase the speed of a search.

The method combobox lets you select whether to search for an exact match (case sensitive - only exact characters will match), a word match (case insensitive - only punctuation-separated words will match) or substring match (case insensitive - only substrings in a word will match).


Note: In Helpviewer version 1.1 or later, searching the topic text or current page performs a substring match regardless of the method selected.

To start a search, enter the search text and either press Enter or click on the Search button. You can't view other topics while the Helpviewer is busy searching. A search can be terminated at any time by clicking on the Search button again (which is labeled Stop during the search).

The Helpviewer will progressively display the titles of matching topics in the search pane. After the search ends, the Helpviewer will automatically display the text of the first matching topic. If you move the pointer over the topic titles, the Helpviewer will display the full topic path in the title bar. Click on the topic title to display the topic.

History pane

The History pane displays the titles of the 50 most recent pages displayed. If you move the pointer over the history titles, the Helpviewer will display the Hypertext link of the page in the title bar. Click on the title to display a page.

The history is saved in the ~/.photon/helpviewer/history file and is reloaded every time you start the Helpviewer.

Bookmarks pane

The Bookmarks pane displays the titles of pages you have bookmarked. If you move the pointer over the bookmark titles, the Helpviewer will display the Hypertext link of the page in the title bar. Click on the title to display a page.

You can bookmark the current page by clicking on the bookmark button in the button bar:

Bookmark button

The button is highlighted if the current page is bookmarked. To delete a bookmark, select the entry and then click on the Delete button in the Bookmarks pane.

The bookmarks are saved in ~/.photon/helpviewer/hotlist and are reloaded every time you start the Helpviewer.

Print pane

The Helpviewer uses the Photon printing mechanism to allow printing to a variety of printers. The Helpviewer allows the current page to be printed or saved to a file. Before printing, you should have installed and selected a default printer.

To configure the properties of the printer, click Select to bring up the printer selection dialog, and then click Properties.

To print the page, click the Print button in the Print pane or the printer icon on the button bar.

Options pane

The Options pane lets you set various display options, including the font type and font size:

Helpviewer Options pane

The options are saved in the ~/.photon/helpviewer/options file and are reloaded when the Helpviewer starts.


Note: A home page specified as part of the Helpviewer command in the PDM configuration dialog. For example:
/usr/photon/bin/helpviewer /usr/help/product/photon/bookset.html

overrides the home page option (homeurl) in the Helpviewer options file.


Divider bar

The divider bar between the left and right panes of the Helpviewer can be moved to change the relative sizes of the panes. To do this, move the pointer over the divider until a resize pointer appears. Then press and hold down the left mouse button and drag the divider to the required position:

Divider bar in the Helpviewer

Helpviewer buttons

The Helpviewer contains these navigational and control buttons:

Figure showing Helpviewer buttons

Now that you know what the Helpviewer looks like and what its main parts are used for, you should try using it -if you haven't done so already. Thanks to the Helpviewer's intuitive interface, it's easy to get started right away.

Using the Helpviewer to display other HTML files

Since all Photon online documentation is written in HTML, you can use the Helpviewer to display any HTML file. To do this:

  1. Select the Run... menu item from the Desktop Manager menu.
  2. In the Command Line field, enter:

    helpviewer filename

    where filename is the name of the HTML file you want to view.


Note: You won't be able to use the Contents pane for HTML files that aren't part of the online documentation set.


[Previous] [Contents] [Index] [Next]