From 8f38707e4b0b4bbe2b8c13e22a991a5f57029124 Mon Sep 17 00:00:00 2001 From: Nick Barcet Date: Mon, 15 Dec 2008 18:42:00 +0100 Subject: [PATCH] * Add some nice defaults to ubuntu.screenrc * Propose some additions in base-screenrc --- base-screenrc | 20 +++++++++++++++++++- debian/changelog | 2 ++ profiles/ubuntu.screenrc | 9 +++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/base-screenrc b/base-screenrc index 45439a82..fccb206c 100644 --- a/base-screenrc +++ b/base-screenrc @@ -2,4 +2,22 @@ # The following line sources the currently selected profile source ~/.screenrc-profile -# Add your personalisation of screen below this line +# Add your personalisation of screen below this line, some proposal are +# commented out + +# if activity is detected on an affected window switched into the background +# you will receive the activity notification message in the status line +# the window will also be marked with an ‘@’ in the window-status display +#defmonitor on + +# When any activity occurs in a background window that is being monitored +# screen displays a notification in the message line +#activity "activity -> %n%f %t" # window number , flags of the window , window title + +# Start screen +#screen -t motd watch -n 30 cat /etc/motd +#screen -t local 0 + +#Escape as control-W +#escape ^Ww + diff --git a/debian/changelog b/debian/changelog index ae80fcf9..9e9d2990 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,5 +4,7 @@ screen-profiles (1.0) jaunty; urgency=low [ Nicolas Barcet ] * Allow local modification of .screenrc (LP: #308216) + * Add some nice defaults to ubuntu.screenrc + * Propose some additions in base-screenrc -- Dustin Kirkland Sun, 14 Dec 2008 13:12:12 -0600 diff --git a/profiles/ubuntu.screenrc b/profiles/ubuntu.screenrc index 9b12e84a..3974a5c5 100644 --- a/profiles/ubuntu.screenrc +++ b/profiles/ubuntu.screenrc @@ -31,4 +31,13 @@ hardstatus alwayslastline caption always '%{= Wk}%{= Wk}%?%-Lw%?%{= yk}%n %t%{= Wk} %?%+Lw%?%?%= %{= Wk}' hardstatus string '%{= wk} %{+b r}\%{= y}o%{=b Y}/%{+b wk} %100` %{= Wk}|%= |%{+B bW}%102`%{= Wk}|%{+b rW}%101`%{= Wk}|%{+b gW}%103`%{= Wk}|%{= wb}%Y-%m-%d %c:%s%{k}' +# Allow scrolling in xterm +termcapinfo xterm ti@:te@ + # Keybindings +# Map shift-tab to go to next window +bindkey "\033[Z" next +# Ctrl+PgUp and Ctrl+PgDn to change windows +bindkey ^[[5;5~ prev +bindkey ^[[6;5~ next +