.screenrc

What you do when you’ve been slack and haven’t posted for months? You think of something interesting to say. What do you do when your mind goes blank? You post a screen shot or a dot file. As a bonus, here’s both:

Screen shot of my xterm session in OS X:

And here’s my .screenrc file:

activity "activity: window ~%"
vbell_msg "bell: window ~%"
vbellwait 2
allpartial off
autodetach on

chdir
defscrollback 500
startup_message off
sessionname shane
altscreen on
bindkey -k kD stuff \177
shell -$SHELL

# Status and caption at the bottom of the terminal
hardstatus on
hardstatus alwayslastline
hardstatus string "%= %3n %t%? [ %h ]%? %="
caption string '%{= kW}%-Lw%{= kG}%50> %n%f* %t%{= kW}%+Lw%< %{= kG}%-=%D %d %M %Y  %c:%s%{-}'
caption always

# Window numbering starts at 1
bind c screen 1
bind 0 select 10
screen 1
comments powered by Disqus