I think the following uses names that are consistent
with setterm.1 and setterm usage message.

--- /etc/console-tools/config   2008-05-03
00:51:59.000000000 +0300
+++ config      2008-05-03 15:11:12.000000000 +0300
@@ -1,10 +1,11 @@
-#
+# /etc/console-tools/config
 # This files tells the console-tools package:
 #
 # - whether to load a specific font and boot (and
maybe a screen-font map,
 # but you should avoid that if possible).
 # - whether to setup an Application-Charset Map other
than the default CP437.
 # - whether to start "vcstime" to have time on all
text VC'S.
+# - whether to load specific settings for setterm.1
 #
 # You can also specify per-VC settings by suffixing
variable names as in
 # the examples below. This only works on framebuffer
devices.

-# blanking method (VESA DPMS mode to use after
BLANK_TIME, before powerdown):
-# on: the default, no DPMS signalling. near instant
powerup, no power saving
-# vsync: DPMS Standby mode. nearly instant recovery,
uses 110/120W (17" screen)
+# powersaving method (VESA DPMS mode to use after
BLANK_TIME, before powerdown):
+# off: the default, no DPMS signalling. near instant
powerup, no power saving
+# vsync,on: DPMS Standby mode. nearly instant
recovery, uses 110/120W (17" screen)
 # hsync: DPMS Suspend mode. typically 3s recovery,
uses 15/120W (17" screen)
-# powerdown,off: DPMS Off mode, typ. 10s recovery,
uses  5/120W (17" screen)
+# powerdown: DPMS Off mode, typ. 10s recovery, uses 
5/120W (17" screen)

 # Those values are for my 17" Mag, but some monitors
do suspend the same as
 # standby.  xset dpms force {off|standby|suspend|on}
is useful for this, if X
 # supports DPMS on your video card.  Set X's DPMS
screensaver with xset dpms
 # or use option power_saver in XF86Config
 #
-# DPMS set by default to on, because hsync can cause
problems on certain
+# DPMS set by default to off, because hsync can cause
problems on certain
 # hardware, such as Armada E500 laptops
-BLANK_DPMS=powerdown
+POWERSAVE=off
-# Powerdown time.  The console will go to DPMS Off
mode POWERDOWN_TIME
-# minutes _after_ blanking.  (POWERDOWN_TIME +
BLANK_TIME after the last input)
+# Powerdown time.  The console will go to DPMS
powerdown mode POWERDOWN_TIME
+# minutes _after_ blanking, (POWERDOWN_TIME +
BLANK_TIME after the last
+# input), provided POWERSAVE from above is not off.
 POWERDOWN_TIME=1

--- /etc/init.d/console-screen.sh       2008-04-15
23:42:44.000000000 +0300
+++ console-screen.sh   2008-05-03 15:12:35.000000000
+0300
@@ -173,8 +173,8 @@
     if [ "$BLANK_TIME" ]; then
         setterm_args="$setterm_args -blank
$BLANK_TIME"
     fi
-    if [ "$BLANK_DPMS" ]; then
-        setterm_args="$setterm_args -powersave
$BLANK_DPMS"
+    if [ "$POWERSAVE" ]; then
+        setterm_args="$setterm_args -powersave
$POWERSAVE"
     fi
     if [ "$POWERDOWN_TIME" ]; then
         setterm_args="$setterm_args -powerdown
$POWERDOWN_TIME"



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to