Re: Center text? Problems with lcdproc and ea65 driver

Markus Dolze <[email protected]>
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
Hi,

using the 'lcdproc' client on a 9x1 will not produce meaningful output.

If the screen displays a title, that title uses 6 characters for the
surrounding blocks ('## ' and ' ##'), leaving you with 3 characters for
the title. This is a implemented in server core!

Some screens don't print the title on two line displays. But all screens
(except the clock) require two lines and at least 16 characters.

The ea65 will print a much as it can and leave out characters outside
its 9x1 area.

You will have to design new screens for a 9x1 (preferably 8x1 as that's
a standard size) for all screens you want to use.

Regards
Markus



On 05.03.2011 05:45, Eric Pooch wrote:
> your screen size is 9x1 characters? That is probably going to be too
> small to make much sense of the lcdproc client graph screens.
>  Typically, a header will look something like this:
> +---------+
> |## Bat ##|
> +---------+
> and scroll quickly.  It makes more sense on a larger screen:
>
> +------------+
> |## Batt:  ##|
> |AC, Batt: Lo|
> +------------+
>
> If you want to change the behavior, you are going to need to make some
> relatively simple changes in the code.
> --Eric
>
> On Mar 4, 2011, at 10:55 AM, Ron Stangvik wrote:
>
>> Hi all.
>>
>> I'm using LCDproc with the ea65 driver (9x1 display) and got some
>> problems.
>> The "screen header" is not using all the nine letters, but the actual
>> info is. This makes it very hard to read what kinda info that is
>> showing next.
>>
>> As I don't got any developer skills, I don't know if it's the ea65
>> driver or lcdproc itself is the problem.
>>
>> Example:
>> Display off --> |000000000|
>> "screen header" --> |000aaa000|
>> cpu usage screen --> |aaaaaaaaa|
>>
>> It seems like it's trying to center the text or something, but even
>> small text like "<hostname> time" is really hard to read.
>> Is there someone who is able to point me in correct direction?
>>
>>
>> Thanks,
>> Ron
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.