[Lcdproc] lcdproc client titles

Peter Marschall peter@adpm.de
Sun Mar 4 16:52:01 2007


Hi,

On Sunday, 4. March 2007 01:48, Eric Pooch wrote:
> Here is a patch for mem.c to improve the appearance and alignment of
> the title, especially on large screens.

Committed to CVS.
Thanks for fixing it.

> I have started working on some changes to the titles on the lcdproc
> client screens to make them more consistent and improve the appearance.
> Having the host name in all the titles doesn't look very good and can
> take a lot of time to scroll leaving the title not visible for a
> while.  It is also very distracting when other things are moving on
> the screen.  I don't think the host name is needed on the titles,
> unless you are connecting to a remote host.  To deal with this, I
> wrote up some code to check if the server is localhost or 127.0.0.1,
> and then set up a "title extension" variable that is empty if we are
> connecting locally, and looks like ": hostname" if we are connecting
> to a remote server.  Then each screen would just include this
> variable in the title.  It would automatically show what is needed
> depending on the connection.
>
> Anyway, I wanted some suggestions on whether this is a good idea or
> not, and if it should be automatic, a part of the config file with
> its own setting, or somehow connected with the DisplayName setting.

I like the "no scrolling" idea.
But I m not sure if the automatic solution you propose is fully sufficient.

Consider the example to have remote and local clients running in the server.
In this case it may be desirable for some people (it definitely IS for me)
to have the hostnames of all client machines showing up in the screens and
not just the hostnames of remote machines.

So it should be possible to override the automatic behaviour somehow.
Maybe even using a DisplayName local to each screen.

Regards
Peter

-- 
Peter Marschall
peter@adpm.de