Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. # GNU Screen - main configuration file
  2.  
  3. # Allow bold colors - necessary for some reason
  4. attrcolor b ".I"
  5.  
  6. # Tell screen how to set colors. AB = background, AF=foreground
  7. termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
  8.  
  9. # Enables use of shift-PgUp and shift-PgDn
  10. termcapinfo xterm|xterms|xs|rxvt ti@:te@
  11.  
  12. # Enable mouse scrolling and scroll bar history scrolling
  13. termcapinfo xterm* ti@:te@
  14.  
  15. # Erase background with current bg color
  16. defbce "on"
  17.  
  18. # Enable 256 color term
  19. term xterm-256color
  20.  
  21. # Cache 30000 lines for scroll back
  22. defscrollback 30000
  23.  
  24. # Set bash as default login shell
  25. defshell -bash
  26.  
  27. hardstatus alwayslastline
  28. # Very nice tabbed colored hardstatus line
  29. 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%{-}'
  30.  
  31. # change command character from ctrl-a to ctrl-b (emacs users may want this)
  32. #escape ^Bb
  33.  
  34. # Hide hardstatus: ctrl-a f
  35. bind f eval "hardstatus ignore"
  36. # Show hardstatus: ctrl-a F
  37. bind F eval "hardstatus alwayslastline"
  38.  
  39. # Ctrl-Left and Ctrl-Right move windows
  40. bindkey ^[[1;5D prev
  41. bindkey ^[[1;5C next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement