Option 'D' --> Use ANSI.SYS Display Driver.  This option allows the user to force QTGrep to use the ANSI.SYS display driver to highlight the match string on output.  This option is very useful when used to pick out the match string from the surrounding record on output.  The colors to usefor highlighting the output are specified in the QTGrep configuration file.

This option is unconditionally turned off if either the 'r' or 'z' options are specified.

This is a  local option and  may be turned  on or off  for separate files as desired.

The corresponding long option is: --colors=(on|off)

The long options setting display colors can be used to set the display colors or changing those set in the configuration file. These are:

  Long Options
           --ANSI-match-foreground=
           --ANSI-match-background=
           --ANSI-normal-foreground=
           --ANSI-normal-background=
           --ANSI-filename-foreground=
           --ANSI-filename-background=
           --ANSI-end-foreground=
           --ANSI-end-background=

Refer to the configuration file help for information on the values to set.
           NOTE: In this set of long option names, either the underscore, '_', or the hyphen, '-', may be used. The underscore is allowed for consistency with the configuration file use.
Incompatible Options Are:
W
Write Compiled Search Patterns
Z
File  Preview
r
Replace Matches (Req Pat File)
z
Simulate Replace Matches


© Terry D. Boldt 1997-2005
All Rights Reserved
Last Updated: Nov. 26, 2005