NCSA Mosaic for the X Window System
NCSA Mosaic 2.0 X Resources
Herein are detailed the available NCSA Mosaic resources. (This information
applies to the last public release of NCSA Mosaic at any time; see here for information on versions.)
Note that for each of the resources listed below, the class name is
the same as the resource name except that the first character is
capitalized.
Notes on version 2.0 (updated Dec. 8, 1993):
Functional Resources
- annotationsOnTop: Boolean
- Flag to indicate whether inlined document annotation hyperlinks
are prepended to the document (if true) or postpended (if false).
Default is false.
- autoPlaceWindows: Boolean
- If set to false, new Document
View windows will not be automatically positioned by the
program itself (but it's still up to your window manager just how
they're placed). Default is true.
- binaryTransferMode: Boolean (update for version 2.0)
- Removed for version 2.0, use Load to Local Disk from
Options
menu.
- catchPriorAndNext: Boolean
- This resource controls whether use of the keys Prior and Next
(Page Up and Page Down on most keyboards) are explicitly caught
in the Document
View window and passed to the vertical scrollbar or whether
the normal Motif scrolled window mechanism is relied upon to do
that automatically. Default is false, since that's how things
are supposed to work, but if you find that Page Up/Page Down
aren't doing their jobs for you, set this resource to true.
(See also information on
hotkeys.)
- confirmExit: Boolean
- Whether NCSA Mosaic will pop up a dialog box to confirm
exiting the program
when the 'Exit Program' menu option is chosen. Default is true.
- defaultAuthorName: string
- String to use as your fullname (e.g., John Q. Public). Your fullname
is normally stored in the system password file, and Mosaic will extract
it from that if this resource is NULL; else the value of this resource
will be used. Default is NULL.
- defaultHeight: integer
- Default height in pixels for a Document View window. Default is 680.
- defaultHotlistFile: string
- Name of file to store the
default hotlist
(or list of bookmarks).
Default is ".mosaic-hotlist-default"; the value
of the environment variable $HOME will be prepended to this string.
- defaultWidth: integer
- Default width in pixels for a Document View window. Default is 620.
- delayImageLoads: Boolean (new for version 2.0)
- Delayed image loading is for users with slow network connections. If
true, Mosaic substitutes a small icon for inlined-images, plus an arrow
icon for inlined-images which also act as hyperlinks.
Clicking on an icon tells Mosaic to load that inlined-image, while
clicking on the arrow is equivalent to following the associated
hyperlink. Selecting Load Images in Current from Mosaic's
Options
menu loads and displays all of the inlined-images in
the current document. Delayed image loading can also be selected with
the '-dil' command-line flag, or on a per-window basis from Mosaic's
Options
menu. Default is false.
- displayURLsNotTitles: Boolean
- If true, URL's will be displayed everywhere document titles are
usually displayed. Default is false.
- DocsDirectory: string (new for version 2.0)
- Can be used to override the location of the help documents. Default is
NULL.
- documentsMenuSpecfile: string (new for version 2.0)
- Name of file which holds an optional "Documents Menu Specfile," to allow
sites to add their own
Documents
menu to Mosaic's menu bar.
For more information, see information
on creating a configurable Documents
menu. Default is
"/usr/local/lib/mosaic/documents.menu"
- fancySelections: Boolean
- If true, cut and paste from the Document View window will be done
with fancy selections enabled in the HTML widget, which will result
in underlined headers, bulleted lists, and so on. If false, normal
selection behavior will be used. Default is false. (Note that this
can be changed, per window, on the fly.)
- gethostbynameIsEvil: Boolean
- If you are running on a Sun set up such that, when it tries to find
out it's own full hostname via gethostbyname(), it coredumps,
then you should set this resource to true. Default is false.
- globalExtensionMap: string (new for version 2.0)
- Can be set to the location of the system-wide extension map config file of your choice.
Default is "/usr/local/lib/mosaic/mime.types"
- globalHistoryFile: string
- Name of file to store the global history of all documents visited
from session to session. Default is ".mosaic-global-history"; the value
of the environment variable $HOME will be prepended to this string.
- globalTypeMap: string (new for version 2.0)
- Can be set to the location of the system-wide mailcap (type map config) file of your choice.
Default is "/usr/local/lib/mosaic/mailcap"
- gunzipCommand: string (updated for version 2.0)
- Command Mosaic uses to uncompress gzip'd files (files with an
extension of '.z'). Default is "gunzip -n -f", which requires version
1.2.4 of gzip. (Gunzip can be obtained from prep.ai.mit.edu in /pub/gnu.)
- homeDocument: string
- Document to access on program startup. Default is
"http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/NCSAMosaicHome.html".
See also
information on specifying your
home document.
- imageCacheSize: integer (new for version 2.0)
- Used to set the size of the inlined-image cache in kilobytes. The '-ics'
command-line flag can also be used. Default is 2048.
- All of the images in a given document will be (temporarily) cached
while on that page regardless of the value of imageCacheSize.
- Cache flushes least recently viewed.
- initialWindowIconic: Boolean
- If set to true, the first Document View window opened (when the
program starts) will be iconified. Default is false.
- mailCommand: string (updated for version 2.0)
- Replaced in version 2.0 with sendmailCommand
resource.
- maxWaisResponses: integer (new for version 2.0)
- Controls maximum number of matches Mosaic gets from a WAIS server.
Default is 200.
- personalAnnotationDirectory:
string
- Name of directory in which to store personal annotations (as well
as the log file of all personal annotations currently in existence).
Default is ".mosaic-personal-annotations"; the value
of the environment variable $HOME will be prepended to this string.
(If the directory so named does not exist, it will be created;
however, intermediate directories, if any are named,
will not be created.)
- personalExtensionMap: string (new for version 2.0)
- Can be set to the location of the personal extension map config file of
your choice -- the value of the environment variable HOME is prepended to
this. Default is ".mime.types"
- personalTypeMap: string (new for version 2.0)
- Can be set to the location of the personal mailcap file of your choice -- the value of the
environment variable
HOME
is prepended to this. Default is
".mailcap"
- printCommand: string
- Name of command used (by default) for the 'Print' menu option.
This command is expected to accept a single argument -- the name
of the file to print. Default is "lpr". (Note that this can be
changed on the fly via the 'Print' option's dialog box.)
- recordCommandLocation: string
- Location (full path name) of the command used to record audio
annotations (on Sun, SGI, and HP platforms). Default is
"/usr/sbin/recordaiff" on SGI, "/usr/demo/SOUND/record" on
Sun, and "/usr/audio/bin/srecorder" on HP. If the named
command does not exist when Mosaic is started, audio
annotations will be disabled (the menu entry will be made
insensitive).
- recordCommand: string
- Command used to record audio annotations -- this is the full
command, using the command named in recordCommandLocation as
the first word. Default is "recordaiff -n 1 -s 8 -r 8000" on
SGI, "record" on Sun, "srecorder -au" on HP. The command thus
named is expected to accept a single additional argument: the
filename of the new audio file; the command is also expected
to correctly terminate recording when sent a SIGINT.
- reloadReloadsImages: Boolean (new for version 2.0)
- If true, the Reload option will clear out cached image data for
the current document before reloading the document, thus causing the
images to be reloaded also. This is most useful for HTML authors using
Mosaic to view their work. Default is false.
- sendmailCommand: string
(new for version 2.0)
- Points to the
sendmail
binary. The assumption is made that
this program accepts command-line arguments specifying addresses to which
messages should be mailed, and accepts other headers and message text from
stdin. Default is "/usr/lib/sendmail"
- simpleInterface: Boolean (new for version 2.0)
- Allows Mosaic's menu bar and bottom button configuration to be
considerably pared down (default is false).
- tmpDirectory: string
- Name of directory in which to store temporary files generated by
Mosaic. This directory should have plenty of space, ideally
at least 10 or 20 megabytes, in case you happen to pull down a
very large data file. Setting this resource is equivalent to
using the command-line flag -tmpdir or setting
the environment variable
TMPDIR
.
- trackFullURLs: Boolean (new for version 2.0)
- If set to false, enables prototypical smart display of "where you're
going" during mouse tracking, including format divination. Default is
true.
- trackVisitedAnchors: Boolean
- If true, visited anchors (anchors pointing to documents that have
previously been viewed) will be displayed with a different style
than anchors that have not yet been visited. Default is true.
(On slow machines, changing this resource to false may
substantially improve Mosaic's performance.)
- twirlIncrement: integer (new for version 2.0)
- Indicates how many bytes (minimum) are transferred between updates
of the twirling transfer icon for normal (FTP, Gopher, HTTP) transfers.
Default is 4096.
- twirlingTransferIcon: Boolean (new for version 2.0)
- Can be set to false to turn off the twirling NCSA logo during document
transfers. Clicking the icon will still interrupt a transfer.
Default is true.
- uncompressCommand: string
- Command to use to uncompress compressed files (files with an
extension of '.Z'). Default is "uncompress"
- useDefaultExtensionMap: Boolean (new for version 2.0)
- Can be set to false to keep Mosaic from having any default file-extension-to-MIME-type mappings.
We strongly recommend that this resource be left true; simply
overridden as necessary. Default is true.
- useDefaultTypeMap: Boolean (new for version 2.0)
- Can be set to false to keep Mosaic from having any default MIME-type-to-external-viewer mappings. We
strongly recommend that this resource be left true; simply overridden
as necessary. Default is true.
- useGlobalHistory: Boolean
- If true, a global history of everywhere you visit is automatically
stored. (This history is used to
shade anchors different colors based on whether you've visited the
corresponding documents or not, if resource trackVisitedAnchors
is set to true) Default is true.
- warpPointerForIndex:
Boolean (update for version 2.0)
- Removed for version 2.0.
- windowPerDocument: Boolean (update for version 2.0)
- Removed for version 2.0. New windows can be created by
clicking on hyperlinks with the middle mouse button rather than
the left one.
- xtermCommand: string
- Name of command used to start a terminal window for a telnet
session. Default is "xterm" on most platforms; "aixterm -v" on IBM
AIX 3.x systems.
Visual Resources
The following resources actually belong to the HTML widget used in the Document View window, so you should specify them in your
.Xdefaults
file as follows:
Mosaic*anchorColor: cyan
- anchorColor: color
- Color to shade anchors whose corresponding documents haven't been previously visited. Default is blue3.
- visitedAnchorColor: color
- Color to shade anchors whose corresponding documents have been previously visited. Default is violetred4.
- activeAnchorFG: color
- Color to shade anchors that are in the process of being activated. Default is red.
- activeAnchorBG: color
- Color to shade the background of anchors that are in the
process of being activated. Default is grey80 (the same
color as the application's background).
- anchorUnderlines: integer
- This can be one of {0, 1, 2, 3}, and indicates the number
of lines to draw underneath unvisited anchors. Default is 1.
- visitedAnchorUnderlines: integer
- This can be one of {0, 1, 2, 3}, and indicates the number
of lines to draw underneath visited anchors. Default is 1.
- dashedAnchorUnderlines: Boolean
- If true, lines drawn under unvisited anchors will be dashed.
Default is false.
- dashedVisitedAnchorUnderlines: Boolean
- If true, lines drawn under visited anchors will be dashed.
Default is true.
- colorsPerInlinedImage: integer
- Number of unique colors to allocate per
inlined-image;
default is 50. Note that this has no bearing on images that
are displayed externally to NCSA Mosaic, e.g. GIF images passed
to an external viewer.
- percentVerticalSpace: integer
- The height of vertical space between paragraphs, between headers
and paragraphs, etc., expressed as a percentage of the normal
line height. Default is 90.
Font Resources
Font resources are also resources that belong to the HTML widget, so
the above note applies
here too. Note that fonts can be changed dynamically from the
Options menu.
- font: font
- Font used in normal formatted text.
Default is "-adobe-times-medium-r-normal-*-17-*-*-*-*-*-iso8859-1".
- italicFont: font
- Font used in italic formatted text.
Default is "-adobe-times-medium-i-normal-*-17-*-*-*-*-*-iso8859-1".
- boldFont: font
- Font used in bold formatted text.
Default is "-adobe-times-bold-r-normal-*-17-*-*-*-*-*-iso8859-1".
- fixedFont: font
- Font used in fixed (typewriter style) formatted text.
Default is "-adobe-courier-medium-r-normal-*-17-*-*-*-*-*-iso8859-1".
- header1Font: font
- Font used in level 1 headers.
Default is "-adobe-times-bold-r-normal-*-24-*-*-*-*-*-iso8859-1".
- header2Font: font
- Font used in level 2 headers.
Default is "-adobe-times-bold-r-normal-*-18-*-*-*-*-*-iso8859-1".
- header3Font: font
- Font used in level 3 headers.
Default is "-adobe-times-bold-r-normal-*-17-*-*-*-*-*-iso8859-1".
- header4Font: font
- Font used in level 4 headers.
Default is "-adobe-times-bold-r-normal-*-14-*-*-*-*-*-iso8859-1".
- header5Font: font
- Font used in level 5 headers.
Default is "-adobe-times-bold-r-normal-*-12-*-*-*-*-*-iso8859-1".
- header6Font: font
- Font used in level 6 headers.
Default is "-adobe-times-bold-r-normal-*-10-*-*-*-*-*-iso8859-1".
- addressFont: font
- Font used in addresses.
Default is "-adobe-times-medium-i-normal-*-17-*-*-*-*-*-iso8859-1".
- plainFont: font
- Font used in plaintext regions or preformatted documents.
Default is "-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1".
- listingFont: font
- Font used in listing regions. Default is "-adobe-courier-medium-r-normal-*-12-*-*-*-*-*-iso8859-1".
Back to top level Documentation
Index
National Center for Supercomputing Applications
alanb@ncsa.uiuc.edu