deflogin on
shell -$SHELL
+# For this to work PS1 prompt must include empty "<esc>k<esc>\" sequence
+# and ends with "$ ".
+#shelltitle "\$ |$SHELL"
+#bind R screen -t '# |root:' sudo su -
+
# define a bigger scrollback, default is 100 lines
defscrollback 1024
#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 "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-="
+# display window number, flags and title
+# for inactive windows - black on yellow (brown)
+# for active window - black on green
+#hardstatus alwayslastline
+#hardstatus string "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-="
+
+caption always "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-="
# set these terminals up to be 'optimal' instead of vt100
termcapinfo xterm*|rxvt*|linux*|Eterm* OP
#termcapinfo rxvt* 'ti=\E7\E[?47h:te=\E[2J\E[?47l\E8'
# Do not use the alternate screen at all
-# run `tput smcup; screen -S test; tput rmcup`
+# run `tput smcup; screen; tput rmcup`
termcapinfo xterm*|rxvt* 'ti=:te='
# Enable non-blocking mode to better cope with flaky ssh connections.