mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-24 07:06:19 -07:00
* Makefile.am, configure.ac, etc/byobu/Makefile.am, usr/bin/Makefile.am,
usr/bin/byobu, usr/bin/byobu-config, usr/bin/byobu-janitor, usr/bin/byobu-launcher, usr/bin/byobu-select-profile, usr/bin/byobu-select-session, usr/bin/byobu-status, usr/lib/byobu/Makefile.am, usr/lib/byobu/ec2_cost, usr/share/applications/Makefile.am, usr/share/byobu/ec2/Makefile.am, usr/share/byobu/keybindings/Makefile.am, usr/share/byobu/keybindings/f-keys, usr/share/byobu/keybindings/screen-escape-keys, usr/share/byobu/pixmaps/Makefile.am, usr/share/byobu/profiles/Makefile.am, usr/share/byobu/tests/Makefile.am, usr/share/byobu/tests/byobu-time-notifications, usr/share/byobu/windows/Makefile.am, usr/share/doc/byobu/Makefile.am, usr/share/man/man1/Makefile.am: - Positively massive changeset, enabling users of Unix/Linux distros for which Byobu is not packaged (as well as non-root users of any Unix/Linux distro) to $(./configure && make && make install) byobu! LP: #609851, #608995, #503554 - I think this is a significant enough milestone to bump version to 3.0
This commit is contained in:
commit
0ae6b88ed5
27 changed files with 148 additions and 24 deletions
1
ChangeLog
Symbolic link
1
ChangeLog
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
debian/changelog
|
12
Makefile.am
Normal file
12
Makefile.am
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
SUBDIRS = etc/byobu \
|
||||||
|
usr/share/applications \
|
||||||
|
usr/share/byobu/ec2 \
|
||||||
|
usr/share/byobu/keybindings \
|
||||||
|
usr/share/byobu/pixmaps \
|
||||||
|
usr/share/byobu/profiles \
|
||||||
|
usr/share/byobu/tests \
|
||||||
|
usr/share/byobu/windows \
|
||||||
|
usr/share/doc/byobu \
|
||||||
|
usr/lib/byobu \
|
||||||
|
usr/share/man/man1 \
|
||||||
|
usr/bin
|
29
configure.ac
Normal file
29
configure.ac
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# -*- Autoconf -*-
|
||||||
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
|
AC_PREREQ([2.65])
|
||||||
|
AC_INIT(byobu, 2.83, http://bugs.launchpad.net/byobu)
|
||||||
|
AM_INIT_AUTOMAKE(byobu, 2.83)
|
||||||
|
|
||||||
|
# Checks for programs.
|
||||||
|
|
||||||
|
# Checks for libraries.
|
||||||
|
|
||||||
|
# Checks for header files.
|
||||||
|
|
||||||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
|
||||||
|
# Checks for library functions.
|
||||||
|
|
||||||
|
AC_OUTPUT(Makefile \
|
||||||
|
etc/byobu/Makefile \
|
||||||
|
usr/share/applications/Makefile \
|
||||||
|
usr/share/byobu/ec2/Makefile \
|
||||||
|
usr/share/byobu/keybindings/Makefile \
|
||||||
|
usr/share/byobu/pixmaps/Makefile \
|
||||||
|
usr/share/byobu/profiles/Makefile \
|
||||||
|
usr/share/byobu/tests/Makefile \
|
||||||
|
usr/share/byobu/windows/Makefile \
|
||||||
|
usr/share/doc/byobu/Makefile \
|
||||||
|
usr/lib/byobu/Makefile \
|
||||||
|
usr/share/man/man1/Makefile usr/bin/Makefile)
|
23
debian/changelog
vendored
23
debian/changelog
vendored
|
@ -1,6 +1,27 @@
|
||||||
byobu (2.83) unreleased; urgency=low
|
byobu (3.0) unreleased; urgency=low
|
||||||
|
|
||||||
|
[ Dustin Kirkland ]
|
||||||
* usr/bin/byobu: allow users to specify their own -S, LP: #610134
|
* usr/bin/byobu: allow users to specify their own -S, LP: #610134
|
||||||
|
* Makefile.am, configure.ac, etc/byobu/Makefile.am, usr/bin/Makefile.am,
|
||||||
|
usr/bin/byobu, usr/bin/byobu-config, usr/bin/byobu-janitor,
|
||||||
|
usr/bin/byobu-launcher, usr/bin/byobu-select-profile,
|
||||||
|
usr/bin/byobu-select-session, usr/bin/byobu-status,
|
||||||
|
usr/lib/byobu/Makefile.am, usr/lib/byobu/ec2_cost,
|
||||||
|
usr/share/applications/Makefile.am, usr/share/byobu/ec2/Makefile.am,
|
||||||
|
usr/share/byobu/keybindings/Makefile.am,
|
||||||
|
usr/share/byobu/keybindings/f-keys,
|
||||||
|
usr/share/byobu/keybindings/screen-escape-keys,
|
||||||
|
usr/share/byobu/pixmaps/Makefile.am,
|
||||||
|
usr/share/byobu/profiles/Makefile.am,
|
||||||
|
usr/share/byobu/tests/Makefile.am,
|
||||||
|
usr/share/byobu/tests/byobu-time-notifications,
|
||||||
|
usr/share/byobu/windows/Makefile.am, usr/share/doc/byobu/Makefile.am,
|
||||||
|
usr/share/man/man1/Makefile.am:
|
||||||
|
- Positively massive changeset, enabling users of Unix/Linux distros
|
||||||
|
for which Byobu is not packaged (as well as non-root users of any
|
||||||
|
Unix/Linux distro) to $(./configure && make && make install) byobu!
|
||||||
|
LP: #609851, #608995, #503554
|
||||||
|
- I think this is a significant enough milestone to bump version to 3.0
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 07 Jul 2010 11:36:03 -0400
|
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 07 Jul 2010 11:36:03 -0400
|
||||||
|
|
||||||
|
|
2
etc/byobu/Makefile.am
Normal file
2
etc/byobu/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
etcdir = $(datadir)/@PACKAGE@/profiles
|
||||||
|
etc_DATA = statusrc socketdir
|
2
usr/bin/Makefile.am
Normal file
2
usr/bin/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bin_SCRIPTS = byobu byobu-config byobu-export byobu-janitor byobu-launch byobu-launcher byobu-launcher-install byobu-launcher-uninstall byobu-reconnect-sockets byobu-select-profile byobu-select-session byobu-status byobu-status-detail shell
|
||||||
|
|
|
@ -19,6 +19,14 @@
|
||||||
|
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
VERSION=2.83
|
VERSION=2.83
|
||||||
|
[ -z "$BYOBU_PREFIX" ] && export BYOBU_PREFIX="/usr"
|
||||||
|
export BYOBU_PREFIX
|
||||||
|
|
||||||
|
if [ ! -x "$BYOBU_PREFIX/bin/$PKG" ]; then
|
||||||
|
echo "ERROR: Cannot find $BYOBU_PREFIX/bin/$PKG" 2>&1
|
||||||
|
echo "ERROR: If you have installed it elsewhere, export BYOBU_PREFIX in your shell" 2>&1
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Add a version argument for debugging purposes
|
# Add a version argument for debugging purposes
|
||||||
if [ "$#" = "1" ] && [ "$1" = "-v" ]; then
|
if [ "$#" = "1" ] && [ "$1" = "-v" ]; then
|
||||||
|
@ -56,7 +64,7 @@ export BYOBU_WINDOWS
|
||||||
grep -qs "^[^#]" "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="shell"
|
grep -qs "^[^#]" "$BYOBU_WINDOWS" && DEFAULT_WINDOW= || DEFAULT_WINDOW="shell"
|
||||||
|
|
||||||
# Check if our terminfo supports 256 colors
|
# Check if our terminfo supports 256 colors
|
||||||
[ -x /usr/bin/tput ] && [ $(/usr/bin/tput colors 2>/dev/null || echo 0) -eq 256 ] && SCREEN_TERM="-T screen-256color"
|
$(which tput >/dev/null) && [ $(tput colors 2>/dev/null || echo 0) -eq 256 ] && SCREEN_TERM="-T screen-256color"
|
||||||
|
|
||||||
# Create or update ssh-agent socket
|
# Create or update ssh-agent socket
|
||||||
if [ -S "$SSH_AUTH_SOCK" ] && [ ! -h "$SSH_AUTH_SOCK" ] && [ -w "$RUN" ]; then
|
if [ -S "$SSH_AUTH_SOCK" ] && [ ! -h "$SSH_AUTH_SOCK" ] && [ -w "$RUN" ]; then
|
||||||
|
@ -64,7 +72,7 @@ if [ -S "$SSH_AUTH_SOCK" ] && [ ! -h "$SSH_AUTH_SOCK" ] && [ -w "$RUN" ]; then
|
||||||
ln -sf "$SSH_AUTH_SOCK" "$RUN/$PKG.ssh-agent"
|
ln -sf "$SSH_AUTH_SOCK" "$RUN/$PKG.ssh-agent"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PROFILE="-c /usr/share/$PKG/profiles/byoburc"
|
PROFILE="-c $BYOBU_PREFIX/share/$PKG/profiles/byoburc"
|
||||||
NAME="-S $PKG"
|
NAME="-S $PKG"
|
||||||
# Zero out $NAME if user has specified a -S
|
# Zero out $NAME if user has specified a -S
|
||||||
for i in $@; do
|
for i in $@; do
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/env python
|
#!/usr/bin/python
|
||||||
#
|
#
|
||||||
# byobu-config
|
# byobu-config
|
||||||
# Copyright (C) 2008 Canonical Ltd.
|
# Copyright (C) 2008 Canonical Ltd.
|
||||||
|
@ -28,11 +28,15 @@ from snack import *
|
||||||
|
|
||||||
HOME=os.getenv("HOME")
|
HOME=os.getenv("HOME")
|
||||||
USER=os.getenv("USER")
|
USER=os.getenv("USER")
|
||||||
|
if os.getenv("BYOBU_PREFIX"):
|
||||||
|
PREFIX = os.getenv("BYOBU_PREFIX")
|
||||||
|
else:
|
||||||
|
PREFIX = "/usr"
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
SHARE='/usr/share/'+PKG
|
SHARE=PREFIX+'/share/'+PKG
|
||||||
if not os.path.exists(SHARE):
|
if not os.path.exists(SHARE):
|
||||||
SHARE = "%s/.%s/%s" % (HOME, PKG, SHARE)
|
SHARE = "%s/.%s/%s" % (HOME, PKG, SHARE)
|
||||||
DOC='/usr/share/doc/'+PKG
|
DOC=PREFIX+'/share/doc/'+PKG
|
||||||
if not os.path.exists(DOC):
|
if not os.path.exists(DOC):
|
||||||
DOC = "%s/.%s/%s" % (HOME, PKG, DOC)
|
DOC = "%s/.%s/%s" % (HOME, PKG, DOC)
|
||||||
DEF_ESC="A"
|
DEF_ESC="A"
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
|
[ -z "$BYOBU_PREFIX" ] && export BYOBU_PREFIX="/usr"
|
||||||
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir" || SOCKETDIR="/var/run/screen"
|
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir" || SOCKETDIR="/var/run/screen"
|
||||||
RUN="$SOCKETDIR/S-$USER"
|
RUN="$SOCKETDIR/S-$USER"
|
||||||
FLAG="$RUN/$PKG.reload-required"
|
FLAG="$RUN/$PKG.reload-required"
|
||||||
|
@ -55,12 +56,12 @@ fi
|
||||||
# Seed the configuration
|
# Seed the configuration
|
||||||
[ -d "$HOME/.$PKG" ] || mkdir -p "$HOME/.$PKG"
|
[ -d "$HOME/.$PKG" ] || mkdir -p "$HOME/.$PKG"
|
||||||
[ -r "$HOME/.$PKG/color" ] || printf "BACKGROUND=k\nFOREGROUND=w\nMONOCHROME=0" > "$HOME/.$PKG/color"
|
[ -r "$HOME/.$PKG/color" ] || printf "BACKGROUND=k\nFOREGROUND=w\nMONOCHROME=0" > "$HOME/.$PKG/color"
|
||||||
[ -r "$PROFILE" ] || ln -sf /usr/share/$PKG/profiles/common "$PROFILE"
|
[ -r "$PROFILE" ] || ln -sf $BYOBU_PREFIX/share/$PKG/profiles/common "$PROFILE"
|
||||||
|
|
||||||
# Affects: Symlinks pointing to color profiles
|
# Affects: Symlinks pointing to color profiles
|
||||||
if [ -h "$PROFILE" ]; then
|
if [ -h "$PROFILE" ]; then
|
||||||
case "$(stat $PROFILE)" in
|
case "$(stat $PROFILE)" in
|
||||||
*File:*-\>*/usr/share/byobu/profiles/*)
|
*File:*-\>*$BYOBU_PREFIX/share/byobu/profiles/*)
|
||||||
# Set default colors
|
# Set default colors
|
||||||
BG=W
|
BG=W
|
||||||
FG=k
|
FG=k
|
||||||
|
@ -92,8 +93,17 @@ if [ -h "$PROFILE" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -s "$HOME/.$PKG/keybindings" ] || echo "source /usr/share/$PKG/keybindings/common" > "$HOME/.$PKG/keybindings"
|
[ -s "$HOME/.$PKG/keybindings" ] || echo "source $BYOBU_PREFIX/share/$PKG/keybindings/common" > "$HOME/.$PKG/keybindings"
|
||||||
[ -r "$HOME/.$PKG/status" ] || $(grep -A 999999 BEGIN_CUT_HERE /etc/$PKG/statusrc | grep -B 999999 END_CUT_HERE | grep -v CUT > "$HOME/.$PKG/status")
|
if [ ! -r "$HOME/.$PKG/status" ]; then
|
||||||
|
if [ -r /etc/$PKG/statusrc ]; then
|
||||||
|
skel=/etc/$PKG/statusrc
|
||||||
|
elif [ -r "$BYOBU_PREFIX/share/$PKG/profiles/statusrc" ]; then
|
||||||
|
skel="$BYOBU_PREFIX/share/$PKG/profiles/statusrc"
|
||||||
|
else
|
||||||
|
skel=/dev/null
|
||||||
|
fi
|
||||||
|
grep -A 999999 BEGIN_CUT_HERE $skel | grep -B 999999 END_CUT_HERE | grep -v CUT > "$HOME/.$PKG/status"
|
||||||
|
fi
|
||||||
[ -r "$HOME/.$PKG/windows" ] || touch "$HOME/.$PKG/windows"
|
[ -r "$HOME/.$PKG/windows" ] || touch "$HOME/.$PKG/windows"
|
||||||
[ -r "$HOME/.screenrc" ] || touch "$HOME/.screenrc"
|
[ -r "$HOME/.screenrc" ] || touch "$HOME/.screenrc"
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
[ -z "$BYOBU_PREFIX" ] && export BYOBU_PREFIX="/usr"
|
||||||
|
export BYOBU_PREFIX
|
||||||
|
|
||||||
if [ ! -e "$HOME/.byobu/disable-autolaunch" ]; then
|
if [ ! -e "$HOME/.byobu/disable-autolaunch" ]; then
|
||||||
case "$TERM" in
|
case "$TERM" in
|
||||||
*screen*)
|
*screen*)
|
||||||
|
@ -38,14 +41,14 @@ if [ ! -e "$HOME/.byobu/disable-autolaunch" ]; then
|
||||||
false
|
false
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
exec /usr/bin/byobu "$@"
|
exec $BYOBU_PREFIX/bin/byobu "$@"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
exec /usr/bin/byobu "$@"
|
exec $BYOBU_PREFIX/bin/byobu "$@"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
exec /usr/bin/byobu "$@"
|
exec $BYOBU_PREFIX/bin/byobu "$@"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -54,7 +57,7 @@ if [ ! -e "$HOME/.byobu/disable-autolaunch" ]; then
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
exec /usr/bin/byobu "$@"
|
exec $BYOBU_PREFIX/bin/byobu "$@"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
# ./debian/rules get-po
|
# ./debian/rules get-po
|
||||||
|
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
|
[ -z "$BYOBU_PREFIX" ] && export BYOBU_PREFIX="/usr"
|
||||||
|
export BYOBU_PREFIX
|
||||||
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir" || SOCKETDIR="/var/run/screen"
|
[ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir" || SOCKETDIR="/var/run/screen"
|
||||||
|
|
||||||
TEXTDOMAIN="$PKG"
|
TEXTDOMAIN="$PKG"
|
||||||
|
@ -62,7 +64,7 @@ EOT
|
||||||
# Initialize variables
|
# Initialize variables
|
||||||
FILE="$HOME"/."$PKG"/color
|
FILE="$HOME"/."$PKG"/color
|
||||||
PROFILE="$HOME/.$PKG/profile"
|
PROFILE="$HOME/.$PKG/profile"
|
||||||
[ -r "$PROFILE" ] || ln -sf /usr/share/$PKG/profiles/common "$PROFILE"
|
[ -r "$PROFILE" ] || ln -sf $BYOBU_PREFIX/share/$PKG/profiles/common "$PROFILE"
|
||||||
selected=-1
|
selected=-1
|
||||||
color=
|
color=
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,10 @@ import commands, os, re, sys
|
||||||
|
|
||||||
PKG = "byobu"
|
PKG = "byobu"
|
||||||
SHELL = os.getenv("SHELL", "/bin/bash")
|
SHELL = os.getenv("SHELL", "/bin/bash")
|
||||||
|
if os.getenv("BYOBU_PREFIX"):
|
||||||
|
PREFIX = os.getenv("BYOBU_PREFIX")
|
||||||
|
else:
|
||||||
|
PREFIX = "/usr"
|
||||||
choice = ""
|
choice = ""
|
||||||
sessions = []
|
sessions = []
|
||||||
text = []
|
text = []
|
||||||
|
@ -68,10 +72,10 @@ if i > 1:
|
||||||
if choice:
|
if choice:
|
||||||
if choice == i-1:
|
if choice == i-1:
|
||||||
# Create a new session
|
# Create a new session
|
||||||
os.execv("/usr/bin/byobu", ["", SHELL])
|
os.execv(PREFIX+"/bin/byobu", ["", SHELL])
|
||||||
else:
|
else:
|
||||||
# Attach to the chosen session; must use the 'screen' binary
|
# Attach to the chosen session; must use the 'screen' binary
|
||||||
os.execv("/usr/bin/screen", ["", "-AOxRR", sessions[choice-1]])
|
os.execv(PREFIX+"/bin/screen", ["", "-AOxRR", sessions[choice-1]])
|
||||||
|
|
||||||
# No valid selection, default to the youngest session, create if necessary
|
# No valid selection, default to the youngest session, create if necessary
|
||||||
os.execv("/usr/bin/byobu", ["", "-AOxRR"])
|
os.execv(PREFIX+"/bin/byobu", ["", "-AOxRR"])
|
||||||
|
|
|
@ -18,13 +18,15 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
|
[ -z "$BYOBU_PREFIX" ] && export BYOBU_PREFIX="/usr"
|
||||||
|
export BYOBU_PREFIX
|
||||||
|
|
||||||
find_script () {
|
find_script () {
|
||||||
# Allow for local status scripts
|
# Allow for local status scripts
|
||||||
if [ -x "$HOME/.$PKG/bin/$1" ]; then
|
if [ -x "$HOME/.$PKG/bin/$1" ]; then
|
||||||
echo "$HOME/.$PKG/bin/$1"
|
echo "$HOME/.$PKG/bin/$1"
|
||||||
elif [ -x "/usr/lib/$PKG/$1" ]; then
|
elif [ -x "$BYOBU_PREFIX/lib/$PKG/$1" ]; then
|
||||||
echo "/usr/lib/$PKG/$1"
|
echo "$BYOBU_PREFIX/lib/$PKG/$1"
|
||||||
else
|
else
|
||||||
echo "/dev/null"
|
echo "/dev/null"
|
||||||
fi
|
fi
|
||||||
|
@ -65,7 +67,7 @@ case "$P" in
|
||||||
VER=$(set -- $(dpkg-query --show $PKG); echo "$2")
|
VER=$(set -- $(dpkg-query --show $PKG); echo "$2")
|
||||||
fi
|
fi
|
||||||
printf "$PKG-$VER Detailed Status Navigation\n Expand all - zr\t\tCollapse all - zm\n Expand one - zo\t\tCollapse one - zc\n\n"
|
printf "$PKG-$VER Detailed Status Navigation\n Expand all - zr\t\tCollapse all - zm\n Expand one - zo\t\tCollapse one - zc\n\n"
|
||||||
for i in "/usr/lib/$PKG"/* "$HOME/.$PKG/bin"/*; do
|
for i in "$BYOBU_PREFIX/lib/$PKG"/* "$HOME/.$PKG/bin"/*; do
|
||||||
i=${i##*/}
|
i=${i##*/}
|
||||||
[ "$i" = "menu" ] && continue
|
[ "$i" = "menu" ] && continue
|
||||||
script=`find_script $i`
|
script=`find_script $i`
|
||||||
|
|
3
usr/lib/byobu/Makefile.am
Normal file
3
usr/lib/byobu/Makefile.am
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
libdirdir = $(prefix)/lib/@PACKAGE@
|
||||||
|
libdir_SCRIPTS = apport arch battery cpu_count cpu_freq cpu_temp custom date disk disk_io ec2_cost fan_speed hostname ip_address load_average logo mail mem_available mem_used menu network processes rcs_cost reboot_required release services time time_utc updates_available uptime users whoami wifi_quality
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
DETAIL=0
|
DETAIL=0
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
|
[ -z "$BYOBU_PREFIX" ] && BYOBU_PREFIX="/usr"
|
||||||
color 2>/dev/null || color() { true; }
|
color 2>/dev/null || color() { true; }
|
||||||
|
|
||||||
for arg in $@; do
|
for arg in $@; do
|
||||||
|
@ -30,7 +31,7 @@ for arg in $@; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Get the going rates
|
# Get the going rates
|
||||||
[ -r "$HOME/.$PKG/ec2_rates" ] || ln -s /usr/share/$PKG/ec2/rates.us_ca "$HOME/.$PKG/ec2_rates"
|
[ -r "$HOME/.$PKG/ec2_rates" ] || ln -s $BYOBU_PREFIX/share/$PKG/ec2/rates.us_ca "$HOME/.$PKG/ec2_rates"
|
||||||
. "$HOME/.$PKG/ec2_rates" || exit 1
|
. "$HOME/.$PKG/ec2_rates" || exit 1
|
||||||
|
|
||||||
# Count CPUs, Memory, Architecture
|
# Count CPUs, Memory, Architecture
|
||||||
|
|
2
usr/share/applications/Makefile.am
Normal file
2
usr/share/applications/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
applicationdir = $(datadir)/applications/
|
||||||
|
application_SCRIPTS = byobu.desktop
|
2
usr/share/byobu/ec2/Makefile.am
Normal file
2
usr/share/byobu/ec2/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ec2dir = $(datadir)/@PACKAGE@/ec2
|
||||||
|
ec2_DATA = rates.eu_ie rates.us_ca rates.us_va
|
2
usr/share/byobu/keybindings/Makefile.am
Normal file
2
usr/share/byobu/keybindings/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
keybindingsdir = $(datadir)/@PACKAGE@/keybindings
|
||||||
|
keybindings_DATA = common f-keys none screen-escape-keys
|
|
@ -41,5 +41,5 @@ register s "^a[g G$>^h" # Goes with ^a~ definition
|
||||||
bind ~ eval 'process s' 'exec sed -i "/./,/^$/!d" /var/run/screen/S-$USER/byobu-exchange' 'echo "See: /var/run/screen/S-$USER/byobu-exchange"' # ctrl-a ~ | write the buffer to file
|
bind ~ eval 'process s' 'exec sed -i "/./,/^$/!d" /var/run/screen/S-$USER/byobu-exchange' 'echo "See: /var/run/screen/S-$USER/byobu-exchange"' # ctrl-a ~ | write the buffer to file
|
||||||
|
|
||||||
# toggle f-key keybindings off
|
# toggle f-key keybindings off
|
||||||
register d "^a:source /usr/share/byobu/keybindings/screen-escape-keys^M"
|
register d "^a:source $BYOBU_PREFIX/share/byobu/keybindings/screen-escape-keys^M"
|
||||||
bind ! eval 'process d' 'backtick 111 9999999 9999999 byobu-status menu --disable-f-keys'
|
bind ! eval 'process d' 'backtick 111 9999999 9999999 byobu-status menu --disable-f-keys'
|
||||||
|
|
|
@ -48,5 +48,5 @@ bind @ screen -t config 0 byobu-config
|
||||||
# ctrl-a-$ Show detailed status
|
# ctrl-a-$ Show detailed status
|
||||||
bind $ screen -t status 0 byobu-status-detail
|
bind $ screen -t status 0 byobu-status-detail
|
||||||
# ctrl-a-! Toggle f-key keybindings on
|
# ctrl-a-! Toggle f-key keybindings on
|
||||||
register e "^a:source /usr/share/byobu/keybindings/f-keys^M"
|
register e "^a:source $BYOBU_PREFIX/share/byobu/keybindings/f-keys^M"
|
||||||
bind ! eval 'process e' 'backtick 111 9999999 9999999 byobu-status menu'
|
bind ! eval 'process e' 'backtick 111 9999999 9999999 byobu-status menu'
|
||||||
|
|
2
usr/share/byobu/pixmaps/Makefile.am
Normal file
2
usr/share/byobu/pixmaps/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
pixmapsdir = $(datadir)/@PACKAGE@/pixmaps
|
||||||
|
pixmaps_DATA = byobu.svg
|
2
usr/share/byobu/profiles/Makefile.am
Normal file
2
usr/share/byobu/profiles/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
profilesdir = $(datadir)/@PACKAGE@/profiles
|
||||||
|
profiles_DATA = byoburc common NONE
|
2
usr/share/byobu/tests/Makefile.am
Normal file
2
usr/share/byobu/tests/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
testsdir = $(datadir)/@PACKAGE@/tests
|
||||||
|
tests_SCRIPTS = byobu-time-notifications
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
PKG=byobu
|
PKG=byobu
|
||||||
RUNS=100
|
RUNS=100
|
||||||
|
[ -z "$BYOBU_PREFIX" ] && BYOBU_PREFIX="/usr"
|
||||||
|
export BYOBU_PREFIX
|
||||||
|
|
||||||
loop() {
|
loop() {
|
||||||
for j in $(seq 1 $RUNS); do
|
for j in $(seq 1 $RUNS); do
|
||||||
|
|
2
usr/share/byobu/windows/Makefile.am
Normal file
2
usr/share/byobu/windows/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
windowsdir = $(datadir)/@PACKAGE@/windows
|
||||||
|
windows_SCRIPTS = common
|
2
usr/share/doc/byobu/Makefile.am
Normal file
2
usr/share/doc/byobu/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
docdir = $(datadir)/doc/@PACKAGE@
|
||||||
|
doc_DATA = help.txt
|
2
usr/share/man/man1/Makefile.am
Normal file
2
usr/share/man/man1/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
man_MANS = byobu.1 byobu-config.1 byobu-export.1 byobu-launcher.1 byobu-reconnect-sockets.1 byobu-select-profile.1 byobu-select-session.1 byobu-status.1 byobu-status-detail.1 shell.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue