Skip to content

Instantly share code, notes, and snippets.

@mathewpeterson
Created April 20, 2011 14:34
Show Gist options
  • Save mathewpeterson/931495 to your computer and use it in GitHub Desktop.
Save mathewpeterson/931495 to your computer and use it in GitHub Desktop.
Pretty neat .screenrc file
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
#terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
term "screen-256color"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment