[next] [previous] [contents]

  Displaying an Alternate Bookshelf Instead of the Default
  (Tru64 UNIX)

  There are two ways to display an alternate bookshelf instead
  of the default display:

  .
        Change the definition of the "Bookreader" item in the
        Applications menu to open an alternate bookshelf.

        For example, if your alternate bookshelf is in /my-
        books/library.decw_bookshelf , change the Bookreader
        definition to be the following:
        /usr/bin/X11/dxbook /mybooks/library.decw_bookshelf
  .
        Define an environment variable to point to the directory
        that contains the alternate bookshelf.

  The following steps show how to define the environment
  variable in the C shell:

  1. Enter the following command to determine if the envi-
        ronment variable DECW_BOOK points to the directory
        that contains the alternate bookshelf file:
        % echo $DECW_BOOK
  2. If DECW_BOOK points to the directory that contains the
        alternate bookshelf file, define the environment variable
        DECW_BOOKSHELF to be the alternate bookshelf file.
        For example:
        % setenv DECW_BOOKSHELF new_books.decw_bookshelf

        If DECW_BOOK does not point to the directory that con-
        tains the alternate bookshelf file, use the complete file
        specification in the definition. For example:
        % setenv DECW_BOOKSHELF "/usr/me/new_books.decw_bookshelf"

        Note that if you define DECW_BOOKSHELF to be the
        file name only, without the complete file specification,
        Bookreader searches the directories defined by DECW_
        BOOK for a file with that name. If another bookshelf file
        with the same name exists in decw_book's search list,
        that bookshelf is also displayed.
  3. Start Bookreader from the command line:
        % dxbook

        The bookshelves and books listed in the alternate bookshelf
        file are displayed in the Library window.

  You can use DECW_BOOKSHELF to access any single book-
  shelf or any set of bookshelf files with the same name that
  appears in DECW_BOOK's search list.

  If you created your own library.decw_bookshelf file in order
  to
add your bookshelf to the default display , you can
  use another method to view only your local bookshelf. You
  can redefine DECW_BOOK on a temporary basis to be your
  local directory. For example:
  % setenv DECW_BOOK /usr/mydir

  This definition exists for the duration of the current process
  only. You can reinvoke the usual definition by logging out of
  the process and in again or by re-executing the command in
  your login file that defines DECW_BOOK.