# To get screen to add lines to xterm's scrollback buffer, uncomment the
# following termcapinfo line which tells xterm to use the normal screen buffer
# (which has scrollback), not the alternate screen buffer.
- termcapinfo xterm|xterms|xs|rxvt ti@:te@
+ termcapinfo xterm|xterm-256color|xterms|xs|rxvt ti@:te@
# Welcome the user:
echo "welcome BoFH!"
set -g mode-keys vi
### set status line appearance
-set -g status-fg white
-set -g status-bg black
+set -g status-style fg=white,bg=black
set -g status-left-length 28
### status-left: @hostname:sessionname
#set -g status-right-length 6
#set -g status-right "#[fg=yellow]%H:%M"
-set-window-option -g window-status-fg blue
-set-window-option -g window-status-bg black
-set-window-option -g window-status-current-attr bold
-
+set-window-option -g window-status-style fg=blue,bg=black
+set-window-option -g window-status-current-style bold
function grml_control_xterm_title () {
case $TERM in
(xterm*|rxvt*)
- set_title "${(%):-"%n@%m:"}" "$1"
+ set_title "${(%):-"%n@%m:"}" "$2"
;;
esac
}