mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-31 13:10:30 +00:00
(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:
1 parent
1b4a230a5d
commit
949f5199c5
1 file changed
+4
-5
@@ -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="";
|
||||
|
||||
Reference in new issue
Block a user