startup_message off
vbell off
altscreen on
hardstatus on
hardstatus alwayslastline
backtick 1 86400 86400 whoami
backtick 2 86400 86400 uname -m
#backtick 100 0 0 /tp914/zy/fanghuan_tmp/soft/screenrc/screen-stats.awk
hardstatus string "%{= kY}%1`%{+b G}@%{+b Y}%H%{-b G} (%2`) %-=%{G}%100` %{w}|%{-} %{Y}%Y%{-}.%{Y}%m%{-}.%{Y}%d%{-} %D %{Y}%C%{-}:%{Y}%s%{-} %a"
caption always
caption string "%-Lw%{= bw}%50>%n %t%{-}%+Lw%<"
####terminfo and termcap for nice 256 color terminal
#mousetrack on### 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"
###termcapinfo xterm-color "Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm"
#### erase background with current bg color
###defbce "on"
term "screen-256color"
shell /bin/bash
# Set GNU screen command entry character to C-]
#escape ^]^]
#escape ^Bb
# Two C-] = literal C-]
#escape ^]^]
defscrollback 2000
termcapinfo xterm* ti@:te@
#bindkey -k k2 screen
#bindkey -k k3 prev
#bindkey -k k4 next
#bindkey -k k5 copy
#bindkey -k k8 title
#bindkey -k k9 focus
#bind x
#bind s
#bind ^s
bind r source $HOME/.screenrc
bind j focus down
bind k focus up
bind t focus top
bind h focus left
bind b focus bottom
# keep running processes on detach
#autodetach on
bind s windowlist
# start windows at 1 instead of 0
bind c screen 1
bind ^c screen 1
bind 0 select 10
screen 1
# large scrollback buffer
defscrollback 5000
# on split screen, switch window focus by clicking
#mousetrack on
# refresh screen after closing a program
altscreen on
screenrc
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...