Mosaic User's Guide

# Basic Configuration Guide

This document describes some of the basic configuration resources available to Mosaic users. The top level documentation entry, Configuration Resources and Command-Line Flags, conatins a complete list of X resources, command-line flags, and more.

## Setting X Resources

See this documentation on Setting X Resources.

## Colors

The colors Mosaic uses can be configured in the standard X method. For example, executing Mosaic like this:

      Mosaic -bg lightgrey -fg black

will cause the entire background to be light grey and the foreground text (menus, button labels, normal text, etc.) to be black. Similarly, the X resources `Mosaic*Foreground` and `Mosaic*background` could be used.

Mosaic-specific X resources allow the user to configure the color of the anchors (or hyperlinks). These include:

- `anchorColor`: color
- `visitedAnchorColor`: color
- `activeAnchorFG`: color
- `activeAnchorBG`: color

See this example `.Xdefaults` file for more help.

## Fonts

The following font resources are available. The defaults are listed here.

- `font`: font
- `italicFont`: font
- `boldFont`: font
- `fixedFont`: font
- `header1Font`: font
- `header2Font`: font
- `header3Font`: font
- `header4Font`: font
- `header5Font`: font
- `header6Font`: font
- `addressFont`: font
- `plainFont`: font
- `listingFont`: font

See this example `.Xdefaults` file for more help.

## Multimedia Configuration

See this guide to Mosaic Multimedia Configuration.

## Help for Slow Network Connections

If your network hardware is slow, or you find yourself retrieving documents from slow or distant servers, the following X resources will help speed things up. (You may copy these lines directly into your `.Xdefaults` file)

      Mosaic*delayImageLoads: True
      Mosaic*trackVisitedAnchors: False

## Location of Mosaic Files

The following resources tell Mosaic where to look for certain files. Full details are available here.

- `DocsDirectory`: string
- `documentsMenuSpecfile`: string
- `globalExtensionMap`: string
- `globalHistoryFile`: string
- `globalTypeMap`: string
- `homeDocument`: string
- `personalAnnotationDirectory`: string
- `personalExtensionMap`: string
- `personalTypeMap`: string
- `recordCommandLocation`: string
- `tmpDirectory`: string

## System Commands

These resources can be used to override the defaults, given here. Commands may be prepended by directory paths.

- `printCommand`: string
- `recordCommand`: string
- `sendmailCommand`: string
- `uncompressCommand`: string
- `xtermCommand`: string

See this example `.Xdefaults` file for more help.

Back to User's Guide Index

Back to top level Documentation Index