The Information Managerdtinfo1
is MCDE's Information Manager. It reads information
libraries: directories of books, each with a table of contents
and a full-text index. This guide is the book that is installed in this
release. The MCDE programs' own help pages are not part of the release:
the cross build turns the MCDE documentation off, so the Information
Manager has no program help books. The guide is what is there.The Information Manager with the Makronix GuideOpening the guideThe Makronix Guide is the default library of the Information
Manager, so dtinfo opens it directly. From a
terminal:$ dtinfo
$ dtinfo -l makronixThe first command opens the default library; the second names the
library explicitly. The library is installed as
/etc/dt/infolib/en_US.UTF-8/makronix.dti. The
session script
/etc/dt/config/Xsession.d/0000makronix sets
DTINFOLIBDEFAULT to makronix, which is
why the plain command works.Reading and searchingThe window has a list of the books in the library and the table of
contents of the selected book. A click on a chapter opens it; the
navigation buttons go back and forward in the history, and the table of
contents stays available while you read. The search field searches the
whole library, not only the open chapter; the results are shown with the
book and section they come from, and a click opens the result in
place.The guide is one book with a chapter for every part of the system.
The chapters are the same text as the manual pages and the PDF; the
Information Manager adds the search and the links between them.What an information library isAn information library is a directory whose name ends in
.dti. It contains a
bookcase.map that names the library and its
bookcases, one directory per bookcase with the compiled books, and a
dtsearch directory with the full-text index. The
books are written in DocBook, the SGML dialect that CDE's documentation
uses, and compiled with dtdocbook2infolib.The Makronix Guide is built from
docs/guide/book.xml in the source tree. The same
source produces the manual pages, the PDF, the HTML file and this
library; explains the build. If you change
the guide, rebuild it with:$ cd /usr/src
$ sh docs/guide/build.sh all
$ sh docs/guide/build.sh installThe first command builds all five forms in
docs/guide/out; the second copies them to the
places the system reads: /usr/share/doc/makronix,
/usr/share/man/man7 and
/etc/dt/infolib.Adding another libraryA library that someone gives you is a directory ending in
.dti. Put it under the locale directory of the
system library and name it on the command line:# cp -R example.dti /etc/dt/infolib/en_US.UTF-8/
$ dtinfo -l exampleThe library's own bookcase.map names its
bookcases; dtinfo reads that file, so the directory
name and the short name in the map are what matter. A library for one
user can live in ~/.dt/infolib; the search path
finds it there as well.When the Information Manager is emptyIf dtinfo starts but shows no books, the
library was not found. Check the three things it depends on:/etc/dt/infolib/en_US.UTF-8/makronix.dti/bookcase.map
exists and is readable.DTINFOLIBDEFAULT is
makronix in the session
(echo $DTINFOLIBDEFAULT).DTINFOLIBSEARCHPATH contains
/etc/dt/infolib/%L/%I.dti. The command
dtsearchpath prints the assembled path; run it in
the session that has the problem.A library that was copied from another machine can have a stale
search index. Rebuilding it with dtdocbook2infolib
is described in the DocBook chapter of the CDE documentation; for the
Makronix Guide, docs/guide/build.sh infolib does
it.