|
From: | Albaro Pereyra |
Subject: | A couple of questions |
Date: | Mon, 31 Dec 2018 19:10:53 -0800 |
## Add support for 256 colours
term "screen-256color"
## terminfo and termcap for nice 256 color terminal
## allow bold colors - necessary for some reason
attrcolor b ".I"
attrcolor i ".I"
attrcolor u ".I"
## tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
## erase background with current bg color
defbce "on"
## I want more scrollback
defscrollback 20480
## Set the caption to show:
## current window
## other windows
## date/time
caption always "address@hidden %{Yk} %n %t %{-b -s}%{kk} %{wb}%W %= %{kk} %{wB} %c %D %d %M "
caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c"
## we don't need this since we use -U to start screen anyway.
# defutf8 on
# hardstatus alwayslastline
# hardstatus string '%{= kG}[ %{G}%H %{g}][%=%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=%{g}][%{B}%Y-%m-%d %{g}]'
encoding UTF-8 UTF-8
defencoding UTF-8
## don't use 0, just 1-9
bind c screen 1
bind ^c screen 1
bind 0 select 10
[Prev in Thread] | Current Thread | [Next in Thread] |