Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created November 28, 2009 02:36
Show Gist options
  • Select an option

  • Save jhsu/244347 to your computer and use it in GitHub Desktop.

Select an option

Save jhsu/244347 to your computer and use it in GitHub Desktop.
startup_message off
shell -${SHELL}
term screen-256color
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".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"
altscreen on
# caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D %m/%d/%y | %C:%s %A | %1`%{-}'
# bind ' ' window list -b
# open screen with command
# screen -t "rtorrent" -h 200 0 rtorrent
autodetach on
defscrollback 1003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment