Re: Dialog colors

From: Tim Daneliuk via freebsd-questions <freebsd-questions_at_freebsd.org>
Date: Sat, 09 Oct 2021 21:31:15 UTC
On 10/9/21 3:16 AM, Jacques Foucry wrote:
> Hello folks,
> 
> I have a little trouble with dialog default colors.
> 
> When I need to compile a pkg using /usr/ports, each option dialog appaers with
> default color, lightblue and white. It'a really difficult to read.
> 
> Is there a way to change the default colors?
> 
> Other question, is it possible to have more contrasted colors for people whith
> vision difficulties? May be did I have to make a issue in on repot (which
> one?)?
> 
> Thankls for reading me and you advices.
> 

Well, if you are building your own dialogs, you can embed color and highlighting
in the text with --colors.

To change default colors (and many other things) there seems to be a way,
but it's not obvious. First do this:

    dialog --create-rc ~/.dialogrc

You can then edit that file which I _think_ will let you change defaults as you
wish.

HTH,
-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/