Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2019 12:37:17 -0500
From:      Thomas Dickey <dickey@his.com>
To:        Johan Hendriks <joh.hendriks@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Change the ports dialog colours
Message-ID:  <20191206173716.ry47ogn5f7l7a3rs@prl-debianold-64.jexium-island.net>
In-Reply-To: <20191206145957.GA43815@thismonkey.com>
References:  <20191206142931.GA95975@thismonkey.com> <9afb4926-a663-2638-3c1b-01faad014cce@gmail.com> <20191206145957.GA43815@thismonkey.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--x44vxyeeaqa67aqh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 07, 2019 at 01:59:58AM +1100, Scott Aitken wrote:
> On Fri, Dec 06, 2019 at 03:49:42PM +0100, Johan Hendriks wrote:
> >=20
> > Op 06-12-2019 om 15:29 schreef Scott Aitken:
> > > Hi,
> > >
> > > is there a way to change the colours in the text-based dialogs presen=
ted when
> > > configuring a port? I would have thought some environment variables m=
ight do
> > > it but I found nothing in the man pages of dialog4ports or dialog.
> > >
> > > Thanks,
> > > Scott
> > > _______________________________________________
> > > freebsd-questions@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb=
sd.org"
> >=20
> >=20
> > You can create a file called ~/.dialogrc
> >=20
> > And set some variables.
> > Here is a little howto
> > https://bash.cyberciti.biz/guide/Dialog_customization_with_configuratio=
n_file

something like that (but dialog's not related to bash).

The relevant section in the manpage:

https://invisible-island.net/dialog/manpage/dialog.html#h2-RUN-TIME-CONFIGU=
RATION

The sources have a half-dozen ".rc" files, e.g.,

https://github.com/ThomasDickey/dialog-snapshots/blob/master/samples/debian=
=2Erc

Though keep in mind that the generated ".rc" file turns color off:

https://unix.stackexchange.com/questions/547305/why-is-default-dialogrc-fil=
e-making-screen-monochrome


--=20
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

--x44vxyeeaqa67aqh
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQTFIEjAwHSP7iJ9R6JwI1Pg9+SO2wUCXeqRygAKCRBwI1Pg9+SO
28MTAJ46hWrALN7Ky15tEyLehiefnRzpMwCeI0cQasKYf6fi5lR02CYwXPJFGXs=
=ubcc
-----END PGP SIGNATURE-----

--x44vxyeeaqa67aqh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191206173716.ry47ogn5f7l7a3rs>