Tuesday 19 November 2013

sample_screenrc

startup_message off    # don't show start up message
autodetach on     # auto detach on exit
escape ^Xx     # change ctrl-a to ctrl-x


termcapinfo xterm* ti@:te@     # allow scrolling   [ Note: use * after xterm so that you can get scrolling for all the different screen ]
defscrollback        9000            # default: 100 # Set default lines of scrollback.
ignorecase on           # case insensitive search in scroll-back mode
bufferfile $HOME/.screen-exchange       # keep the buffer exchange file out of /tmp

# My status line
caption always "Screens: %{.bW}%-w%{.rW}%f%n %t%{-}%+w %=%{..G}  %{W}%Y-%m-%d %{W}%c %{g} %H"

sorendition "kg"        # makes screen messages stand out, black on green
altscreen on            # full-screen programs (less, Vim) should be cleared once quit
vbell off               # visual bells are hard to do right. screen's isn't good
defutf8 on              # allow utf characters

 hardstatus alwayslastline
 hardstatus string '%{= kw}[ %{= kb}%H%{= kw} ][%= %{= kw}%?%-Lw%?%{= kW}%n*%f %t%?%?%{= kw}%?%+Lw%?%?%= ][ %{r}%l%{w} ]%{w}[%{r} %d/%m/%y %C %A %{w}]%{w}'

No comments:

Post a Comment