X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fconstants.h;h=c358831010e78e14c02085b5876951c60c5d6238;hb=08e732449774e01a681684b0c48e5e1ef4969709;hp=4cc69ca5e7a2931c2a574733288248240446dd76;hpb=0d7f3068981f2b08e583cec21d9069e97c73addd;p=coloredstderr%2Fcoloredstderr.git diff --git a/src/constants.h b/src/constants.h index 4cc69ca..c358831 100644 --- a/src/constants.h +++ b/src/constants.h @@ -21,15 +21,16 @@ #define CONSTANTS_H 1 /* Names of used environment variables. */ -#define ENV_NAME_FDS "COLORED_STDERR_FDS" -#define ENV_NAME_PRE_STRING "COLORED_STDERR_PRE" -#define ENV_NAME_POST_STRING "COLORED_STDERR_POST" -#define ENV_NAME_FORCE_WRITE "COLORED_STDERR_FORCE_WRITE" -#define ENV_NAME_PRIVATE_FDS "COLORED_STDERR_PRIVATE_FDS" +#define ENV_NAME_FDS "COLORED_STDERR_FDS" +#define ENV_NAME_PRE_STRING "COLORED_STDERR_PRE" +#define ENV_NAME_POST_STRING "COLORED_STDERR_POST" +#define ENV_NAME_FORCE_WRITE "COLORED_STDERR_FORCE_WRITE" +#define ENV_NAME_IGNORED_BINARIES "COLORED_STDERR_IGNORED_BINARIES" +#define ENV_NAME_PRIVATE_FDS "COLORED_STDERR_PRIVATE_FDS" /* Strings written before/after each matched function. */ -#define DEFAULT_PRE_STRING "\033[91m" -#define DEFAULT_POST_STRING "\033[0m" +#define DEFAULT_PRE_STRING "\033[31m" /* red */ +#define DEFAULT_POST_STRING "\033[0m" /* default */ /* Number of elements to allocate statically. Highest descriptor observed in * normal use was 255 (by bash), which yielded this limit to prevent