diff --git a/byobu-config b/byobu-config index 3bccb4ba..7595c8f5 100755 --- a/byobu-config +++ b/byobu-config @@ -127,6 +127,7 @@ def help(screen, size, config): f.close() text=text.replace("", getesckey(), 1) + text=text.replace("_VER_", commands.getoutput("byobu -v | head -n1 | sed 's/.* //'"), 1) t = Textbox(70, 14, text, scroll=0) bb = ButtonBar(screen, ((_("Menu"), "menu", ESC),), compact = 1) diff --git a/debian/changelog b/debian/changelog index 66b0af10..0d6c8023 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ byobu (2.46) unreleased; urgency=low * byobu-janitor: seed the default color choices more effciently, also fixes some strange crashes on first run; default the colors to white on black + * byobu-config, doc/help.txt: insert version number in byobu help menu, + LP: #502119 -- Dustin Kirkland Thu, 07 Jan 2010 21:53:14 -0600 diff --git a/doc/help.txt b/doc/help.txt index 2a07f15e..6788e2e2 100644 --- a/doc/help.txt +++ b/doc/help.txt @@ -1,5 +1,5 @@ -Byobu is an enhancement to GNU Screen, a command line tool -providing live system status, dynamic window management, +Byobu _VER_ is an enhancement to GNU Screen, a command line +tool providing live system status, dynamic window management, and some convenient keybindings: F2 Create a new window | F6 Detach from the session