* usr/lib/byobu/logo:

- print trailing whitespace
* usr/lib/byobu/network
  - initialize and localize variables
* usr/share/byobu/profiles/common:
  - drop run-this-one (was not working quite as desired
This commit is contained in:
Dustin Kirkland 2011-07-17 14:08:55 -05:00
commit 143b604e90
4 changed files with 9 additions and 1 deletions

6
debian/changelog vendored
View file

@ -74,6 +74,12 @@ byobu (4.18) unreleased; urgency=low
usr/share/byobu/profiles/classroom: usr/share/byobu/profiles/classroom:
- fixup byobu-classroom - fixup byobu-classroom
- fix whitespace printing in byobu-status-print - fix whitespace printing in byobu-status-print
* usr/lib/byobu/logo:
- print trailing whitespace
* usr/lib/byobu/network
- initialize and localize variables
* usr/share/byobu/profiles/common:
- drop run-this-one (was not working quite as desired
[ James Spencer ] [ James Spencer ]
* usr/lib/byobu/.constants: * usr/lib/byobu/.constants:

View file

@ -116,6 +116,7 @@ __logo() {
$MARKUP && printf "$(color b k W)%s$(color -)" "$logo" || printf " $logo " $MARKUP && printf "$(color b k W)%s$(color -)" "$logo" || printf " $logo "
;; ;;
esac esac
printf " "
} }
# vi: syntax=sh ts=4 noexpandtab # vi: syntax=sh ts=4 noexpandtab

View file

@ -37,6 +37,7 @@ __network_detail() {
__network() { __network() {
get_interface; local interface="$_RET" get_interface; local interface="$_RET"
local t1=0 t2=0 x1=0 x2=0
# By default, we won't bug the user with the display of network traffic # By default, we won't bug the user with the display of network traffic
# below NETWORK_THRESHOLD in kbps; override in $BYOBU_CONFIG_DIR/status # below NETWORK_THRESHOLD in kbps; override in $BYOBU_CONFIG_DIR/status
[ -n "$NETWORK_THRESHOLD" ] || NETWORK_THRESHOLD=20 [ -n "$NETWORK_THRESHOLD" ] || NETWORK_THRESHOLD=20

View file

@ -32,7 +32,7 @@ backtick 10 9999999 9999999 byobu-janitor
backtick 11 9999999 9999999 printf "\005-1=" backtick 11 9999999 9999999 printf "\005-1="
backtick 12 9999999 9999999 byobu-status color backtick 12 9999999 9999999 byobu-status color
backtick 13 0 0 byobu-status notify_osd backtick 13 0 0 byobu-status notify_osd
backtick 1000 0 0 run-this-one byobu-statusd backtick 1000 0 0 byobu-statusd
backtick 1001 1 1 byobu-status-print 1 backtick 1001 1 1 byobu-status-print 1
backtick 1002 1 1 byobu-status-print 2 backtick 1002 1 1 byobu-status-print 2
backtick 1003 1 1 byobu-status-print 3 backtick 1003 1 1 byobu-status-print 3