[Bug 1658556] Re: watch -c --differences=permanent misbehaves (highlights everything)
Launchpad Bug Tracker
1658556 at bugs.launchpad.net
Fri Dec 20 08:57:44 UTC 2019
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: procps (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1658556
Title:
watch -c --differences=permanent misbehaves (highlights everything)
Status in procps package in Ubuntu:
Confirmed
Bug description:
If the watch -c and --differences=permanent options are combined, then
upon the first update _every_ character is highlighted even if nothing
has ever changed.
It appears that -c ("Interpret ANSI color and style sequences")
tickles a bug in the persistence logic. Regular non-permanent
highlighting (with option -d) works okay with -c.
STEPS TO REPRODUCE:
1. /usr/bin/watch -c --differences=permanent -n 1 echo This never
changes
RESULTS: After one second all output is highlighted
EXPECTED RESULTS: No highlighting until something changes
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: procps 2:3.3.10-4ubuntu2.3
ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40
Uname: Linux 4.4.0-62-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jan 22 17:35:09 2017
InstallationDate: Installed on 2013-08-06 (1266 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: procps
UpgradeStatus: Upgraded to xenial on 2016-05-11 (257 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1658556/+subscriptions
More information about the foundations-bugs
mailing list