From: Iain Patterson Date: Wed, 22 Apr 2009 15:02:56 +0000 (+0100) Subject: Screen fixes. X-Git-Url: http://git.iain.cx/?p=profile.git;a=commitdiff_plain;h=ef195791b38325931b2d3007b9c409389aa43797 Screen fixes. Don't break old Solaris with PROMPT_COMMAND inside screen. Don't accidentally send xoff. --- diff --git a/.profile.d/prompt.bashrc b/.profile.d/prompt.bashrc index 501163b..a80c615 100644 --- a/.profile.d/prompt.bashrc +++ b/.profile.d/prompt.bashrc @@ -36,3 +36,8 @@ unset blank info vimchild SSH_FORWARDED if [ "$TERMINAL_EMULATOR" = "dtterm" ]; then unset PROMPT_COMMAND fi + +# As does screen on an ancient Solaris host. +if [ -n "$OLDSOLARIS" -a ! "${TERM##screen}" = "$TERM" ]; then + unset PROMPT_COMMAND +fi diff --git a/.screenrc b/.screenrc index 3644fdc..4bd1a08 100644 --- a/.screenrc +++ b/.screenrc @@ -16,6 +16,8 @@ bind h prev bind l next # Close the current window. bind q remove +# Don't accidentally send xoff. +bind s # Set current window title. bind t title # Show or hide the hardstatus line.