Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # no annoying audible bell, please
- vbell on
- # detach on hangup
- autodetach on
- # don't display the copyright page
- startup_message off
- # emulate .logout message
- pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
- # advertise hardstatus support to $TERMCAP
- # termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
- # make the shell in every window a login shell
- #shell -$SHELL
- # autoaka testing
- # shellaka '> |tcsh'
- # shellaka '$ |sh'
- # set every new windows hardstatus line to somenthing descriptive
- # defhstatus "screen: ^En (^Et)"
- defscrollback 1000
- # don't kill window after the process died
- # zombie "^["
- #
- # keybindings
- #
- #remove some stupid / dangerous key bindings
- bind k
- bind ^k
- bind .
- bind ^\
- bind \\
- bind ^h
- bind h
- #make them better
- bind 'K' kill
- bind 'I' login on
- bind 'O' login off
- bind '}' history
- # Yet another hack:
- # Prepend/append register [/] to the paste if ^a^] is pressed.
- # This lets me have autoindent mode in vi.
- register [ "\033:se noai\015a"
- register ] "\033:se ai\015a"
- bind ^] paste [.]
- ################
- #
- # default windows
- #
- # screen -t local 0
- # screen -t mail 1 elm
- # screen -t 40 2 rlogin faui40
- # caption always "%3n %t%? @%u%?%? [%h]%?"
- # hardstatus alwaysignore
- # hardstatus alwayslastline "%w"
- # Create a hardstatus line similar to what C-A w displays.
- #hardstatus alwayslastline "%{.bW}%-Lw%{.rW}%n %t%{-}%+Lw %=%{..G} %H %{..Y} %m/%d %c "
- hardstatus alwayslastline '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
- #set term to xterm so colors work
- # bind = resize =
- # bind + resize +1
- # bind - resize -1
- # bind _ resize max
- #
- # attrcolor u "-u b"
- # attrcolor b "R"
- screen -t 'IRC' 0 irssi
- screen -t 'Email' 1 mutt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement