sample screenrc file for Multitab Screen in Linux
# Screen Configuration file for Rails!
# Skip the startup message
startup_message off
defscrollback 50000
#scroll
termcapinfo xterm* ti@:te@
# Display a caption string below, appearing like tabs and
# displaying the window number and application name (by default).
caption always
#caption string "%{kw}%-w%{wr}%n %t%{-}%+w"
caption string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# j to move down a window, k to move up. Like teh VIM!
bind j focus down
bind k focus up
screen -t source1 1
screen -t build1 2
screen -t source2 3
screen -t build2 4
screen -t commit 5
screen -t temp 6
screen -t switch1 7
screen -t switch2 8
# MAP screen/window 1 to F1, 2 to F2 .......
bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
bindkey -k k4 select 4
bindkey -k k5 select 5
bindkey -k k6 select 6
bindkey -k k7 select 7
bindkey -k k8 select 8
bindkey -k k9 select 9
# Select first screen
select 1
No comments:
Post a Comment