From 5ccb17ab2e43d575f7d15efa40d2e0e9df88d68c Mon Sep 17 00:00:00 2001 From: pgporada Date: Mon, 3 Nov 2014 14:06:32 +0000 Subject: [PATCH] added screenrc --- .screenrc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .screenrc diff --git a/.screenrc b/.screenrc new file mode 100644 index 0000000..75fc5ff --- /dev/null +++ b/.screenrc @@ -0,0 +1,30 @@ +# GNU Screen - main configuration file +# 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' + +# Enables use of shift-PgUp and shift-PgDn +termcapinfo xterm|xterms|xs|rxvt ti@:te@ + +# Erase background with current bg color +defbce "on" + +# Enable 256 color term +term xterm-256color + +# Cache 30000 lines for scroll back +defscrollback 30000 + +hardstatus alwayslastline +# Very nice tabbed colored hardstatus line +hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n %t%{= Kr}]%{= Kd}%+w %-= %{KG} %H%{KW}|%{KY}%101`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}' + +# change command character from ctrl-a to ctrl-b (emacs users may want this) +#escape ^Bb + +# Hide hardstatus: ctrl-a f +bind f eval "hardstatus ignore" +# Show hardstatus: ctrl-a F +bind F eval "hardstatus alwayslastline"