On Wed, Jan 10, 2007 at 08:10:14PM +0100, Jindrich Makovicka wrote:
> Package: aalib
> Version: 1.4p5-30
> 
> Hi,
> 
> the attached patch makes the aacurses driver use black on black + bold
> for the "dim" letters instead of the dim attribute, if the color is
> available on the terminal. The reason is that A_DIM is ignored by linux
> console and most of the X terminals I am aware off, and linux console

"A_DIM is ignored" is backwards (for X terminals).
The terminal description for those do not state that the terminal
supports the feature.  Masking in A_DIM will fail for the same reason
that attempting to use color on a monochrome terminal will fail.

For Linux console - whether "dim" is actually implemented appears to
depend on the configuration (and fonts ;-).

Drawing black-on-black is guaranteed to be nonportable.
Writing a terminal description that corresponds to the particular
configuration that you are attempting to support is the way to go.

> also reports that this attribute is supported, while rendering it the
> same way as normal color. With this patch, all (3) levels of brightness
> can be successfully utilized on the console :)
> 
> Regards,
> -- 
> Jindrich Makovicka



-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpisT7vSeZcF.pgp
Description: PGP signature

Reply via email to