Change the ports dialog colours

Thomas Dickey dickey at his.com
Fri Dec 6 17:37:21 UTC 2019


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:
> > 
> > Op 06-12-2019 om 15:29 schreef Scott Aitken:
> > > Hi,
> > >
> > > is there a way to change the colours in the text-based dialogs presented when
> > > configuring a port? I would have thought some environment variables might do
> > > it but I found nothing in the man pages of dialog4ports or dialog.
> > >
> > > Thanks,
> > > Scott
> > > _______________________________________________
> > > freebsd-questions at freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> > 
> > 
> > You can create a file called ~/.dialogrc
> > 
> > And set some variables.
> > Here is a little howto
> > https://bash.cyberciti.biz/guide/Dialog_customization_with_configuration_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-CONFIGURATION

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

https://github.com/ThomasDickey/dialog-snapshots/blob/master/samples/debian.rc

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

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


-- 
Thomas E. Dickey <dickey at invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20191206/bd135630/attachment.sig>


More information about the freebsd-questions mailing list