github.com/pluralsh/plural-cli@v0.9.5/.screenrc (about)

     1  # GNU Screen - main configuration file 
     2  # All other .screenrc files will source this file to inherit settings.
     3  # Author: Christian Wills - cwills.sys@gmail.
     4  # Author: Michael Guarino - mjg@plural.sh
     5  
     6  # Allow bold colors - necessary for some reason
     7  attrcolor b ".I"
     8  
     9  # Tell screen how to set colors. AB = background, AF=foreground
    10  termcapinfo xterm* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
    11  
    12  # Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E>
    13  # (This fixes the "Aborted because of window size change" konsole symptoms found
    14  #  in bug #134198)
    15  termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
    16  termcapinfo xterm* 'is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8'
    17  
    18  # Erase background with current bg color
    19  defbce "on"
    20  
    21  # Enable 256 color term
    22  term xterm-256color
    23  
    24  # Cache 30000 lines for scroll back
    25  defscrollback 100000
    26  termcapinfo xterm* ti@:te@
    27  
    28  hardstatus alwayslastline 
    29  # Very nice tabbed colored hardstatus line
    30  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%{-}'
    31  
    32  # change command character from ctrl-a to ctrl-b (emacs users may want this)
    33  #escape ^Bb
    34  
    35  # Hide hardstatus: ctrl-a f 
    36  bind f eval "hardstatus ignore"
    37  # Show hardstatus: ctrl-a F
    38  bind F eval "hardstatus alwayslastline"