[Lcdproc] Client questions
Uli Brueggemann
uli.brueggemann@gmail.com
Tue Apr 17 07:01:02 2007
------=_Part_63294_2648510.1176793227019
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello,
I've seen some discussion about the Perl client tail.pl
So I understand that I can show some text of a file on a display.
I have tried to do this and I have got some questions now:
My display has two lines only (imon). tail.pl displays in the first line a
header message with the filename.
I guess this is achieved by the two lines:
print $remote "widget_add tail title title\n";
print $remote "widget_set tail title {Tail: $filename}\n";
Now I do not want to get this header. If I comment these two lines then I
get an empty first line only showing a # at the line end with a heartbeat.
How to get rid of the header and how to show a meaningful line of the input
file in the first display line?
Also: can the heartbeat get stopped?
Uli
------=_Part_63294_2648510.1176793227019
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello,<br><br>I've seen some discussion about the Perl client tail.pl<br>So I understand that I can show some text of a file on a display.<br><br>I have tried to do this and I have got some questions now:<br>My display has two lines only (imon).
tail.pl displays in the first line a header message with the filename.<br>I guess this is achieved by the two lines:<br>print $remote "widget_add tail title title\n";<br>print $remote "widget_set tail title {Tail: $filename}\n";
<br><br>Now I do not want to get this header. If I comment these two lines then I get an empty first line only showing a # at the line end with a heartbeat. <br><br>How to get rid of the header and how to show a meaningful line of the input file in the first display line?
<br><br>Also: can the heartbeat get stopped?<br><br>Uli<br><br>
------=_Part_63294_2648510.1176793227019--