Brian composed on 2017-08-07 33:42 (UTC+0100):

> On Mon 07 Aug 2017 at 15:02:28 -0400, Felix Miata wrote:

>> Brian composed on 2017-08-07 13:33 (UTC+0100):

>> > On Mon 07 Aug 2017 at 08:05:28 -0400, Felix Miata wrote:

>> >> Darac Marjal composed on 2017-08-07 11:20 (UTC+0100):
>> ...
>> >> > Try "APT::Color "false";".
>> >> That was the last I tried with Stretch before giving up and posting here, 
>> >> in
>> >> /etc/apt/apt.conf.d/99mono. Also fails in Sid.
>> ...
>> > Worth reading: /usr/share/doc/apt/examples/configure-index.gz 

>> Only promising thing I could find there is

>>      dpkg::progress-fancy "<BOOL>";

>> 'Dpkg::Progress-Fancy "false";' & 'dpkg::progress-fancy "false";' do not work

> Of course they work. They just do not fit your purpose. 

Work how? Do what? How do I find evidence that either actually do anything? So
far all I've seen is that you've said so, here, & earlier, 2017-08-07 18:03
(UTC+0100):

>> > Try: Dpkg::Progress-Fancy::progress-bg "%1b[40m" 

>> Where did you spot that? It too does not get rid of orange.

> /usr/share/doc/apt/examples/configure-index.gz
Booted to what?

# ls -gG /usr/share/doc/apt/examples/configure-index.gz
-rw-r--r-- 1 7145 Jun  1 04:50 /usr/share/doc/apt/examples/configure-index.gz
# zgrep Progress /usr/share/doc/apt/examples/configure-index.gz
quiet::NoProgress "<BOOL>"; // disables the 0% รข 100% progress on cache
generation and stuff
  pkgDPkgProgressReporting "<BOOL>";
  Acquire::Progress "<BOOL>";
  InstallProgress::Fancy "<BOOL>";
  APT::Progress::PackageManagerFd "<BOOL>";

> and apt's changelog. 

At the 1.0 change I see

        Dpkg::Progress-Fancy::progress-{bg,fg}="%1b[30m"

I put your

        Dpkg::Progress-Fancy::progress-bg "%1b[40m";

into /etc/apt/apt.conf.d/99mono. It produces no apparent color differences in
apt update or apt upgrade output. Next I tried (per changelog):

        Dpkg::Progress-Fancy::progress-bg="%1b[30m";

That too produces no apparent difference, as does:

        Dpkg::Progress-Fancy::progress-fg "%1b[30m";

> Perhaps you would be more detailed and describe the colours you see
> when you use apt and where orange crops up? A repeatable example
> would be of most use.

Orange might be red. My eyes are old and hastily deteriorating. That's why color
contrast and text size control are important here, and why less than middle-aged
programmers' ideas of "improvements" aren't always positive change. The bad
color is the foreground color for the progress info in apt update and apt
upgrade that quickly scrolls away and is absent from screen when apt command has
completed.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

Reply via email to