Changes between Version 3 and Version 4 of Filters


Ignore:
Timestamp:
Jan 19, 2013, 1:55:27 PM (5 years ago)
Author:
davidben@mit.edu
Comment:

Add a note about colors, adapted from doc/intro.txt

Legend:

Unmodified
Added
Removed
Modified
  • Filters

    v3 v4  
    6363override the built-in filters.
    6464
     65== Colors ==
     66
     67Every filter can have a color associated with it.  Messages matching
     68the filter will then be displayed in that color if your terminal
     69supports it.  The color for a filter can be set by using the '-c'
     70option to the filter command.  For example:
     71
     72{{{     filter personal -c white}}}
     73
     74This cause all messages in the 'personal' filter to be displayed in
     75white. Colors can also be set when defining a new filter:
     76
     77{{{     filter mail -c red class ^mail$  }}}
     78
     79Barnowl can also set the background color of zephyr messages, independently of the color of the text.
     80To set the background color for a filter, just use the '-b' option to the filter command.
     81You can produce a list of the colors available to Owl with the
     82command:
     83
     84{{{     show colors}}}
     85
     86If a message matches more than one filter it will be displayed in the
     87color specified in the last filter listed in the 'show filters'
     88command.
     89
    6590== Built-in special filters ==
    6691