# Enable 256 color mode.
term screen-256color
-# Allow bold colors, not sure why this is necessary. Otherwise normal and bold
-# colors are switched. Thanks to http://www.frexx.de/xterm-256-notes/.
+# Allow bold colors in XTerm (not necessary for Rxvt), not sure why this is
+# necessary. Otherwise normal and bold colors are switched. Thanks to
+# http://www.frexx.de/xterm-256-notes/.
attrcolor b ".I"
# Always display the caption.
-caption always
+caption always "%{= Bw}%3n %t"
+# %{= Bw} - white on light blue background, also reset all attributes
+# %3n - window number
+# %t - window name
# Always display the status line with open windows and the hostname.
hardstatus alwayslastline "%w%=%l %H"
+# %w - number and names of windows
+# %= - right align the following text
+# %l - load average
+# %H - hostname
# Run urlview on current screen content. Very useful to follow links. Make
# sure hardcopy_append is off before using this command.