好用的screen设置

#转自 http://hi.baidu.com/lazync/item/722f0b15657dd9fd746a841e

#在~/.screenrc中输入以下内容
#
se the startup message startup_message off term linux ##use ` as the Global Key ## escape `` ##set a biger buffer defscrollback 4096 #设置状态栏 hardstatus alwayslastline shelltitle "$|bash" hardstatus string '%{= kG}[ %{G}%c:%s %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{C}(F1)New (F2)Rename (F3)Monitor (F4)Slience %{g}][%{kB} %d/%m %{w}%c %{g}]' ##shutdown the noise vbell off ## w to show the window list bind w windowlist -b bind ^w windowlist -b ##initial apps to run screen screen screen screen select 0 #进行快捷键的绑定 bindkey -k k1 screen bindkey -k k2 title bindkey -k k3 monitor bindkey -k k4 silence bindkey -k k5 colon #bindkey -k k6 split #bindkey -k k; focus bindkey -k k7 focus #bindkey -k k8 only bindkey -k k9 detach bindkey -k F1 prev bindkey -k F2 next attrcolor u "-u B" sessionname lyn autodetach on

 

posted on 2013-01-10 19:25  liugoodness  阅读(333)  评论(0编辑  收藏  举报

导航