From 58113f2d4e51a4f9667fc29f01621c6b77c72362 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 14 Dec 2011 11:15:37 -0600 Subject: [PATCH] use yellow on grey --- debian/changelog | 1 + usr/lib/byobu/entropy | 3 +-- usr/share/man/man1/byobu.1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7a51479d..78805758 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ byobu (4.55) unreleased; urgency=low usr/share/man/man1/byobu.1: - add a system entropy status item - must use cat, can't use read in dash here + - use yellow on grey -- Dustin Kirkland Fri, 09 Dec 2011 20:38:02 -0600 diff --git a/usr/lib/byobu/entropy b/usr/lib/byobu/entropy index fe0c3609..8f6fcac9 100755 --- a/usr/lib/byobu/entropy +++ b/usr/lib/byobu/entropy @@ -23,9 +23,8 @@ __entropy_detail() { } __entropy() { - # Can't use 'read' here in dash, as it only reads the first byte local e=$(cat /proc/sys/kernel/random/entropy_avail) - color K R; printf "e%s" "$e"; color -- + color K Y; printf "e%s" "$e"; color -- } # vi: syntax=sh ts=4 noexpandtab diff --git a/usr/share/man/man1/byobu.1 b/usr/share/man/man1/byobu.1 index 2c29bd14..d45dfae8 100644 --- a/usr/share/man/man1/byobu.1 +++ b/usr/share/man/man1/byobu.1 @@ -47,7 +47,7 @@ Note that BYOBU_CONFIG_DIR=\fI$XDG_CONFIG_HOME/byobu\fP if defined, and \fI$HOME \fBec2_cost\fP \- an estimation of the cost of the current boot of the system in terms of the Amazon EC2 billing model; displayed in the lower bar toward the right in green text on a black background; there is a leading '~' to indicate that this is an estimation, and the monetary units are US Dollars '$' -\fBentropy\fP \- a count of the system's current entropy in bytes; displayed in the lower bar toward the right in red text on a black background; there is a leading 'e' to indicate 'entropy' +\fBentropy\fP \- a count of the system's current entropy in bytes; displayed in the lower bar toward the right in yellow text on a dark grey background; there is a leading 'e' to indicate 'entropy' \fBraid\fP \- note very prominently if there is a RAID failure detected, in red blinking text on a white background; the term 'RAID' notes that there is something wrong with the RAID, and if there is a rebuild/resync in progress, the percent complete is also shown