startup_message off
-termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
nonblock on
obuflimit 12000
altscreen on
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
-#termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
-term xterm-256color
\ No newline at end of file
+# enable scrolling in the xterm
+termcapinfo xterm|xterms|xs|rxvt|screen ti@:te@
+termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
+term screen-256color-bce
+hardstatus alwayslastline
+#
+hardstatus string "%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c:%s %{g}]"
+caption string "%?%F%{= Bk}%? %C%A %D %d-%m-%Y %{= kB} %t%= %?%F%{= Bk}%:%{= wk}%? %n "