From a4e463e111ba498197315b8c6e5d882eb73be4a8 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 28 Dec 2012 12:25:17 -0500 Subject: v4: sisu: --color flag, which toggles color on/off (Closes: #622171) * the fix here is specific to color on/off for reporting of sisu version * sisu --version --color-off || sisu -v -k || sisu -kv * there are various ways to control color output to screen * --color-off or -k switches color off * --color or --color-on switches color on, which is usually the default * --color-toggle or -c toggles the default setting (in most cases) * sisurc.yml can set default color state which affects most screen output --- data/doc/sisu/CHANGELOG_v4 | 11 +++++++++++ .../doc/sisu/markup-samples/v4/sisu_manual/sisu_commands.sst | 12 ++++++++++++ 2 files changed, 23 insertions(+) (limited to 'data') diff --git a/data/doc/sisu/CHANGELOG_v4 b/data/doc/sisu/CHANGELOG_v4 index 51922303..6cbc23a1 100644 --- a/data/doc/sisu/CHANGELOG_v4 +++ b/data/doc/sisu/CHANGELOG_v4 @@ -28,6 +28,17 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_4.0.1.orig.tar.xz * v4: debug (internal code use), color markers for line number & file name (colored location markers to show when line passed within running code) +* v4: control color on/off to screen + close #622171 sisu: --color flag, which toggles color on/off + there are various ways to control color output to screen + * --color-off or -k switches color off + * --color or --color-on switches color on, which is usually the default + * --color-toggle or -c toggles the default setting (in most cases) + * sisurc.yml can set default color state which affects most screen output + the fix here is specific to color on/off for reporting of sisu version + sisu -v -k + sisu --version --color-off + %% 4.0.0.orig.tar.xz (2012-12-12:50/3) http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_4.0.0 http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/debian/sisu_4.0.0-1 diff --git a/data/doc/sisu/markup-samples/v4/sisu_manual/sisu_commands.sst b/data/doc/sisu/markup-samples/v4/sisu_manual/sisu_commands.sst index 0f3c0b8e..2811e961 100644 --- a/data/doc/sisu/markup-samples/v4/sisu_manual/sisu_commands.sst +++ b/data/doc/sisu/markup-samples/v4/sisu_manual/sisu_commands.sst @@ -55,6 +55,15 @@ see --configure !_ -c [filename/wildcard] \\ see --color-toggle +!_ --color \\ +see --color-on + +!_ --color-off \\ +turn off color in output to terminal + +!_ --color-on \\ +turn on color in output to terminal + !_ --color-toggle [filename/wildcard] \\ screen toggle ansi screen colour on or off depending on default set (unless -c flag is used: if sisurc colour default is set to 'true', output to screen will be with colour, if sisurc colour default is set to 'false' or is undefined screen output will be without colour). Alias -c @@ -148,6 +157,9 @@ see --exc-* !_ -j [filename/wildcard] \\ copies images associated with a file for use by html, xhtml & xml outputs (automatically invoked by --dump & redirect). +!_ -k \\ +see --color-off + !_ --keep-processing-files [filename/wildcard/url] \\ see --maintenance -- cgit v1.2.3