X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.screenrc;h=9f5ae1d696f4c55d1d60bcf5754689a788639e9a;hb=5aed40f505dec0778b48275903dbb7023c7d9643;hp=ba46de2ef45479524bcb7bd80776200cbe375aa1;hpb=d72851316b4bfb4c3ff56030cefb621df51a5b90;p=profile.git diff --git a/.screenrc b/.screenrc index ba46de2..9f5ae1d 100644 --- 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.