diff --git a/debian/changelog b/debian/changelog index b1077481..a8044d21 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,14 @@ byobu (3.27) unreleased; urgency=low * usr/lib/byobu/fan_speed: drop detail section, nothing interesting here * usr/share/byobu/profiles/common: accommodate for powernap's off- and on- lining of processors dynamically + * etc/byobu/statusrc, usr/bin/byobu-config, usr/lib/byobu/network, + usr/share/byobu/profiles/common, usr/share/man/man1/byobu.1: + - enable the network monitor by default (it seems I *always* turn this + on, on every single byobu instance) + - only display when traffic is non-zero + - move further to the left, so that entire line doesn't jump around + * usr/share/byobu/profiles/common: move disk_io further left, so line + does jump around so much -- Dustin Kirkland Thu, 27 Jan 2011 10:24:10 -0600 diff --git a/etc/byobu/statusrc b/etc/byobu/statusrc index cc486fe6..84f427fd 100644 --- a/etc/byobu/statusrc +++ b/etc/byobu/statusrc @@ -40,7 +40,7 @@ mail=0 mem_available=1 mem_used=1 menu=1 -network=0 +network=1 notify_osd=0 processes=0 raid=1 diff --git a/usr/bin/byobu-config b/usr/bin/byobu-config index 62d02213..a0f67a66 100755 --- a/usr/bin/byobu-config +++ b/usr/bin/byobu-config @@ -317,7 +317,7 @@ def readstatus(): status["mem_available"]=1 status["mem_used"]=1 status["menu"]=1 - status["network"]=0 + status["network"]=1 status["notify_osd"]=0 status["processes"]=0 status["raid"]=1 diff --git a/usr/lib/byobu/network b/usr/lib/byobu/network index a714fc9f..5b46b9e6 100755 --- a/usr/lib/byobu/network +++ b/usr/lib/byobu/network @@ -85,5 +85,5 @@ for i in up down; do ;; esac fi - printf "$(color b m w)$symbol$rate$(color -)$(color m w)$unit$(color -) " + [ "$rate" != "0" ] && printf "$(color b m w)$symbol$rate$(color -)$(color m w)$unit$(color -) " done diff --git a/usr/share/byobu/profiles/common b/usr/share/byobu/profiles/common index 9d9f7eb2..3b880eb1 100644 --- a/usr/share/byobu/profiles/common +++ b/usr/share/byobu/profiles/common @@ -112,7 +112,7 @@ source $HOME/.byobu/keybindings caption always "%12`%?%-Lw%50L>%?%{=r}%n*%f %t%?(%u)%?%{-}%12`%?%+Lw%?%11` %=%12`%110`%109`%122`%111`%10`%<" # Status string, last line -hardstatus string '%99`%{-}%{=r}%12` %100`%112`%= %130`%135`%102`%101`%129`%131`%127`%114`%115`%108`%134`%128`%125`%126`%113`%119`%133`%117`%116`%106`%104`%103`%105`%107`%136`%123`%132`%120`%121`' +hardstatus string '%99`%{-}%{=r}%12` %100`%112`%=%117`%133`%130`%135`%102`%101`%129`%131`%127`%114`%115`%108`%134`%128`%125`%126`%113`%119`%116`%106`%104`%103`%105`%107`%136`%123`%132`%120`%121`' # NOTE: Older version of screen have an arbitrary limit of only being able # to change colors 16 times in this 'hardstatus string'. diff --git a/usr/share/man/man1/byobu.1 b/usr/share/man/man1/byobu.1 index 08a8ae44..cc32f088 100644 --- a/usr/share/man/man1/byobu.1 +++ b/usr/share/man/man1/byobu.1 @@ -63,7 +63,7 @@ Note that DATA=\fI$HOME/.byobu\fP. \fBmenu\fP \- a simple indicator directing new users to use the F9 keybinding to access the byobu menu -\fBnetwork\fP \- instantaneous upload/download bandwidth in [GMk]bps over the last 3 seconds; displayed in the lower bar toward the right in white text on a purple background with a leading '^' sign indicating 'up' and 'v' sign indicating 'down'; override the default interface by specifying an alternate interface with MONITORED_NETWORK=eth1, and override the default units (bits) with NETWORK_UNITS=bytes in \fI$DATA/statusrc\fP +\fBnetwork\fP \- instantaneous upload/download bandwidth in [GMk]bps over the last 3 seconds; nothing is displayed if traffic is 0; displayed in the lower bar toward the left in white text on a purple background with a leading '^' sign indicating 'up' and 'v' sign indicating 'down'; override the default interface by specifying an alternate interface with MONITORED_NETWORK=eth1, and override the default units (bits) with NETWORK_UNITS=bytes in \fI$DATA/statusrc\fP \fBnotify_osd\fP \- Send on-screen notification messages to screen's notification buffer