Git configuration.
[profile.git] / .screenrc
index ba46de2..737f2fb 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -17,6 +17,9 @@ bind k focus up
 bind q remove
 # Set current window title.
 bind t title
+# Show or hide the hardstatus line.
+bind h hardstatus alwayslastline
+bind H hardstatus alwaysignore
 #bind h focus top
 #bind l focus bottom
 
@@ -29,6 +32,8 @@ termcapinfo putty*|rxvt-unicode|xterm* 'AB=\E[48;5;%dm:AF=\E[38;5;%dm'
 termcapinfo xterm* 'ts=\E]0;:fs=\007:ds=\E]0;\007'
 # Allow PgUp/PgDn to work correctly.
 termcapinfo * 'ti@:te@'
+# Force hardstatus off so we can have the line on the screen and toggle it.
+termcapinfo * 'hs@'
 # Support 256 colours with background clear erase.
 term screen-256color-bce
 # Turn on background clear erase.
@@ -38,7 +43,7 @@ defbce on
 # Caption settings.
 ################################################################################
 # Display hardstatus on the bottom of the screen instead of in the title bar.
-hardstatus alwayslastline
+hardstatus off
 # The string is white on blue text showing: hostname, current window, date.
 hardstatus string "%{= BW}%H [screen %n: %t]%<%=%Y-%m-%d %0c:%s"
 # Show a caption bar for every window even if there are no splits.
@@ -50,11 +55,7 @@ caption always
 # a blue marker at either end and the text is blue.  Inactive windows have 
 # black text.  All windows show the name of all windows with the current one 
 # highlighted in square brackets.
-caption string "%?%F%{= BW}%:%{= ww}%?>%?%F%{= wb}%:%{= wk}%?%-Lw%50>%{+b}[%n%f %t]%{-b}%+Lw%<%=%?%F%{= BW}%:%{ ww}%?<"
-# %?%F%{= BW}%:%{= ww}%?>
-# Show the > marker in white on blue if the window is active or white on white
-# (ie hidden) if the window is inactve.
-#
+caption string "%?%F%{= wb}%:%{= wk}%?%-Lw%50>%{+b}%{+r}[%n%f %t]%{-r}%{-b}%+Lw%< %="
 # %?%F%{= wb}%:%{= wk}%?
 # Show everything in blue on white if the window is active or black on white
 # if the window is inactive.
@@ -62,14 +63,12 @@ caption string "%?%F%{= BW}%:%{= ww}%?>%?%F%{= wb}%:%{= wk}%?%-Lw%50>%{+b}[%n%f
 # %-Lw%50>
 # Left-aligned window list up to but not including the active window.
 #
-# %{+b}[%n%f%t]%{+b}
-# Show name, flags and title in bold.
+# %{+b}%{+r}[%n%f%t]%{-r}%{+b}
+# Show name, flags and title in bold reverse.
 #
 # %+Lw
 # All remaining window names.
 #
-# %<%=
-# Truncate here then pad remaining text.
-#
-# %?%F{= BW}%:%{ ww}%?<
-# Show the < marker in the same way as the previous.
+# %< %=
+# Truncate here, hack in a space to force the reverse video to flip off then 
+# pad remaining text.