* byobu: detect and emit an error message if the user tries to run

byobu from within a screen session


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-06-25 16:05:38 -05:00
commit 549dda0db4
2 changed files with 9 additions and 1 deletions

6
byobu
View file

@ -19,6 +19,12 @@
PKG="byobu"
# Nesting byobu inside of screen doesn't work well
if [ "$TERM" = "screen" ]; then
echo `gettext "Exit the current screen session to run $PKG"`
exit 1
fi
# Sanitize the environment
byobu-janitor --force

4
debian/changelog vendored
View file

@ -6,11 +6,13 @@ byobu (2.17) unreleased; urgency=low
efficient
* byobu-launcher-uninstall: uninstall old screen-launcher entries too,
LP: #391913
* byobu: detect and emit an error message if the user tries to run
byobu from within a screen session
[ Ciemon Dunville ]
* byobu.1: update description, add note about units of measure
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 25 Jun 2009 08:56:37 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 25 Jun 2009 16:05:04 -0500
byobu (2.16-0ubuntu1) karmic; urgency=low