ZMap reads resource files to control various aspects of its configuration. Currently this only occurs at start up, but in the future will be dynamic and hopefully complete with an editor. The following is a description of the various files that ZMap reads and how configuration is specified in those files.

File Format

The format of the files follows a stanza based layout.

StanzaName
{
property = "value"
numeric = 1.0
number = 32000
truth = true
list = "one two three four"
}

NamedStanza
{
foreground_colour = "blue"
background_colour = "white"
}

Directories and Files

The main configuration files are held in the .ZMap directory which must be a subdirectory of the users home directory. Within this directory are a series of files that control how zmap works.

~/.ZMap - The configuration directory

This is the default directory, in which, ZMap searches for the configuration files. The user may change this by passing ZMap an alternate directory on the command line when starting ZMap using the --conf_dir option (command line options).

Main configuration file

ZMap looks in the configuration directory for a file named ZMap. Without this file ZMap will exit.

Stanzas:

Style configuration file

This file should be located in the the configuration directory and named according to the value of the stylesfile option in the source stanza of the main configuration file.

Stanzas:

Stanzas

source

Describes a data source to ZMap. Multiple source stanzas allowed.

Members:

ZMapWindow

Members:

align

A stop gap to specify alignments...

Type

Describes a style type. Multiple Type stanzas allowed.

Styles

Comand Line Options