From 6d4e4b63985582f988c90852d3412a7385fe41da Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 7 Jan 2009 17:30:55 -0600 Subject: [PATCH] move window tab line to the common profile; distro differentiation is mainly the status bar --- profiles/common | 3 +++ profiles/debian.screenrc | 1 - profiles/fedora.screenrc | 1 - profiles/redhat.screenrc | 2 -- profiles/ubuntu.screenrc | 2 -- 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/profiles/common b/profiles/common index 8917c4b1..de567abe 100644 --- a/profiles/common +++ b/profiles/common @@ -31,6 +31,9 @@ backtick 104 999999 999999 /usr/share/screen-profiles/bin/cpu-count hardstatus alwayslastline +# Window tabs, second to last line +caption always "%{kW}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kW}%?%+Lw%?" + # Allow scrolling in xterm, 10000 lines termcapinfo xterm ti@:te@ defscrollback 10000 diff --git a/profiles/debian.screenrc b/profiles/debian.screenrc index 7a5892a0..90f87d86 100644 --- a/profiles/debian.screenrc +++ b/profiles/debian.screenrc @@ -21,5 +21,4 @@ source /usr/share/screen-profiles/profiles/common -caption always '%{= Wk}%{= Wk}%?%-Lw%?%{= yk}%n %t%{= Wk} %?%+Lw%?%?%= %{= Wk}' hardstatus string '%{= wk} %{+b Wr} @ %{+b wk} %100` %{= Wk}|%= |%{+B bW}%102`%{= Wk}|%{+b rW}%101`%{= Wk}|%{+b gW}%103`%{= Wk}|%{= wk}%Y-%m-%d %c:%s' diff --git a/profiles/fedora.screenrc b/profiles/fedora.screenrc index fbdac5ac..a0d2588c 100644 --- a/profiles/fedora.screenrc +++ b/profiles/fedora.screenrc @@ -21,5 +21,4 @@ source /usr/share/screen-profiles/profiles/common -caption always '%{= Wk}%{= Wk}%?%-Lw%?%{= yk}%n %t%{= Wk} %?%+Lw%?%?%= %{= Wk}' hardstatus string '%{= wk} %{+b Bw} f %{+b wk} %100` %{= Wk}|%= |%{+b gW}%103`%{= Wk}|%{= wk}%Y-%m-%d %c:%s' diff --git a/profiles/redhat.screenrc b/profiles/redhat.screenrc index 2dc7085e..1e0f3883 100644 --- a/profiles/redhat.screenrc +++ b/profiles/redhat.screenrc @@ -21,6 +21,4 @@ source /usr/share/screen-profiles/profiles/common -hardstatus alwayslastline -caption always '%{= Wk}%{= Wk}%?%-Lw%?%{= yk}%n %t%{= Wk} %?%+Lw%?%?%= %{= Wk}' hardstatus string '%{= wk} %{+b RK} RH %{+b wk} %100` %{= Wk}|%= |%{+b gW}%103`%{= Wk}|%{= wk}%Y-%m-%d %c:%s' diff --git a/profiles/ubuntu.screenrc b/profiles/ubuntu.screenrc index 4122fdb9..f85ad769 100644 --- a/profiles/ubuntu.screenrc +++ b/profiles/ubuntu.screenrc @@ -21,6 +21,4 @@ source /usr/share/screen-profiles/profiles/common -caption always "%{kW}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kW}%?%+Lw%?" - hardstatus string '%{Wk} %{= Wk}%{+b r}\%{= Wy}o%{=b WY}/%{+b Wk} %100` %{= Wk}|%= |%{+B bW}%102`%{= Wk}|%{+b rW}%101`%{= Wk}|%{k}%104`%{+b gW}%103`%{= Wk}|%{= Wk}%Y-%m-%d %c:%s'