Screen

From Wasya Wiki
Jump to: navigation, search


screenrc

startup_message off
vbell off
defscrollback 5000
activity "%c activity -> %n%f %t"
caption always "%{= Wk}%-w%{= Bw}%n %t%{-}%+w %-="

## the following two lines give a two-line status, with the current window highlighted
## hardstatus alwayslastline
## hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
hardstatus alwayslastline "%{rk}%H %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"

## huge scrollback buffer
defscrollback 5000

## no welcome message
startup_message off

## 256 colors
# attrcolor b ".I"
# termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# defbce on

## mouse tracking allows to switch region focus by clicking
mousetrack on