X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.screenrc;h=13e18a30ebbc4bf9a216aed0b9103043431e6f44;hp=9f5ae1d696f4c55d1d60bcf5754689a788639e9a;hb=54082bbcff61df716e7a733536bd61d344574dc5;hpb=917f79c388181644926da326e9bc272c27f1bf6f diff --git a/.screenrc b/.screenrc index 9f5ae1d..13e18a3 100644 --- a/.screenrc +++ b/.screenrc @@ -27,7 +27,7 @@ bind H hardstatus alwaysignore # Terminal settings. ################################################################################ # How to set the foreground and background colours. -termcapinfo putty*|rxvt-unicode|xterm* 'AB=\E[48;5;%dm:AF=\E[38;5;%dm' +termcapinfo putty*|rxvt-unicode|xterm-* 'AB=\E[48;5;%dm:AF=\E[38;5;%dm' # How to set the hardstatus line (ie title bar). Even though we don't use it. termcapinfo xterm* 'ts=\E]0;:fs=\007:ds=\E]0;\007' # Allow PgUp/PgDn to work correctly. @@ -51,15 +51,11 @@ caption always # Format a caption string depending on whether it is related to the active # window or not (%?%Fxxx%:yyy%? shows xxx if the window is active and yyy # otherwise). -# The caption consists of a white background bar. The active window has -# 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. -# +# The caption consists of a white background bar whose foreground colour +# depends on the window status. Active windows are in blue; inactive in black. +# The current window's settings are highlighted in reverse video with square +# brackets. +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. @@ -67,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.