* 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
This commit is contained in:
Dustin Kirkland 2011-01-28 15:52:34 -06:00
commit 32419fb36d
6 changed files with 13 additions and 5 deletions

8
debian/changelog vendored
View file

@ -4,6 +4,14 @@ byobu (3.27) unreleased; urgency=low
* usr/lib/byobu/fan_speed: drop detail section, nothing interesting here * usr/lib/byobu/fan_speed: drop detail section, nothing interesting here
* usr/share/byobu/profiles/common: accommodate for powernap's off- and on- * usr/share/byobu/profiles/common: accommodate for powernap's off- and on-
lining of processors dynamically 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 <kirkland@ubuntu.com> Thu, 27 Jan 2011 10:24:10 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 27 Jan 2011 10:24:10 -0600

View file

@ -40,7 +40,7 @@ mail=0
mem_available=1 mem_available=1
mem_used=1 mem_used=1
menu=1 menu=1
network=0 network=1
notify_osd=0 notify_osd=0
processes=0 processes=0
raid=1 raid=1

View file

@ -317,7 +317,7 @@ def readstatus():
status["mem_available"]=1 status["mem_available"]=1
status["mem_used"]=1 status["mem_used"]=1
status["menu"]=1 status["menu"]=1
status["network"]=0 status["network"]=1
status["notify_osd"]=0 status["notify_osd"]=0
status["processes"]=0 status["processes"]=0
status["raid"]=1 status["raid"]=1

View file

@ -85,5 +85,5 @@ for i in up down; do
;; ;;
esac esac
fi 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 done

View file

@ -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`%<" caption always "%12`%?%-Lw%50L>%?%{=r}%n*%f %t%?(%u)%?%{-}%12`%?%+Lw%?%11` %=%12`%110`%109`%122`%111`%10`%<"
# Status string, last line # 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 # NOTE: Older version of screen have an arbitrary limit of only being able
# to change colors 16 times in this 'hardstatus string'. # to change colors 16 times in this 'hardstatus string'.

View file

@ -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 \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 \fBnotify_osd\fP \- Send on-screen notification messages to screen's notification buffer