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


Utah.edu ( The screen manual )
http://www.cs.utah.edu/dept/old/texinfo/screen/screen.html



Linux Journal (Explains some powerful uses for screen)
http://www.linuxjournal.com/article/6340

Guckes.net ( The holy grail on .screenrc files )
http://www.guckes.net/Setup/screenrc



blog.eater.org 
http://blog.eater.org/2008/12/new-screenrc-hardstatus-string.html

Softpanorama (.screenrc)
http://www.softpanorama.org/Utilities/Screen/screenrc_examples.shtml

Archlinux (Screenshots and .screenrc files!)
https://bbs.archlinux.org/viewtopic.php?id=55618

UAlberta.ca (Setting up titles in screen, NOT VERIFIED BY ME)
http://sunsite.ualberta.ca/Documentation/Gnu/screen-3.9.4/html_node/screen_50.html

Slaptijack.com (Mutltiple users on ONE screen, shared terminal for true paired programming)
http://slaptijack.com/system-administration/multiuser-gnu-screen-long-distance-teaching-tool/

1 comment: