# GNU screen configuration file.
#
-# Features which are only available in (very) recent screen releases or in
-# current Git are marked with "(GIT)" so they can be removed by the setup
-# script on machines with older versions.
-#
# (BATTERY) is only used on laptops, (ROOT) only if running as root.
# Copyright (C) 2011-2013 Simon Ruderich
setenv s "$s%{= Bw}" # - white on light blue background, also reset all
# attributes (necessary so everything is displayed
# correctly)
-setenv s "$s%?%P" # - is copy mode enabled? (GIT)
-setenv s "$s%{= wB}" # - if so change colors to light blue on white (GIT)
-setenv s "$s%?" # - end if (GIT)
setenv s "$s%3n" # - window number
setenv s "$s " # - space
setenv s "$s%t" # - window name
echo 'screenrc: removing root options'
grep_i -v '(ROOT)' screenrc
fi
-# I use some features of GNU screen which are only in Git or very recent GNU
-# screen versions. Drop them on machines which have older versions. They are
-# marked as "(GIT)".
-if test ! -d "$HOME/development/shell/screen"; then
- echo 'screenrc: removing Git features'
- grep_i -v '(GIT)' screenrc
-fi
# Rxvt doesn't need the attrcolor "fix". As I prefer rxvt assume I use it when
# it's installed.
if installed rxvt; then