+#hardstatus lastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
+
+# status line at the bottom of terminal
+# display numbers and titles:
+# for inactive windows - black on cyan
+# for active window - white on blue
+hardstatus alwayslastline
+hardstatus string "%{= ck}%-w%{= bw}%n%f %t%{-}%+w %-="
+
+# set these terminals up to be 'optimal' instead of vt100
+termcapinfo xterm*|rxvt*|linux*|Eterm* OP
+
+# Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E>
+# (This fixes the "Aborted because of window size change" konsole symptoms found
+# in bug #134198)
+termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
+
+# 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.