* /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
# 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:
# -------------------
# (^)blkid.tab(|.old)
# (^)mtab
# (^)adjtime
+# \..*.swp
# # add other files if necessary, depends on your setup...
# EOF
#
+# 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
# no nag-screen, please
startup_message off
+
+## END OF FILE #################################################################
-# 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
-# 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
-# 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