Created
November 23, 2017 19:38
-
-
Save chesio/fd98792e9ba3a20ba25961223833589a to your computer and use it in GitHub Desktop.
GNU Screen - main configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GNU Screen - main configuration file | |
# Inspired by: | |
# - https://gist.github.com/ChrisWills/1337178 | |
# - https://wiki.archlinux.org/index.php/GNU_Screen | |
# Turn welcome message off | |
startup_message off | |
# 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 | |
# New mail notification | |
# backtick 101 30 15 $HOME/bin/mailstatus.sh | |
hardstatus alwayslastline | |
# Very nice tabbed colored hardstatus line | |
hardstatus alwayslastline '%{= G}[%{G}%H%{g}][%= %{= w}%?%-Lw%?%{= R}%n*%f %t%?%{= R}(%u)%?%{= w}%+Lw%?%= %{= g}][%{y}Load: %l%{g}][%{B}%Y-%m-%d %{W}%c:%s%{g}]' | |
# 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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment