vcs

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category General
  • Assigned To
    outlyer
  • Operating System All/Any
  • Severity Medium
  • Priority Very Low
  • Reported Version 1.13.2
  • Due in Version 1.13.3
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: vcs
Opened by outlyer - 28.03.2016
Last edited by outlyer - 23.05.2017

FS#311 - Allow disabling coloured output altogether

Reported by DanC

https://outlyer.net/2014-05-18:vcs-1_13_2-released/comment-page-1/#comment-20390:

A great utilty... I’ve been using this for a couple of years now (it runs every night as a cron job).
I’ve been looking at cleaning up the output that cron captures from each of its commands and stores as a system email.
I’ve enabled the -Wc option to prevent coloured output. Mostly this works except near the start of the script when it says:
Settings from /home/danc/.vcs/vcs.conf:
bg_heading
This is still shown in green. Bug?

Currently the colour only stops after the option is found.

The task blocks this from closing
ID Project Summary Priority Severity Assigned To Progress
250 vcs  FS#250 - Release 1.13.3  Very Low Low outlyer
100%
Closed by  outlyer
23.05.2017 17:46
Reason for closing:  Implemented
Additional comments about closing:  

Implemented in 1.13.3

Project Manager

One possibility would be to honour the TERM variable when calling tput (i.e. don't fall back if tput is present but it can't print colours).

A pre-release with such modifications can be found at http://p.outlyer.net/vcs/files/pre-RELEASES/vcs-1.13.2-pre.3.bash. (Should actually have been pre.4)

Calling it with env TERM=vt100 vcs -Wc works as expected.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing