From 12df044d5524905c5caf9e9a1a78548dfbf45aba Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 8 Apr 2009 10:17:49 -0700 Subject: [PATCH] revert bolding the numbers this is really troublesome for older screen binaries that don't support more than 16 color changes, and this change is totally gratuitous perhaps add these back in at some point, if screen gets patched upstream and by all distros --- bin/cpu-freq | 2 +- bin/mem-available | 2 +- bin/mem-used | 2 +- bin/processes | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/cpu-freq b/bin/cpu-freq index 089898ae..e5baed1c 100755 --- a/bin/cpu-freq +++ b/bin/cpu-freq @@ -26,4 +26,4 @@ else speed="$mhz" unit="MHz" fi -printf "\005{=b cW}%s\005{-}\005{= cW}$unit\005{-} " $speed +printf "\005{= cW}%s$unit\005{-} " $speed diff --git a/bin/mem-available b/bin/mem-available index 9a2b29fe..c4c4732e 100755 --- a/bin/mem-available +++ b/bin/mem-available @@ -32,4 +32,4 @@ else mem="$mem" unit="KB" fi -printf "\005{=b gW}%s\005{-}\005{= gW}$unit$comma\005{-}%s" "$mem" "$whitespace" +printf "\005{= gW}%s$unit$comma\005{-}%s" "$mem" "$whitespace" diff --git a/bin/mem-used b/bin/mem-used index 5d1a6174..a0901467 100755 --- a/bin/mem-used +++ b/bin/mem-used @@ -17,4 +17,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -free | awk '/buffers\/cache:/ {printf "\005{=b gW}%.0f\005{-}\005{= gW}%%\005{-} ", 100*$3/($3 + $4)}' +free | awk '/buffers\/cache:/ {printf "\005{= gW}%.0f%%\005{-} ", 100*$3/($3 + $4)}' diff --git a/bin/processes b/bin/processes index 575a8b5b..e93e0a24 100755 --- a/bin/processes +++ b/bin/processes @@ -17,4 +17,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -printf "\005{=b yk}%s\005{-}\005{= yk}&\005{-} " $(ps -e | wc -l) +printf "\005{= yk}%s&\005{-} " $(ps -e | wc -l)