Created
May 14, 2018 22:51
-
-
Save sequel7/fde3cef2809676eacf25dfc95acd3329 to your computer and use it in GitHub Desktop.
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
# see http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html | |
# support color X terminals | |
termcap xterm 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' | |
termcap xtermc 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' | |
# auto-screen support; see http://taint.org/wk/RemoteLoginAutoScreen | |
# detach on hangup | |
autodetach on | |
# no startup msg | |
startup_message off | |
# always use a login shell | |
shell -$SHELL | |
# auto-log | |
logfile $HOME/screenlogs/%S-%Y%m%d-%n.log | |
deflog on | |
#allow mouse scrolling (works in OSX) | |
termcapinfo xterm* ti@:te@ dw | |
defscrollback 5000 | |
caption string "%?%F%{= Bk}%? %C%A %D %d-%m-%Y %{= kB} %t%= %?%F%{= Bk}%:%{= wk}%? %n " | |
hardstatus alwayslastline | |
backtick 1 60 60 $HOME/.screen_hardstatus ip | |
backtick 2 30 30 $HOME/.screen_hardstatus mem | |
backtick 3 5 5 $HOME/.screen_hardstatus disk | |
backtick 4 5 5 $HOME/.screen_hardstatus proc | |
backtick 5 5 5 $HOME/.screen_hardstatus bandwidth | |
hardstatus string '%{= kG}[ %{G}%H %1`%{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{G}%l %2` %5`%{g} ]%{r}%3`%4`%{r}%{w}[ %{B}%m/%d %c%{w} ]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment