diff --git a/screenrc b/screenrc new file mode 100644 index 0000000..557e5ff --- /dev/null +++ b/screenrc @@ -0,0 +1,61 @@ +# Author: Seth House +# Modified: 2009-09-10 + +# Messages #################################################################### +nethack on # be careful! new screen tonight. +sorendition "kg" # makes screen messages stand out, black on green +msgwait 2 # default message display is too long +startup_message off # boooring! +version # echo version on startup, 'cause it's nice to know + + +# Misc ######################################################################## +autodetach on # A.K.A. the "save your bacon" option +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 + +defnonblock 5 +defflow off # try to disable flow control (buggy) +bind s # free ctrl-s + # Also put this in your shell startup file: + # tty > /dev/null && stty -ixon -ixoff +# escape ^Ss # Use ctrl-s as the escape key or invoke with screen -e'^Ss' +# FIXME: http://web.mit.edu/gnu/doc/html/screen_14.html + + + +# Scroll-back mode ############################################################ +ignorecase on # case insensitive search in scroll-back mode +defscrollback 9999 # default scroll-back buffer is tiny. (no. of lines.) +bufferfile $HOME/.screen-exchange # keep the buffer exchange file out of /tmp + +# FIXME: http://stackoverflow.com/questions/994563/integrate-readlines-kill-ring-and-the-x11-clipboard + + +# Enable 256 Colors (http://frexx.de/xterm-256-notes/) ###################### +# +# 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" + + +# Create windows on startup ################################################### +#screen -t irssi +screen -t main +screen -t work +select 0 + + +# Hardstatus ################################################################## +# Adds a nice "tabbed" look, kinda long but gracefully pushes the status stuff off-screen if need be +hardstatus alwayslastline "%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw %= %{mk}@%H %{ck}%Y-%m-%d %{yk}%D %{gk}%0c %{bk}%l" + +# TODO: Detail every part of the hardstatus line below +# %{wk} - Default white on black + +# EOF