- Status Closed
- Percent Complete
- 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
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.
ID | Project | Summary | Priority | Severity | Assigned To | Progress | |
---|---|---|---|---|---|---|---|
250 | vcs | Very Low | Low | outlyer |
Closed by outlyer
23.05.2017 17:46
Reason for closing: Implemented
Additional comments about closing:
23.05.2017 17:46
Reason for closing: Implemented
Additional comments about closing:
Implemented in 1.13.3
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
One possibility would be to honour the
TERM
variable when callingtput
(i.e. don't fall back iftput
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.