[Lcdproc] Client questions
Peter Marschall
peter@adpm.de
Tue Apr 17 15:48:01 2007
On Tuesday, 17. April 2007 09:00, Uli Brueggemann wrote:
> 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?
Please read:
http://lcdproc.sourceforge.net/docs/current-dev.html#language-screens
It should answer both questions.
Hope it helps
Peter
--
Peter Marschall
peter@adpm.de