You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/doc/khelpcenter/help.docbook

738 lines
20 KiB

<chapter id="help-system-user-manual">
<chapterinfo>
<date>&tde-release-date;</date>
<releaseinfo>&tde-release-version;</releaseinfo>
</chapterinfo>
<title>&tde; Help System User Manual</title>
<anchor id="help"/>
<sect1 id="help-introduction">
<title>&tde; Help System</title>
<para>The &tde; help system is designed to make accessing the common
&UNIX; help systems (<application>man</application> and
<application>info</application>) simple, as well as the native &tde;
documentation (&XML;).
</para>
<para> All base &tde; applications come fully documented, thanks to
the efforts of many people. If you would like to help,
please contact members of the Trinity development team at
<email>trinity-devel@lists.pearsoncomputing.net</email> for information.
Experience is not required, just enthusiasm and patience.
</para>
<para>
If you would like to help translate &tde; documentation to your native
language,please contact members of the Trinity development team at
<email>trinity-devel@lists.pearsoncomputing.net</email> for information.</para>
<sect2 id="installation">
<title>Installation</title>
<para>
&khelpcenter; is an integral part of the &tde; base installation and
is installed with every copy of &tde;. It can be found in the tdebase
package or will be found in your operating system tdebase package.
</para>
</sect2>
</sect1>
<sect1 id="invoking-help">
<title>Invoking Help</title>
<para>
&khelpcenter; can be called in several ways:
</para>
<variablelist>
<varlistentry>
<term>From the <guimenu>Help</guimenu> menu</term>
<listitem>
<para>
The most common will probably be from within an application. Choose
<menuchoice><guimenu>Help</guimenu>
<guimenuitem>Contents</guimenuitem></menuchoice> to open that
application's help file, at the contents page.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>From the <guimenu>TDE</guimenu> menu</term>
<listitem>
<para>
Choose the big <guiicon>T</guiicon> in your panel, and select
<guimenuitem>Help</guimenuitem> to open &khelpcenter;, starting at the
default welcome page.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>From the panel</term>
<listitem>
<para>
By default, the &kicker; panel contains an icon to call &khelpcenter;.
Again, the default welcome page is displayed.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>From the command line</term>
<listitem>
<para>
&khelpcenter; may be started using a &URL; to display a
file. &URL;s have been added for
<command>info</command> and <command>man</command> pages
also. You can use them as follows:
</para>
<variablelist>
<varlistentry>
<term>An application help file</term>
<listitem>
<para>
<command>khelpcenter</command>
<option>help:/<replaceable>kedit</replaceable></option>
</para>
<para>
Opens the &kedit; help file, at the contents page.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>A local &URL;</term>
<listitem><para>
<command>khelpcenter</command>
<option>file:/
<replaceable>usr/local/src/qt/html/index.html</replaceable></option>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>A Man page</term>
<listitem>
<para>
<command>khelpcenter</command>
<option>man:/<replaceable>strcpy</replaceable></option>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>An Info page</term>
<listitem>
<para>
<command>khelpcenter</command>
<option>info:/<replaceable>gcc</replaceable></option>
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Invoking <command>khelpcenter</command> with no parameters opens the
default welcome page.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect1>
<sect1 id="interface-basics">
<title>The &khelpcenter; interface</title>
<para>
The &khelpcenter; interface consists of two panes of information.
</para>
<para>
The toolbar and menus are explained further in <xref
linkend="menu-and-toolbar-ref"/>.
</para>
<para>
Documents contain their own navigation tools, enabling you to move
either sequentially through a document, using
<guilabel>Next</guilabel>, <guilabel>Previous</guilabel>, and
<guilabel>Home</guilabel> links, or to move around in a less
structured manner, using hyperlinks.
</para>
<para>
Links can take you to other parts of the same document, or to a
different document, and you can use the <guiicon>Back</guiicon> (Left
pointing arrow) or <guiicon>Forward</guiicon> (Right pointing arrow)
icons on the toolbar to move through the documents you have viewed in
this session.
</para>
<para>
The two panes display the contents of the help system, and the help
files themselves, on the left and right respectively.
</para>
<sect2 id="contents-pane">
<title>The <guilabel>Contents</guilabel> pane</title>
<para>
The <guilabel>Contents</guilabel> pane in &khelpcenter; is
displayed on the left hand side of the window. As you might expect, you
can move the splitter bar, to make sure you can comfortably read the
contents of either pane.
</para>
<para>
The <guilabel>Contents</guilabel> pane is further divided into two
tabs, one containing a <link linkend="contents-menu">menu</link>
showing all the help information &khelpcenter; is aware of, and the
other contains the &tde; <link linkend="kde-glossary">glossary</link>
of terms.
</para>
<sect3 id="contents-menu">
<title>The <guilabel>Contents</guilabel> Menu</title>
<para>
The <guilabel>Contents</guilabel> contains the following default
entries:
</para>
<variablelist>
<varlistentry>
<term><guilabel>Welcome to &tde;</guilabel></term>
<listitem><para>An introduction to the Trinity Desktop
Environment.</para></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>A Visual Guide to &tde;</guilabel></term>
<listitem><para>A visual summary of Trinity
widgets.</para></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>The Quickstart Guide</guilabel></term>
<listitem><para>Contains a tour of the &tde;
Interface and specific help and tips on how to work smarter with &tde;.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>&tde; User Guide</guilabel></term>
<listitem><para>An in-depth exploration of &tde;, including
installation, configuration and customization, and use.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Application manuals</guilabel></term>
<listitem>
<para>
Native &tde; application documentation. &tde; applications have
documentation in &XML; format, which are converted to
<acronym>HTML</acronym> when you view them. This section lists all the
&tde; applications with a brief description and a link to the full
application documentation.
</para>
<para>
The applications are displayed in a tree structure that echoes the default
structure of the <guimenu>TDE</guimenu> menu, making it easy to find the
application you are looking for.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Unix manual pages</guilabel></term>
<listitem>
<para>
Man pages are the traditional on-line documentation format for
&UNIX; systems. Most programs on your system will have a man page. In
addition, man pages exist for programming functions and file
formats.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Browse info pages</guilabel></term>
<listitem>
<para>
TeXinfo documentation is used by many &GNU; applications,
including <command>gcc</command> (the C/C++ compiler),
<command>emacs</command>, and many others.
</para>
</listitem>
</varlistentry>
<!--<varlistentry>
<term><guilabel>Tutorials</guilabel></term>
<listitem>
<para>
Short, task based or informational tutorials.
</para>
</listitem>
</varlistentry>-->
<varlistentry>
<term><guilabel>The &tde; FAQ</guilabel></term>
<listitem>
<para>
Frequently asked questions about &tde; and answers.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Contact Information</guilabel></term>
<listitem>
<para>
Information about contacting &tde; developers, and how to join the
&tde; mailing lists.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>&tde; on the Web</guilabel></term>
<listitem>
<para>
Links to &tde; on the web, both the official &tde; website, and other
useful sites.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Supporting &tde;</guilabel></term>
<listitem>
<para>
How to help, and how to get involved.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<!--
<sect3 id="search">
<title>The <guilabel>Search</guilabel> tab</title>
<para>
Searching requires you have the <application>ht://Dig</application>
application installed. Information on installing and configuring the
search index is available in the document. Configuration of the search
index is performed in the &kcontrol;, by choosing
<menuchoice><guisubmenu>Help</guisubmenu><guimenuitem>Index</guimenuitem></menuchoice>,
and detailed help is available from this module.
</para>
<para>
For the purposes of this document, we'll assume you already have this set
up and configured.
</para>
<para>
Searching the help files is fairly intuitive, enter the word(s) you wish
to search for in the text box, choose your options (if any), and press
<guibutton>Search</guibutton>. The results display in the viewer pane
to the right.
</para>
<para>The options available are:</para>
<variablelist>
<varlistentry>
<term><guilabel>Method</guilabel></term>
<listitem>
<para>
Choose how to search for multiple words. If you choose
<guilabel>and</guilabel>, results are returned only if all your search
terms are included in the page. <guilabel>or</guilabel> returns results
if <emphasis>any</emphasis> of the search terms are found, and
<guilabel>boolean</guilabel> lets you search using a combination.
</para>
<para>
Boolean syntax lets you use the operators <literal>AND</literal>,
<literal>OR</literal> and <literal>NOT</literal> to create complex
searches. Some examples:</para>
<variablelist>
<varlistentry>
<term><userinput>cat and dog</userinput></term>
<listitem><para>Searches for pages which have both the words
<userinput>cat</userinput> and <userinput>dog</userinput> in them. Pages with
only one or the other will not be returned.</para></listitem>
</varlistentry>
<varlistentry>
<term><userinput>cat not dog</userinput></term>
<listitem><para>Searches for pages with <userinput>cat</userinput> in them, but
only returns the ones that don't have the word <userinput>dog</userinput> in
them.</para></listitem>
</varlistentry>
<varlistentry>
<term><userinput>cat or (dog not nose)</userinput></term>
<listitem><para>Searches for pages which contain <userinput>cat</userinput>, and
for pages which contain <userinput>dog</userinput> but don't contain
<userinput>nose</userinput>. Pages which contain both
<userinput>cat</userinput> and <userinput>nose</userinput> would be returned,
pages containing all three words would not.</para></listitem>
</varlistentry>
</variablelist>
<para>If your searches are not returning the results you expect, check
carefully you haven't excluded the wrong search term with an errand
<literal>NOT</literal> or a stray brace.</para></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Max. results</guilabel></term>
<listitem><para>Determines the maximum number of results returned from your
search.</para></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Format</guilabel></term>
<listitem><para>Decide if you want just a short link to the page
containing your search terms, or do you want a longer
summary.</para></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Sort</guilabel></term>
<listitem><para>Sort the results in order of <guilabel>Score</guilabel> (how
closely your search terms were matched,) alphabetically by
<guilabel>Title</guilabel> or by <guilabel>Date</guilabel>. Selecting the
<guilabel>Reverse order</guilabel> check box, naturally enough, reverses the
sort order of the results.</para></listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Update index</guilabel></term>
<listitem><para>Update the search index, to incorporate new documents,
or if you think your database is incomplete or damaged. This may take
some time.</para></listitem>
</varlistentry>
</variablelist>
</sect3>
-->
</sect2>
<sect2 id="man-and-info">
<title>The <application>Man</application> and <application>Info</application>
sections</title>
<para>Man pages are the standard &UNIX; manual pages, and have been in
use for many years on many operating systems. They are extremely
thorough, and are the very best place to get information about most
&UNIX; commands and applications. When people say
<quote>RTFM</quote>, the Manual they are referring to is very often the
man page.</para>
<para>The man pages are not perfect. They tend to be in depth, but
also extremely technical, often written by developers, and for
developers. In some cases this makes them somewhat unfriendly, if not
downright impossible for many users to understand. They are, however,
the best source of solid information on most command line
applications, and very often the only source.</para>
<para>If you've ever wondered what the number is when people write
things like man(1) it means which section of the manual the item is
in. You will see &khelpcenter; uses the numbers to divide the very many
man pages into their own sections, making it easier for you to find
the information you're looking for, if you're just browsing.</para>
<para>Also available are the Info pages, intended to be a replacement
for the man pages. The maintainer of some applications no longer
update the man pages, so if there is both a man page and an info page
available, the info page is probably the most recent. Most
applications have one or the other though. If the application you are
looking for help on is a &GNU; utility, you will most likely find it
has an info page, not a man page.</para>
<sect3 id="navigation">
<title>Navigating inside the <application>Info</application> pages</title>
<para>Info documents are arranged hierarchically with each page called
a node. All info documents have a <guilabel>Top</guilabel> node,
&ie; the opening page. You can return to the
<guilabel>Top</guilabel> of an info document by pressing
<guilabel>Top</guilabel>.</para>
<para><guibutton>Prev</guibutton> &amp; <guibutton>Next</guibutton>
are used to move to the previous/next page at the current level of the
hierarchy.</para>
<para>Clicking on a menu item within a document moves you to a lower
level in the hierarchy. You may move up the hierarchy by pressing
<guibutton>Up</guibutton>.</para>
<para>Man is treated similarly to info, with the section index being
the Top node and each man page on the level below. Man entries are
one page long.</para>
</sect3>
</sect2>
<sect2 id="kde-glossary">
<title>The &tde; glossary</title>
<para>
The glossary provides a quick reference point, where you can look up
the definitions of words that may be unfamiliar to you. These range
from &tde; specific applications and technologies, through to general
&UNIX; computing terms.
</para>
<para>
In the left hand pane you will see a tree view, with two choices:
<guilabel>Alphabetically</guilabel> or <guilabel>By topic</guilabel>.
Both contain the same entries, sorted differently, to allow you to
quickly find the item of interest.
</para>
<para>
Navigate down the tree views to the left, and items you select will be
displayed on the right.
</para>
</sect2>
<sect2 id="menu-and-toolbar-ref">
<title>The menus and toolbar</title>
<para>
&khelpcenter; has a very minimal interface, allowing you to concentrate
on getting help rather than learning how to use the help browser.
</para>
<para>
The icons available to you in the toolbar are as follows:
</para>
<variablelist>
<title>Toolbar Icons</title>
<varlistentry>
<term><guiicon>Back</guiicon></term>
<listitem>
<para>Go to the previous page you viewed.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guiicon>Forward</guiicon></term>
<listitem>
<para>Go forward one page. This icon is only active if you have
already used the <guiicon>Back</guiicon> icon.</para></listitem>
</varlistentry>
<varlistentry>
<term><guiicon>Print</guiicon></term>
<listitem>
<para>
Print the contents of the currently visible page.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guiicon>Find</guiicon></term>
<listitem>
<para>
Find a word or words within the currently visible page.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guiicon>Increase Font</guiicon></term>
<listitem>
<para>
Increase the size of the text in the viewer pane.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guiicon>Decrease Font</guiicon></term>
<listitem>
<para>
Decrease the size of the text in the viewer pane. This icon is only
enabled if you have previously enlarged the text.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
The menus contain the following entries:
</para>
<variablelist>
<varlistentry>
<term><guimenu>File</guimenu></term>
<listitem>
<variablelist>
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Print...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
Print the contents of the currently visible page.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
Close and exit &khelpcenter;
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term><guimenu>Edit</guimenu></term>
<listitem>
<variablelist>
<varlistentry>
<term><menuchoice><shortcut>
<keycombo action="simul">&Ctrl;<keycap>A</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Select All</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
Select all the text in the current page.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice><shortcut>
<keycombo action="simul">&Ctrl;<keycap>F</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Find...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
Find a word or words in the currently visible page.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term><guimenu>View</guimenu></term>
<listitem>
<variablelist>
<varlistentry>
<term><menuchoice>
<guimenu>View</guimenu>
<guimenuitem>View Document Source</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
View the <acronym>HTML</acronym> source of the page you are currently
viewing.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice><guimenu>View</guimenu>
<guisubmenu>Set Encoding</guisubmenu>
</menuchoice>
</term>
<listitem>
<para>
Change the encoding of the current page. Normally, the default setting
of <guimenuitem>Auto</guimenuitem> should be sufficient, but if you are
having problems viewing pages written in languages other than English,
you may need to choose a specific encoding in this menu.
</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice><guimenu>Go</guimenu>
<guimenuitem>Back</guimenuitem></menuchoice></term>
<listitem>
<para>Go back to the previous page you were viewing.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice><guimenu>Go</guimenu>
<guimenuitem>Forward</guimenuitem>
</menuchoice></term>
<listitem>
<para>If you have previously moved back with the back icon or menu
entry, you can work your way forward again with this menu
entry.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><menuchoice><guimenu>Go</guimenu>
<guimenuitem>...</guimenuitem>
</menuchoice></term>
<listitem>
<para>At the bottom of the <guimenu>Go</guimenu> menu, you will find a
history list, of the last few pages you have looked at. Selecting one
will take you directly back to that page.</para>
</listitem></varlistentry></variablelist>
</sect2>
</sect1>
<sect1 id="credits">
<title>Credits and Licenses</title>
<para>&khelpcenter;</para>
<para>Originally developed by &Matthias.Elter; &Matthias.Elter.mail;</para>
<para>Maintained for many years by &Cornelius.Schumacher; &Cornelius.Schumacher.mail;</para>
<para>Currently maintained by the Trinity Development Team.</para>
&underFDL;
&underGPL;
</sect1>
</chapter>