Your message dated Wed, 10 Jan 2007 22:17:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#406367: fixed in aalib 1.4p5-31
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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
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
--- aacurses.c.orig	2001-04-26 16:37:31.000000000 +0200
+++ aacurses.c	2007-01-06 15:50:14.000000000 +0100
@@ -36,8 +36,14 @@
     dest->supported=AA_NORMAL_MASK;
 #ifdef HAVE_TERMATTRS
     a = termattrs();
-    if (a & A_DIM)
+    if (has_colors()) {
+	start_color();
+	init_pair(1, COLOR_BLACK, COLOR_BLACK);
 	dest->supported |= AA_DIM_MASK;
+    } else {
+	if (a & A_DIM)
+	    dest->supported |= AA_DIM_MASK;
+    }
     if (a & A_BOLD)
 	dest->supported |= AA_BOLD_MASK;
     if (a & A_BOLD)
@@ -86,7 +92,12 @@
 	attrset(A_NORMAL);
 	break;
     case AA_DIM:
-	attrset(A_DIM);
+	if (has_colors()) {
+	    attrset(A_BOLD);
+	    attron(COLOR_PAIR(1));
+	} else {
+	    attrset(A_DIM);
+	}
 	break;
     case AA_BOLD:
 	attrset(A_BOLD);

--- End Message ---
--- Begin Message ---
Source: aalib
Source-Version: 1.4p5-31

We believe that the bug you reported is fixed in the latest version of
aalib, which is due to be installed in the Debian FTP archive:

aalib_1.4p5-31.diff.gz
  to pool/main/a/aalib/aalib_1.4p5-31.diff.gz
aalib_1.4p5-31.dsc
  to pool/main/a/aalib/aalib_1.4p5-31.dsc
libaa-bin_1.4p5-31_i386.deb
  to pool/main/a/aalib/libaa-bin_1.4p5-31_i386.deb
libaa1-dev_1.4p5-31_i386.deb
  to pool/main/a/aalib/libaa1-dev_1.4p5-31_i386.deb
libaa1_1.4p5-31_i386.deb
  to pool/main/a/aalib/libaa1_1.4p5-31_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated aalib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 10 Jan 2007 16:48:59 -0500
Source: aalib
Binary: libaa1-dev libaa1 libaa-bin
Architecture: source i386
Version: 1.4p5-31
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 libaa-bin  - sample programs using aalib
 libaa1     - ascii art library
 libaa1-dev - ascii art library, development kit
Closes: 406367
Changes: 
 aalib (1.4p5-31) unstable; urgency=low
 .
   * Patch from Jindrich Makovicka to make the curses driver behave better
     (and more like the slang driver) in its display of dim letters, by using
     black + bold instead of the dim attribute. The dim attribute is not
     supported by the linux console or by many X terminals. Closes: #406367
Files: 
 bacc88aae00a7e203b812f3868c78da6 794 libs optional aalib_1.4p5-31.dsc
 13e1ba5e9680ae7e9f8ba4e0641dd348 11000 libs optional aalib_1.4p5-31.diff.gz
 b26275c272a9d9595096a8e2d8feb562 139660 libdevel optional 
libaa1-dev_1.4p5-31_i386.deb
 bf60937c767802fd72bdb2f8dc309830 57096 libs optional libaa1_1.4p5-31_i386.deb
 8d98f7f3e795d99ee051faaff73e08c2 10158 text optional 
libaa-bin_1.4p5-31_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFpWIi2tp5zXiKP0wRAn//AJ4mWeI9bO+8mzLvtyj97s/N4xKYywCgmPVk
XHg8Wxzx2OVm3emu6Vcb/R0=
=H0n+
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to