Last active
February 23, 2016 16:27
-
-
Save stampycode/094760c7e4ea08bd2e4b to your computer and use it in GitHub Desktop.
Custom screenrc file for maintaining a flexible and stable multi-terminal interface through one primary connection
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
# ~/.screenrc | |
termcapinfo xterm* ti@:te@ | |
startup_message off | |
vbell off | |
autodetach on | |
altscreen on | |
shelltitle "$ |" | |
defscrollback 100000 | |
defutf8 on | |
nonblock on | |
msgwait 0 | |
#hardstatus alwayslastline | |
#hardstatus string '%{= kw}[ %{= kr}%H%{= kw} ][%= %{= kw}%?%-Lw%?%{= kW}%n*%f %t%?%?%{= kw}%?%+Lw%?%?%= ][ %{r}%l%{w} ]%{w}[%{r} %d/%m/%y %C %A %{w}]%{w}' | |
#hardstatus string '%{= kw}[ %{= kr}%H%{= kw} ][%= %{-b kw}%u %-Lw%{= rW}%50 %n%f %t %{-}%+Lw% ][ %{r}%l%{w} ]%{w}[%{r} %d/%m/%y %C %A %{w}]%{w}' | |
hardstatus alwayslastline "%{b kw}%H %{r}%1` %{w}| %{y}%Y-%m-%d %c %{w}| %{g}%l %{w}| %{-b kw}%u %-Lw%{= rW}%50> %n%f %t %{-}%+Lw%<" | |
# Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E> | |
# (This fixes the "Aborted because of window size change" konsole symptoms found in bug #134198) | |
termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' | |
# (you may have to change the 'xterm' value to match your $TERM value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment