autospec.conf: better documentation for terminal (and web) color setup

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-08 21:20:49 +01:00
parent 924f2b2cab
commit a483f12876
2 changed files with 13 additions and 0 deletions

View File

@ -37,6 +37,10 @@ Fri Nov 09 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
define very different color sequences, like the colors used in web pages. define very different color sequences, like the colors used in web pages.
(A feature asked by Silvan for openmamba webbuild). (A feature asked by Silvan for openmamba webbuild).
+ improvement
* conf/autospec.conf - Davide Madrisan:
Better documentation for terminal (and web) color setup.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Changes in version 1.14.0 Changes in version 1.14.0

View File

@ -36,10 +36,19 @@ spec_backup_attr="hidden"
## Output using ascii colors (enabled by default) ----------------------------- ## Output using ascii colors (enabled by default) -----------------------------
# Default colors are: # Default colors are:
# ESC=$(echo -en "\033")
# CRIT="${ESC}[1;31m" (red) # CRIT="${ESC}[1;31m" (red)
# NOTE="${ESC}[1;33m" (yellow) # NOTE="${ESC}[1;33m" (yellow)
# WARN="${ESC}[1;31m" # WARN="${ESC}[1;31m"
# EXIT="${ESC}[1;31m" # EXIT="${ESC}[1;31m"
# NORM=$(echo -en "${ESC}[m\017")
#
# A possible setup for the web:
# CRIT="<font color=white style=\"background-color:red\">"
# NOTE="<font color=gold>"
# WARN="<font color=red>"
# EXIT="$CRIT"
# NORM="</font>"
colorize=1 colorize=1
## Logging directory (default is /var/tmp/@package@) -------------------------- ## Logging directory (default is /var/tmp/@package@) --------------------------