Changeset 491

Show
Ignore:
Timestamp:
06/18/99 07:07:24 (14 years ago)
Author:
phil
Message:

(Phil) Slightly better looking screen updates.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/matorb/displayit.pl

    r490 r491  
    99 
    1010 
    11 # Clear the screen 
    12 $temp=`echo  "254 88" > /proc/sys/dev/sensors/matorb*/disp`; 
    13  
    1411# Turn off the blinking cursor 
    1512$temp=`echo  "254 84" > /proc/sys/dev/sensors/matorb*/disp`; 
     
    1815 
    1916while (<STDIN>) { 
    20 # Reset the position of the cursor to the next line 
    21 $temp=`echo "254 71 1 $linenum" > /proc/sys/dev/sensors/matorb*/disp`; 
     17 # Reset the position of the cursor to the next line 
     18 $temp=`echo "254 71 1 $linenum" > /proc/sys/dev/sensors/matorb*/disp`; 
     19 chop; 
     20 $_="$_                    "; 
    2221 if (/^(.{1,20})/) { 
    2322  $_=$1;