Here's the kind of output I get from etc-update, for example:

Showing differences between /etc/conf.d/rc and /etc/conf.d/._cfg0000_rc
ESC[1;31m--- /etc/conf.d/rc     2005-12-22 10:42:50.000000000 +0100ESC[0;0m
ESC[1;34m+++ /etc/conf.d/._cfg0000_rc   2006-01-07 05:56:06.000000000
+0100ESC[0;0m
ESC[1;35m@@ -35,17 +35,23 @@ESC[0;0m
ESC[0;0m ESC[0;0m
ESC[0;0m RC_AUTO_INTERFACE="no"ESC[0;0m
ESC[0;0m ESC[0;0m
ESC[1;34m+# RC_DOWN_INTERFACE allows you to specify if RC will bring the
interfaceESC[0;0m
ESC[1;34m+# compeletly down when it stops. The default is yes, but there
are someESC[0;0m
ESC[1;34m+# instances where you may not want this to happen such as
using Wake On LAN.ESC[0;0m
ESC[1;34m+ESC[0;0m
ESC[1;34m+RC_DOWN_INTERFACE="yes"ESC[0;0m
ESC[1;34m+ESC[0;0m
ESC[0;0m # RC_VOLUME_ORDER allows you to specify, or even remove the
volume setupESC[0;0m
ESC[0;0m # for various volume managers (MD, EVMS2, LVM, DM, etc).  Note
that they areESC[0;0m
ESC[0;0m # stopped in reverse order.ESC[0;0m
ESC[0;0m ESC[0;0m
ESC[1;31m-RC_VERBOSE="no"ESC[0;0m
ESC[1;34m+RC_VOLUME_ORDER="raid evms lvm dm"ESC[0;0m
ESC[0;0m ESC[0;0m
ESC[0;0m # RC_VERBOSE will make init scripts more verbose. Only
networking scriptsESC[0;0m
ESC[0;0m # really use this at this time, and this is useful for trouble
shootingESC[0;0m
ESC[0;0m # any issues you may have.ESC[0;0m
ESC[0;0m ESC[0;0m
ESC[1;31m-RC_VOLUME_ORDER="raid evms lvm dm"ESC[0;0m
ESC[1;34m+RC_VERBOSE="no"ESC[0;0m
ESC[0;0m ESC[0;0m
ESC[0;0m # RC_BOOTLOG will generate a log of the boot messages shown on
the console.  ESC[0;0m
ESC[0;0m # Useful for headless machines or debugging.  You need to
emerge the ESC[0;0m
(END)

Clearly it's working, but.... not. This is in gnome-terminal, but the
term in use doesn't seem to make any difference, and this is worse than
nothing at all in terms of readablility (made even worse since using
colordiff is intended to /enhance/ readability).

Colordiff is set in /etc/etc-update.conf as recommended in the Wiki--
diff_command="colordiff -uN %file1 %file2",  which seems to be right
insofar as colordiff is working; it seems to me that the problem is that
the term is not recognizing/escaping the color codes as color codes, and
I don't know where to begin to find out why.  I'm using the most recent
colordiff available

 eix colordiff
* app-misc/colordiff
     Available versions:  1.0.3 1.0.4 1.0.5 1.0.5-r2
     Installed:           1.0.5-r2
     Homepage:            http://colordiff.sourceforge.net/
     Description:         Colorizes output of diff


Found 1 matches

and the relevant bug on bgo was fixed ages ago

http://bugs.gentoo.org/show_bug.cgi?id=16924

So I really have no clue, but I think it must be something I've done wrong.

Does anybody have a clue what that might be?

TIA,
Holly


-- 
gentoo-user@gentoo.org mailing list

Reply via email to