8    Using Online Documentation

The online documentation set is available in both Hypertext Markup Language (HTML) and Portable Document Format (PDF) versions.

Caution

You must configure the ISO 9660 Compact Disc File System (CDFS) kernel option and reboot your system before you can mount the online documentation set on your CD-ROM drive. Refer to Section 5.20 and the doconfig(8) reference page for information about configuring kernel options.

The goal of this chapter is to provide the information necessary for you to perform the user actions shown in Table 8-1.

Table 8-1:  Summary of User Actions

By reading this chapter, you will ...
Access the HTML and PDF versions of the online documentation set.
Copy the online documentation set to your system's hard disk.

8.1    Mounting the Documentation Set CD-ROM

To mount the operating system documentation CD-ROM so that you can view the online documentation set with Netscape Navigator or Acrobat Reader, follow these steps:

  1. Log in as root or use the su command to gain root privileges.

  2. Verify the existence of the directory /usr/share/doclib/online. If it does not exist, create it with the following command:


    mkdir -p /usr/share/doclib/online

  3. Insert the Volume 1 of the documentation CD-ROM in your system's CD-ROM drive.

    If you do not know the system device name of your CD-ROM drive, log in as root or use the su command to gain root privileges, and enter the following command:

    # file /dev/rrz*c | grep RRD
    /dev/rrz4c: character special (8/4098) SCSI #0 RRD44 disk #32 (SCSI ID #4)
    

    In this example, the CD-ROM device is RRD44 on device /dev/rz4c. If you have more than one RRD device connected to your system, determine the device where you will mount the CD-ROM.

    Note

    You must have root privileges to get this information with the file command.

    Standard device names begin with rz for the block special file and rrz for the raw (character) special file. The result of the file command displays the raw device name, but you must specify the block special file when mounting the CD-ROM device. In this example, the displayed device name is /dev/rrz4c, but you will use /dev/rz4c.

  4. Use the mount command to mount the CDE document set.

    Caution

    The result of the command in the previous step displays the raw device name (rrz*), but you must specify the block special file (rz*) when you mount the CD-ROM device.

    For example, if your CD-ROM device is rz4c, you would use this command to mount the CD-ROM on /usr/share/doclib/online:


    mount -r -t cdfs -o rrip /dev/rz4c /usr/share/doclib/online

8.2    Viewing Online Documents with Netscape

To view the online documentation set with Netscape Navigator, follow these steps:

  1. Mount the operating system documentation CD-ROM as described in Section 8.1.

  2. Start Netscape Navigator by using one of the following methods:

  3. Click on the Home icon button to access the default home page at /usr/doc/netscape/Digital_UNIX.html. This page includes links to other documentation, including a local copy of the Netscape Navigator Online Handbook that you can access from the Other documentation link.

  4. Select the operating system Documentation link to go to the operating system Documentation page.

  5. Select one of the available document categories to see a list of those documents, including links to HTML and PDF versions.

Proceed to Section 8.4 to install Acrobat Reader. The Adobe Acrobat Reader Online Guide, available from the Acrobat Reader Help menu, provides information about setting up Netscape Navigator to view PDF files.

8.3    Netscape Application Integration

The following information is provided to help you when you use Netscape applications on this operating system:

8.4    Installing Acrobat Reader

The PDF versions of the online documents are best viewed by using Acrobat Reader as a Netscape Navigator helper application. This section tells you how to install Acrobat Reader on your system.

To install Acrobat Reader on your system, follow these steps:

  1. Log in as root or use the su command to gain root privileges.

  2. Mount the operating system documentation CD-ROM as described in Section 8.1.

  3. Change directory to /usr/share/doclib/online/ACROREAD/DIG_UNIX. The 00README.TXT file explains how to uncompress the ACROREAD.Z installation file.

  4. Enter the following command to uncompress the installation file:


    uncompress -c ACROREAD.Z > /tmp/acroread_osf_301.tar

  5. Change directory to /tmp:


    cd /tmp

  6. Enter the following command to unpack the installation files:


    tar xf /tmp/acroread_osf_301.tar

    Detailed instructions in the INSTGUID.TXT file explain how to run the INSTALL script.

  7. Enter the following command to run the Acrobat Reader installation script:

    ./INSTALL

  8. After you read the license agreement, enter accept to accept the license terms and continue.

  9. Select an installation directory for Acrobat Reader. The default is /usr/local/Acrobat3.

    Caution

    Acrobat Reader requires 1 Mb of free disk space. Ensure that the file system where you install Acrobat Reader has sufficient space for the application.

    If necessary you are prompted to allow the installation script to create the installation directory.

  10. The application installation completes and you see the command line prompt.

The Adobe Acrobat Reader Online Guide, available from the Acrobat Reader Help menu, provides information about setting up Netscape Navigator to view PDF files.

8.5    Viewing Online Documents with Acrobat

The PDF versions of the online documents are best viewed by using Acrobat Reader as a Netscape Navigator helper application. You can, however, view them directly with Acrobat Reader. You should review the 00README.TXT file in the ACRO_DUX and ACRO_SUP subdirectories under the /usr/share/doclib/online/DOCS directory. These files map file names to document names so that you can locate specific documents.

To view the online documentation set with Acrobat Reader, follow these steps:

  1. Mount the documentation CD-ROM as described in Section 8.1.

  2. Install Acrobat Reader as described in Section 8.4.

  3. From a terminal emulator window, enter the following command to run Acrobat Reader in the background:

    /usr/local/Acrobat3/bin/acroread &

    Refer to the Adobe Acrobat Reader Online Guide, available from the Help menu, for information on how to use Acrobat Reader.

  4. Select Open... from the File menu. This displays the Open dialog box, where you can select a PDF file.

    The PDF documents reside under the DOCS directory on the documentation CD-ROM.

    The 00README.TXT file in both subdirectories maps file names to document names so that you can locate specific documents.

    Note

    You cannot use Acrobat Reader to view text files.

Refer to Section 8.6 for instructions on copying online documentation to your system.

8.6    Copying Online Documentation to Disk

Instead of reading the online documentation set from the CD-ROM, you can copy the documentation files to a disk on your system. Copying the document files to a disk eliminates the need to keep the CD-ROM permanently mounted. The entire set of online documentation files consumes about 135 Mb of disk space.

Follow these procedures to copy the documentation files to a disk on your system. Use the same directories shown in the examples so you will not have to modify library bookshelf files.

  1. Log in as root or use the su command to become superuser.

  2. Ensure that the Volume 1 of the Documentation CD-ROM is mounted on /mnt. Refer to Appendix B if you do not know how to mount the CD-ROM.

  3. Enter commands similar to the following examples to copy the online documents from the CD-ROM to the appropriate subdirectories in the /usr/share/doclib/online/DOCS directory. This example illustrates the process with the CD-ROM mounted on the directory /mnt.

    Note

    The backslashes ( \ ) in the previous examples are for line continuation; you need not enter them.

  4. Unmount the CD-ROM using a command similar to the following:

    # umount /dev/rz4c
    

    Refer to Appendix B if you do not know how to unmount a CD-ROM.

Follow the instructions in Section 8.2 to start Netscape Navigator or Section 8.5 to start Acrobat Reader.