(Phil) Slightly better looking screen updates.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@491 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Philip Edelbrock committed 1999-06-18 05:07:24 +00:00
1 parent 1b4a230a5d
commit 949f5199c5
1 file changed
+4 -5
+4 -5
View File
@@ -8,17 +8,16 @@
# Written and copywritten (C) by Philip Edelbrock, 1999.
# Clear the screen
$temp=`echo "254 88" > /proc/sys/dev/sensors/matorb*/disp`;
# Turn off the blinking cursor
$temp=`echo "254 84" > /proc/sys/dev/sensors/matorb*/disp`;
$linenum=1;
while (<STDIN>) {
# Reset the position of the cursor to the next line
$temp=`echo "254 71 1 $linenum" > /proc/sys/dev/sensors/matorb*/disp`;
# Reset the position of the cursor to the next line
$temp=`echo "254 71 1 $linenum" > /proc/sys/dev/sensors/matorb*/disp`;
chop;
$_="$_ ";
if (/^(.{1,20})/) {
$_=$1;
$line="";