diff --git a/debian/changelog b/debian/changelog index d03e24f9..6d786403 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ screen-profiles (1.33) unreleased; urgency=low * debian/control: build-depend on gettext-base, in case the builder needs to run get-po + * screen-launcher: add little bash hack to ensure that PROMPT_COMMAND gets + displayed and gnome-title is updated, LP: #xxxxxx - -- Dustin Kirkland Thu, 05 Mar 2009 09:22:29 -0600 + -- Dustin Kirkland Fri, 06 Mar 2009 20:04:14 -0600 screen-profiles (1.32-0ubuntu1) jaunty; urgency=low diff --git a/screen-launcher b/screen-launcher index eaff3e2d..ddf66553 100755 --- a/screen-launcher +++ b/screen-launcher @@ -18,7 +18,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . + +[ "$TERM" = "screen" ] && exit 0 + +# Ensure that the PROMPT_COMMAND gets printed, such that gnome-terminal +# and friends can pick it up before going into screen +[ -x /bin/bash ] && /bin/true | /bin/bash -i -s + # Launch screen -if [ "$TERM" != "screen" ]; then - screen -xRR -fi +exec screen -xRR