* debian/config, debian/postinst, experimental/byobu-aggregate-status,

usr/bin/byobu, usr/bin/byobu-ctrl-a, usr/bin/byobu-disable,
  usr/bin/byobu-enable, usr/bin/byobu-export, usr/bin/byobu-janitor,
  usr/bin/byobu-launch, usr/bin/byobu-launcher, usr/bin/byobu-
  launcher-install, usr/bin/byobu-launcher-uninstall, usr/bin/byobu-
  quiet, usr/bin/byobu-reconnect-sockets, usr/bin/byobu-select-
  profile, usr/bin/byobu-shell, usr/bin/byobu-silent, usr/bin/byobu-
  status, usr/bin/byobu-status-detail, usr/lib/byobu/apport,
  usr/lib/byobu/arch, usr/lib/byobu/battery, usr/lib/byobu/cpu_count,
  usr/lib/byobu/cpu_freq, usr/lib/byobu/cpu_temp,
  usr/lib/byobu/custom, usr/lib/byobu/date, usr/lib/byobu/disk,
  usr/lib/byobu/disk_io, usr/lib/byobu/ec2_cost,
  usr/lib/byobu/fan_speed, usr/lib/byobu/hostname,
  usr/lib/byobu/ip_address, usr/lib/byobu/load_average,
  usr/lib/byobu/logo, usr/lib/byobu/mail, usr/lib/byobu/mem_available,
  usr/lib/byobu/mem_used, usr/lib/byobu/menu, usr/lib/byobu/network,
  usr/lib/byobu/notify_osd, usr/lib/byobu/processes,
  usr/lib/byobu/raid, usr/lib/byobu/rcs_cost,
  usr/lib/byobu/reboot_required, usr/lib/byobu/release,
  usr/lib/byobu/services, usr/lib/byobu/swap, usr/lib/byobu/time,
  usr/lib/byobu/time_utc, usr/lib/byobu/trash,
  usr/lib/byobu/updates_available, usr/lib/byobu/uptime,
  usr/lib/byobu/users, usr/lib/byobu/whoami,
  usr/lib/byobu/wifi_quality, usr/sbin/byobu-classroom:
  - add vi modelines
This commit is contained in:
Dustin Kirkland 2011-06-16 12:32:14 -05:00
parent 8be11ec0f2
commit 24cb23d7f0
59 changed files with 143 additions and 0 deletions

27
debian/changelog vendored
View file

@ -5,6 +5,33 @@ byobu (4.13) unreleased; urgency=low
- fix but where /proc/net/dev has so much traffic that integers
run up against colons with no whitespace
[ Dustin Kirkland ]
* debian/config, debian/postinst, experimental/byobu-aggregate-status,
usr/bin/byobu, usr/bin/byobu-ctrl-a, usr/bin/byobu-disable,
usr/bin/byobu-enable, usr/bin/byobu-export, usr/bin/byobu-janitor,
usr/bin/byobu-launch, usr/bin/byobu-launcher, usr/bin/byobu-
launcher-install, usr/bin/byobu-launcher-uninstall, usr/bin/byobu-
quiet, usr/bin/byobu-reconnect-sockets, usr/bin/byobu-select-
profile, usr/bin/byobu-shell, usr/bin/byobu-silent, usr/bin/byobu-
status, usr/bin/byobu-status-detail, usr/lib/byobu/apport,
usr/lib/byobu/arch, usr/lib/byobu/battery, usr/lib/byobu/cpu_count,
usr/lib/byobu/cpu_freq, usr/lib/byobu/cpu_temp,
usr/lib/byobu/custom, usr/lib/byobu/date, usr/lib/byobu/disk,
usr/lib/byobu/disk_io, usr/lib/byobu/ec2_cost,
usr/lib/byobu/fan_speed, usr/lib/byobu/hostname,
usr/lib/byobu/ip_address, usr/lib/byobu/load_average,
usr/lib/byobu/logo, usr/lib/byobu/mail, usr/lib/byobu/mem_available,
usr/lib/byobu/mem_used, usr/lib/byobu/menu, usr/lib/byobu/network,
usr/lib/byobu/notify_osd, usr/lib/byobu/processes,
usr/lib/byobu/raid, usr/lib/byobu/rcs_cost,
usr/lib/byobu/reboot_required, usr/lib/byobu/release,
usr/lib/byobu/services, usr/lib/byobu/swap, usr/lib/byobu/time,
usr/lib/byobu/time_utc, usr/lib/byobu/trash,
usr/lib/byobu/updates_available, usr/lib/byobu/uptime,
usr/lib/byobu/users, usr/lib/byobu/whoami,
usr/lib/byobu/wifi_quality, usr/sbin/byobu-classroom:
- add vi modelines
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Jun 2011 11:37:56 -0500
byobu (4.12-0ubuntu1) oneiric; urgency=low

2
debian/config vendored
View file

@ -7,3 +7,5 @@ db_input medium byobu/launch-by-default || true
db_go
exit 0
# vi: syntax=sh ts=4 noexpandtab

2
debian/postinst vendored
View file

@ -36,3 +36,5 @@ if [ -d "$DIR" ]; then
fi
#DEBHELPER#
# vi: syntax=sh ts=4 noexpandtab

View file

@ -70,3 +70,5 @@ done
# Print
sed -e ':a;N;$!ba;s/\n//g' "$RUN/$PKG/"*.status > "$RUN/$PKG.status"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -117,3 +117,5 @@ else
# Launch with command line args
exec screen $SCREEN_TERM $NAME $PROFILE "$@"
fi
# vi: syntax=sh ts=4 noexpandtab

View file

@ -57,3 +57,5 @@ done
screen -X at 0 source "$HOME/.$PKG/profile"
echo "To modify this behavior again later, run 'byobu-ctrl-a'"
echo
# vi: syntax=sh ts=4 noexpandtab

View file

@ -32,3 +32,5 @@ case "$STY" in
screen -X at 0 quit
;;
esac
# vi: syntax=sh ts=4 noexpandtab

View file

@ -29,3 +29,5 @@ echo -n "Press <enter> to continue..."
$(head -n1)
exec byobu
# vi: syntax=sh ts=4 noexpandtab

View file

@ -27,3 +27,5 @@ where you are not the root user, simply:
* And follow the instructions in the README
"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -181,3 +181,5 @@ fi
# Clean up flag
rm -f "$FLAG"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -52,3 +52,5 @@ if [ "$LC_BYOBU" != "0" ] && [ "$BYOBU_DISABLE" != "1"]; then
esac
fi
true
# vi: syntax=sh ts=4 noexpandtab

View file

@ -40,3 +40,5 @@ else
esac
fi
false
# vi: syntax=sh ts=4 noexpandtab

View file

@ -72,3 +72,5 @@ case "$SHELL" in
;;
esac
# vi: syntax=sh ts=4 noexpandtab

View file

@ -38,3 +38,5 @@ mkdir -p "$DATA"
touch "$DATA/disable-autolaunch"
# install disabled motd printing; re-enable
rm -f "$HOME"/.hushlogin
# vi: syntax=sh ts=4 noexpandtab

View file

@ -32,3 +32,5 @@ else
echo "hardstatus lastline '$status'" >> "$HOME/.$PKG/keybindings"
fi
screen -X at 0 source "$HOME/.$PKG/profile"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -45,3 +45,5 @@ newest "$HOME/.gnupg/"gpg-agent-info-* && . "$_RET" && export GPG_AGENT_INFO
# Reconnect dbus, source the most recently touched session-bus
# Sorry, ls -t is needed here, to sort by time
newest "$HOME/.dbus/session-bus/*" && . "$_RET" && export DBUS_SESSION_DBUS_ADDRESS
# vi: syntax=sh ts=4 noexpandtab

View file

@ -216,3 +216,5 @@ else
fi
exit 0
# vi: syntax=sh ts=4 noexpandtab

View file

@ -35,3 +35,5 @@ if [ ! -e "$FLAG" ]; then
fi
[ -n "$SHELL" -a -x "$SHELL" ] && exec "$SHELL" || exec /bin/sh
# vi: syntax=sh ts=4 noexpandtab

View file

@ -30,3 +30,5 @@ else
echo "caption splitonly ''" >> "$HOME/.$PKG/keybindings"
fi
exec byobu-quiet "$@"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -90,3 +90,5 @@ case "$P" in
find_script "$P" && . "${_RET}"
;;
esac
# vi: syntax=sh ts=4 noexpandtab

View file

@ -23,3 +23,5 @@ else
(which sensible-pager >/dev/null) && PAGER=sensible-pager || PAGER=less
byobu-status --detail | $PAGER
fi
# vi: syntax=sh ts=4 noexpandtab

View file

@ -40,3 +40,5 @@ for i in /var/crash/*.crash; do
color y k; printf "{!}"; color --
exit 0
done
# vi: syntax=sh ts=4 noexpandtab

View file

@ -23,3 +23,5 @@ if [ "$1" = "--detail" ]; then
fi
printf "%s " $(uname -m)
# vi: syntax=sh ts=4 noexpandtab

View file

@ -82,3 +82,5 @@ battery_info() {
}
battery_info "$@"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -23,3 +23,5 @@ if [ "$1" = "--detail" ]; then
fi
count=$(getconf _NPROCESSORS_ONLN 2>/dev/null || grep -ci "^processor" /proc/cpuinfo)
[ "$count" = "1" ] || printf "%sx" "$count"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -40,3 +40,5 @@ else
fi
fi
color b c W; printf "%s" "$freq"; color -; color c W; printf "%s" "GHz"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -52,3 +52,5 @@ for i in $MONITORED_TEMP /sys/class/hwmon/hwmon*/temp*_input /proc/acpi/ibm/ther
break
fi
done
# vi: syntax=sh ts=4 noexpandtab

View file

@ -54,3 +54,5 @@ for i in "$DATA/bin/"[0-9]*_*; do
done
echo "$OUTPUT" | sed ':a;N;$!ba;s/\n//g'
# vi: syntax=sh ts=4 noexpandtab

View file

@ -32,3 +32,5 @@ case "$1" in
printf "\005Y-\005m-\005d "
;;
esac
# vi: syntax=sh ts=4 noexpandtab

View file

@ -51,3 +51,5 @@ get_size_pct "${MP}"
color b M W; echo -n "$_SIZE"; color -; color M W; echo -n "${_UNIT}B,"; color -;
color b M W; echo -n "$_PCT"; color -; color M W; echo -n "%" ; color --;
# vi: syntax=sh ts=4 noexpandtab

View file

@ -98,3 +98,5 @@ for i in "read" "write"; do
[ "$rate" != "0" ] || continue
color b M W; printf "%s%s" "$symbol" "$rate"; color -; color M W; printf "%s" "$unit"; color --
done
# vi: syntax=sh ts=4 noexpandtab

View file

@ -106,3 +106,5 @@ if [ "$DETAIL" = "1" ]; then
fi
color K G; printf "A\$"; color -; color b K G; printf "%s" "$total_cost"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -60,3 +60,5 @@ fan_speed_info() {
fan_speed_info "$@"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -34,3 +34,5 @@ else
fi
color bold2; printf "%s" "$h "; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -63,3 +63,5 @@ case "$IPV6" in
esac
color bold2; printf "%s" "$ipaddr"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -26,3 +26,5 @@ if [ "$1" = "--detail" ]; then
fi
read one five fifteen other < /proc/loadavg
color Y k; printf "$one"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -122,3 +122,5 @@ fi
# No idea!
printf "|B|"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -30,3 +30,5 @@ fi
if [ -s "$mailfile" ]; then
color b; printf "%s" "$ICON"; color --
fi
# vi: syntax=sh ts=4 noexpandtab

View file

@ -48,3 +48,5 @@ mem_available_info() {
}
mem_available_info "$@"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -62,3 +62,5 @@ else
fi
color b g W; printf "%s" "$f"; color -; color g W; printf "%%"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -35,3 +35,5 @@ fi
text=$(gettext "Menu")
color k w; printf "%s:<" "$text"; color -; color b k w; printf "%s" "$key"; color k w; printf ">"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -100,3 +100,5 @@ for i in up down; do
fi
fi
done
# vi: syntax=sh ts=4 noexpandtab

View file

@ -36,3 +36,5 @@ esac
CMD="tail --pid $PPID -n 0 -F $LOG"
pkill -f "$CMD" || true
$CMD | $BYOBU_PREFIX/lib/byobu/.notify_osd "$PPID"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -27,3 +27,5 @@ fi
count=$(ls -d /proc/[0-9]* 2>/dev/null| wc -l)
color b y w; printf "%s" "$count"; color -; color y w; printf "&"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -45,3 +45,5 @@ done < /proc/mdstat
if [ -n "$msg" ]; then
color B w r; printf "%s" "$msg"; color --
fi
# vi: syntax=sh ts=4 noexpandtab

View file

@ -97,3 +97,5 @@ if [ "$DETAIL" = "1" ]; then
fi
color K G; printf "R\$%s"; color -; color b K G; printf "%s" "$total_cost"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -41,3 +41,5 @@ case "$1" in
fi
;;
esac
# vi: syntax=sh ts=4 noexpandtab

View file

@ -76,3 +76,5 @@ release_info() {
}
release_info "$@"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -72,3 +72,5 @@ done
[ -n "$output" ] || exit 0
color w c; printf "%s" ${output#,}; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -62,3 +62,5 @@ swap_info() {
}
swap_info "$@"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -29,3 +29,5 @@ case "$1" in
;;
esac
# vi: syntax=sh ts=4 noexpandtab

View file

@ -29,3 +29,5 @@ case "$1" in
;;
esac
# vi: syntax=sh ts=4 noexpandtab

View file

@ -27,3 +27,5 @@ count=$(ls $dir|wc -l)
[ "$count" -eq 0 ] && exit 0
echo -n "$ICON[$count] "
# vi: syntax=sh ts=4 noexpandtab

View file

@ -107,3 +107,5 @@ mycache="$DIR/$PKG.updates-available"
# If we really need to do so (mycache doesn't exist, or the package database has changed),
# background an update now
update_needed "$mycache" && update_cache "$mycache"
# vi: syntax=sh ts=4 noexpandtab

View file

@ -42,3 +42,5 @@ else
fi
printf "%s" "${str}"
color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -35,3 +35,5 @@ count=`pgrep -f "sshd:.*@" | wc -l` || exit 0
if [ $count -gt 0 ]; then
color b w r; printf "%d" "$count"; color -; color w r; printf "#"; color --
fi
# vi: syntax=sh ts=4 noexpandtab

View file

@ -25,3 +25,5 @@ if [ "$1" = "--detail" ]; then
fi
color bold2; printf "%s@" "$(whoami)"; color -
# vi: syntax=sh ts=4 noexpandtab

View file

@ -46,3 +46,5 @@ fi
[ "$quality" = "0" ] && exit 0
printf "${ICON}"; color b C k; printf "%s" "$bitrate"; color -; color C k; printf "%s," "Mbps"; color -; color b C k; printf "%s" "$quality"; color -; color C k; printf "%%"; color --
# vi: syntax=sh ts=4 noexpandtab

View file

@ -158,3 +158,5 @@ info " ssh -C $HOSTUSER@$(hostname)"
info "to control the session"
echo
# vi: syntax=sh ts=4 noexpandtab