|
% comparescan [options]
A list of options which DAI Comparescan supports is displayed when the following command is typed:
% comparescan -h
The options are described below:
| Option | Description |
|---|---|
| -h -help -? | Display the help options message |
| -v -version | Display DAI Comparescan and license manager version |
| -batch | Run in batch mode. No GUI will be provided. You should specify a rules file on the command line. |
| -r 1 | Create a summary report on standard output. This will print the first 10 or so errors, sorted by time, in the error database. There is a space between "-r" and "1". |
| -r 2 | Create a full report on standard output. This will print all errors in the error database. There is a space between "-r" and "2". |
| -save <filename> | Save the binary error database into filename at the end of comparison. |
| -p <filename> -pref <filename> | Specify a preference file overriding the default of ~/.comparescan.pref |
| -state <filename> | Specify a state file overriding the default of ~/.comparescan.state |
| -keyfile <filename> | Specify an Evaluation Key File. |
| -f <filename> -file <filename> | Specify a file to read command line options from. |
| -run | Run comparison immediately upon startup. |
| -nobanner | Do not display any text at startup. |
| -nogbanner | Do not display any graphics banner at startup. |
| -hostid | Display the host id for this machine. |
DAI Comparescan always reads two files when it starts, the preferences file and the state file. They are usually ~/.comparescan.pref and ~/.comparescan.state respectively, although they can be overridden with command line options. These files can be removed at any time. If they are removed, all previous DAI Comparescan settings will be lost.
To specify a rules file that has SST references in it:
% comparescan completecompare.rules
To specify a rules file on the command line that does not have any SST file references:
% comparescan topcompare.rules adder1.sst \
adder1-fast.sst
You can run Comparescan without a GUI with the following options:
% comparescan -run completecompare.rules
Exit code of 0 means that no mismatches were found.
Exit code of 1 means that some mismatches were found, some signals are missing, or some other error was detected.
The binary error database can be loaded by using the GUI, File-->Open, or by specifying the file name on the command line. If the binary error database is specified on the command line, no rules file should be specified.
% comparescan completecompare.csd
The state file name and location can be overridden with the -state command line option.
Note this file should not be modified with an editor. It gets automatically updated when options are changed in the Command Options window. The state file does not store any of the comparison results information.
The preferences file name and location can be overridden with the -pref command line option.
Note this file should not be modified by the user. Use the preferences dialog to modify its contents.
xrdb or .Xdefaults. The following resources are used by DAI Comparescan. The default values are listed.
DAI Comparescan*foregroundcolor: #ffff00
DAI Comparescan*backgroundcolor: #6e6e6e
DAI Comparescan*selectcolor: #ff8080
DAI Comparescan*foregroundinactivecolor: #b0b000
DAI Comparescan*menufont: -*-helvetica-bold-r-*--12-*
DAI Comparescan*buttonfont: -*-helvetica-bold-r-*--14-*
DAI Comparescan*titlefont: -*-helvetica-bold-r-*--14-*
DAI Comparescan*userfont: -*-helvetica-medium-r-*--12-
DAI Comparescan*infofont: -*-helvetica-medium-r-*--11-*
DAI Comparescan*labelfont: -*-helvetica-medium-r-*--12-
DAI Comparescan*fixedfont: -*-fixed-medium-*-semicondensed-*-13-*
DAI Comparescan*dialogmessagefont: -*-helvetica-bold-r-*--14-*
If you change a setting in your .Xdefaults file, use xrdb to apply the changes to the running X server.
|