mirror of https://github.com/ajdecon/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
# .screenrc for Adam DeConinck
|
|
# derived from .screenrc provided in Linux Cluster Tutorial at SC10.
|
|
# Version for client side (blue bar, Ctrl-b escape key.)
|
|
|
|
startup_message off
|
|
shelltitle $HOST
|
|
activity "activity: window ~%" # Message when activity occurs in a window
|
|
deflogin off # Do not register the window in utmp
|
|
|
|
autodetach on
|
|
|
|
caption always "%{.bW}%-w%{.gW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
|
|
|
|
hardstatus on
|
|
#hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} @%H %{..Y} %m/%d %C%a "
|
|
hardstatus alwayslastline "Local=Ctrl-b Server=Ctrl-a"
|
|
|
|
|
|
defscrollback 10000
|
|
|
|
# Make titles flow through screen
|
|
# http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x395.html
|
|
# http://www.nyx.net/~ksubrama/screenrc
|
|
|
|
# special xterm hardstatus: use the window title.
|
|
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
|
|
#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
|
|
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
|
|
|
|
# Change escape key so can use nested screens.
|
|
escape ^Bb
|
|
|
|
# System-specific
|
|
# auto-start a few screens
|
|
chdir $HOME
|
|
screen -t scratch
|