How To Specify Your Home Document
Herein I will reveal unto you how to specify your home document for NCSA Mosaic via 37 separate methods.
The algorithm used to determine your home document is as follows:
- The default home document is equivalent to the default value of
the X resource homeDocument.
The default value of this resource can be overridden using the
usual X resource mechanism (i.e., specifying a value in your
.Xdefaults) and by the -home command line flag.
- The value of the environment variable WWW_HOME, if it exists,
will override the value of the X resource homeDocument (regardless of
whether that resource is set in your .Xdefaults file or via the
-home command-line option).
- A command-line argument, standing alone, all by itself, will be used
as the name of the home document and will override any other possible
values.
So, to take an example to an extreme, specifying the following (in ksh):
% WWW_HOME=foobar xmosaic -home fooblatz foobletch
...will result in the document 'foobletch' being used as your home
document.
Note that home documents are Universal
Resource Locators (although NCSA Mosaic will also accept a plain
filename).