Running Fern

To run Fern, you need:
  1. The Fern executable ("fern.exe" for OS/2; "fern" for Unix)
  2. A Fern Definition file
  3. An HTML document to check

Start Fern on the command line by specifying the definition file and HTML file to use:
Usage:Example:
fern fern.def file.html fern.exe fern.def index.htm

Fern first loads in the definition file, then processes the HTML document. Output from the document checking is sent to the screen (standard out). Use ">" to redirect the output to a file.
fern.exe fern.def index.html > checked.txt

Optional definitions for Fern can be specified on the command line. For example, to define the variable "TTON", use:
fern.exe fern.def index.html TTON=true
Any number of optional command-line parameters can be specified. Please note: the command-line parameters are case-sensitive. That is, "TTON=true" is different than "tton=true".

Running Fern from Templeton

To run Fern automatically from Templeton, you should use Templeton's "Command_html" or "Command_pattern" features. The entry to Templeton's configuration file would look something like:
command_html fern.exe fern.def %F TTON=true Date="%N" >> h:\fern.out
command_pattern * fern.exe fern.def %F TTON=true Date="%N" SlowModem=TRUE Accessibility=TRUE >> h:\fern2.out

[Definition file] [Main Menu]
Document revision: 6 December 1998 for Fern 1.00
Copyright 1996-1998 N.A. Krawetz
Modification, republication, and redistribution of this document is strictly prohibited. All rights reserved.