Friday, August 27, 2010

Slightly off topic: .screenrc for ... screen ofcourse

  I've been using screen for only like 5 years now, not even really. I'm very into the tools I use and carving them to my tastes. So... I often find myself looking for new ideas for my .screenrc file. Here are some links to places that have tons of .screenrc ideas. Also, my .screenrc is posted here.
#Being xeio .screenrc

#change the hardstatus settings to give an window list at the bottom of the                         
#screen, with the time and date and with the current window highlighted
hardstatus alwayslastline

bind ' ' windowlist -b

defscrollback 2000

#caption always "%{= kc}%H (system load: %l)%-21=%{= .m}%D %d.%m.%Y %0c"
#caption always "%{= kw}%?%-Lw%?%{+b kw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?"
#caption always "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
#caption always "%?%F%{.bW}%?%3n %t%? [%h]%?"
#caption always "%{rk}%H %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
#caption always "%{kG}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kG}%?%+Lw%?"
#caption always "%=%c:%s %Y-%m-%d"
#caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#caption always "%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"

#11 classic
#hardstatus alwayslastline "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#hardstatus alwayslastline "%{+b kr}[ %H ] %{kw} Load: %l %-=%  %{kb} %c:%s  %d.%m.%Y "
#hardstatus alwayslastline "%{+b kr}[ %H ] %{ky} Load: %l %-=%{kb} %c  %d.%m.%Y"

# usual red
#hardstatus string '%{= rK}%-Lw%{= KW}%30>%n%f* %t%{= rK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
hardstatus string '%{= kg}%-Lw%{= KW}%30>%n%f* %t%{= kg}%+Lw%< %{= kg}%-=%D %d %M %Y %c:%s%{-}'

bind = resize =
bind + resize +1
bind - resize -1
bind _ resize max

#End ( The screen manual )

Linux Journal (Explains some powerful uses for screen) ( The holy grail on .screenrc files )

Softpanorama (.screenrc)

Archlinux (Screenshots and .screenrc files!) (Setting up titles in screen, NOT VERIFIED BY ME) (Mutltiple users on ONE screen, shared terminal for true paired programming)

1 comment: