Don't break old Solaris with PROMPT_COMMAND inside screen.
Don't accidentally send xoff.
if [ "$TERMINAL_EMULATOR" = "dtterm" ]; then
unset PROMPT_COMMAND
fi
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
bind l next
# Close the current window.
bind q remove
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.
# Set current window title.
bind t title
# Show or hide the hardstatus line.