Changeset 490
- Timestamp:
- 06/18/99 06:51:16 (14 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/matorb/displayit.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/matorb/displayit.pl
r483 r490 15 15 $temp=`echo "254 84" > /proc/sys/dev/sensors/matorb*/disp`; 16 16 17 $line =1;17 $linenum=1; 18 18 19 19 while (<STDIN>) { 20 20 # Reset the position of the cursor to the next line 21 $temp=`echo "254 71 1 $line " > /proc/sys/dev/sensors/matorb*/disp`;21 $temp=`echo "254 71 1 $linenum" > /proc/sys/dev/sensors/matorb*/disp`; 22 22 if (/^(.{1,20})/) { 23 23 $_=$1; 24 $line=""; 24 25 while (/(.)/gc) { 25 26 $temp=ord($1); 26 $ temp=`echo "$temp" > /proc/sys/dev/sensors/matorb*/disp`;27 $line="$line $temp"; 27 28 } 29 $temp=`echo "$line" > /proc/sys/dev/sensors/matorb*/disp`; 28 30 } 29 $line = $line +1;30 if ($line > 4) { exit; }31 $linenum+=1; 32 if ($linenum > 4) { exit; } 31 33 }
