
help chain | help chars | help colors | help compile | help nocase | help office | help options | help patterns | help select | help shell | help unicode | help var | samp | Команда: help colors sfk color control (sfk help colors)
set SFK_COLORS=off|on,err:n,warn:n,head:n,examp:n,file:n,hit:n,rep:n,pre:n
set SFK_COLORS=bright|dark,theme:black|theme:white
color identifiers are
err error messages
warn warning messages
head headlines in help text
examp examples in help text
file filename listings in find
hit text pattern hits in find and filter
rep replaced patterns in filter
pre line prefix symbols in find
time time or low-prio status infos
traceinc with -tracesel, included names
traceexc with -tracesel, excluded names
color code n is a combination of these values:
0 = black
1 = bright
2 = red
4 = green
8 = blue
some commands like "sfk echo" also accept direct color names:
red,green,blue,yellow,cyan,magenta,default,Red,Green,Blue...
sfk for windows tries to autoselect color brightness if a black
or white shell background is found. otherwise the spelling matters:
red means dark red, and Red means bright red.
you may also set SFK_COLORS to bright or dark, or specify options
-bright or -dark in your command, to force all plain text colors
to the same brightness, regardless of spelling.
examples for color schemes:
neutral, compatible to black and white backgrounds:
set SFK_COLORS=head:5,examp:11,file:11,hit:5,rep:7
black background optimized theme:
set SFK_COLORS=theme:black
white background optimized theme:
set SFK_COLORS=theme:white
switch off colored output:
set SFK_COLORS=off
to switch off colors per command, use general option -nocol .
to TEST current active colors, type: sfk colortest |
![]() |