Bug 801626

Summary: watch: enable ANSI colors in output with "--color"
Product: [Fedora] Fedora Reporter: Jan Pokorný [poki] <jpokorny>
Component: procpsAssignee: Jaromír Cápík <jcapik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: fedora, jcapik, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-27 18:46:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pokorný [poki] 2012-03-09 02:47:22 UTC
I've noticed a bit annoying thing (compared to other distros)
that watch in F16 still does not recognize "--color" option:

        $ rpm -qf $(which watch)
        procps-3.2.8-24.20110302git.fc16.x86_64
        $ watch --version
        0.2.0
        $ watch --color
        watch: unrecognized option '--color'

On Debian, this seems to work for 2 years already:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=129334

Please fix.

Comment 1 Jan Pokorný [poki] 2012-07-27 11:41:06 UTC
Seems to be postponed to F18 with procps-ng package [1]:

> watch: interpret ANSI color code sequences

[1] http://fedoraproject.org/wiki/Features/procps-ng

Comment 2 Jan Pokorný [poki] 2012-07-27 11:45:26 UTC
Indeed, using separate RPM [2]:

$ watch --version
watch from procps-ng 3.3.2
$ watch --help | grep color
  -c, --color            interpret ANSI color sequences

[2] http://jcapik.fedorapeople.org/files/procps-ng/f17/

Comment 3 Jaromír Cápík 2012-07-27 18:46:05 UTC
Ahoj Honzo.

Please, read the following bug history ...

https://bugzilla.redhat.com/show_bug.cgi?id=820180

I'm closing this one as duplicate ...

Regards,
Jaromir.

*** This bug has been marked as a duplicate of bug 820180 ***