Restore original behaviour of screen config, add some more header information
authorMichael Prokop <mika@grml.org>
Fri, 28 Sep 2007 22:14:29 +0000 (00:14 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 28 Sep 2007 22:14:29 +0000 (00:14 +0200)
debian/changelog
etc/apt/hg-snapshot-script
etc/grml/screen_multisession
etc/grml/screenrc
etc/grml/screenrc_acpi
etc/grml/screenrc_generic

index 45f5a8e..e638bfc 100644 (file)
@@ -3,11 +3,14 @@ grml-etc-core (0.3.31) unstable; urgency=low
   * /etc/skel/.zshrc: use same pattern in function wikien as in wikide.
     (Thanks, wuehlmaus)
   * Added /etc/apt/apt.conf.example + /etc/apt/hg-snapshot-script
-  * /etc/grml/screenrc*: switch caption and hardstatus for better
-    use with splitted windows; thanks to Alexander 'z3ttacht' Steinböck
-    for the patch! [Closes: issue300]
-  * /etc/grml/screenrc_acpi: fix usage of yacpi, thanks to
-    Alexander 'z3ttacht' Steinböck for the patch! [Closes: issue301]
+  * Added /etc/grml/screenrc_generic which should work on any OS without
+    any grml/Debian specific programs/scripts.
+  * /etc/grml/screenrc*:
+    - provide example for switching caption and hardstatus for better
+      use with splitted windows; thanks to Alexander 'z3ttacht' Steinböck
+      for the patch! [Closes: issue300]
+    - improve usage of yacpi, thanks to Alexander 'z3ttacht' Steinböck for
+      the initial patch! [Closes: issue301]
 
  -- Michael Prokop <mika@grml.org>  Wed, 26 Sep 2007 22:48:07 +0200
 
index 2ed1205..83119b0 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2 or any later version.
-# Latest change: Mit Sep 26 22:51:31 CEST 2007 [mika]
+# Latest change: Sam Sep 29 00:14:00 CEST 2007 [mika]
 ################################################################################
 # Basic instructions:
 # -------------------
@@ -19,6 +19,7 @@
 # (^)blkid.tab(|.old)
 # (^)mtab
 # (^)adjtime
+# \..*.swp
 # # add other files if necessary, depends on your setup...
 # EOF
 #
index d81e8e1..e91e776 100644 (file)
@@ -1,3 +1,11 @@
+# Filename:      /etc/grml/screen_multisession
+# Purpose:       configuration file for use in multisession mode of GNU screen
+# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
+# Bug-Reports:   see http://grml.org/bugs/
+# License:       This file is licensed under the GPL v2 or any later version.
+# Latest change: Sam Sep 29 00:08:48 CEST 2007 [mika]
+################################################################################
+
 # who is allowed to connect via multiuser-mode?
 addacl root,grml
 
@@ -10,3 +18,5 @@ escape ^Bb
 
 # no nag-screen, please
 startup_message off
+
+## END OF FILE #################################################################
index 8fab37f..f9dbd0f 100644 (file)
@@ -1,19 +1,19 @@
-# Filename:      screenrc
-# Purpose:       config file for GNU screen
+# Filename:      /etc/grml/screenrc
+# Purpose:       main configuration file for GNU screen
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fre Sep 28 23:35:32 CEST 2007 [mika]
+# Latest change: Sam Sep 29 00:11:22 CEST 2007 [mika]
 ################################################################################
 
   backtick 1 0 60   /usr/bin/cpu-screen
   backtick 2 0 60   /usr/bin/ip-screen
-  caption always "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}net: %2`)  %-21=%{kw}%D %d.%m.%Y %0c"
-  hardstatus alwayslastline "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
+  caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`)  %-21=%{wk}%D %d.%m.%Y %0c"
+  hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
 
 # switch order of caption and hardstatus:
-#  hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}net: %2`)  %-21=%{kw}%D %d.%m.%Y %0c"
-#  caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
+#  hardstatus alwayslastline "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`)  %-21=%{wk}%D %d.%m.%Y %0c"
+#  caption always "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
 
 # detach on hangup
   autodetach            on              # default: on
index f3b5e76..2c73e9c 100644 (file)
@@ -1,19 +1,19 @@
-# Filename:      screenrc
-# Purpose:       config file for GNU screen
+# Filename:      /etc/grml/screenrc_acpi
+# Purpose:       configuration file for GNU screen providing ACPI output
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fre Sep 28 23:35:39 CEST 2007 [mika]
+# Latest change: Sam Sep 29 00:10:54 CEST 2007 [mika]
 ################################################################################
 
   backtick 1 60 60 /usr/bin/cpu-screen
-  backtick 2 60 60 /usr/bin/yacpi -p -t
-  caption always "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}acpi: %2`)  %-21=%{kw}%D %d.%m.%Y %0c"
-  hardstatus alwayslastline "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
+  backtick 2 60 60 /usr/bin/yacpi -b -p -t
+  caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}acpi: %2`)  %-21=%{wk}%D %d.%m.%Y %0c"
+  hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
 
 # switch order of caption and hardstatus:
-#  caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
-#  hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}acpi: %2`)  %-21=%{kw}%D %d.%m.%Y %0c"
+#  hardstatus alwayslastline "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}acpi: %2`)  %-21=%{wk}%D %d.%m.%Y %0c"
+#  caption always "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
 
 # detach on hangup
   autodetach            on              # default: on
index aa4799c..77dd119 100644 (file)
@@ -1,17 +1,17 @@
-# Filename:      screenrc
-# Purpose:       config file for GNU screen
+# Filename:      /etc/grml/screenrc_generic
+# Purpose:       generic configuration file for GNU screen
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Fre Sep 28 23:35:53 CEST 2007 [mika]
+# Latest change: Sam Sep 29 00:10:47 CEST 2007 [mika]
 ################################################################################
 
-  caption always "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr})  %-21=%{kw}%D %d.%m.%Y %0c"
-  hardstatus alwayslastline "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
+  caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l)  %-21=%{wk}%D %d.%m.%Y %0c"
+  hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
 
 # switch order of caption and hardstatus:
-#  hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr})  %-21=%{kw}%D %d.%m.%Y %0c"
-#  caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?"
+#  hardstatus alwayslastline "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`)  %-21=%{wk}%D %d.%m.%Y %0c"
+#  caption always "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
 
 # detach on hangup
   autodetach            on              # default: on