screenrc 823 B

123456789101112131415161718192021
  1. defscrollback 10000
  2. # the following two lines give a two-line status, with the current window highlighted
  3. hardstatus alwayslastline
  4. hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][screen %S][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%d.%m. %{W}%c%{g}]'
  5. # 256 colors
  6. attrcolor b ".I"
  7. termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
  8. defbce on
  9. # mouse tracking allows to switch region focus by clicking
  10. mousetrack on
  11. # enable use of the mouse's scrollwheel to scroll through the scrollback buffer
  12. # http://unix.stackexchange.com/questions/43229/is-there-a-way-to-make-screen-scroll-like-a-normal-terminal
  13. # http://stackoverflow.com/questions/359109/using-the-scrollwheel-in-gnu-screen
  14. # termcapinfo xterm* ti@:te@
  15. # termcapinfo xterm 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07'
  16. # layouts
  17. layout autosave on