From owner-freebsd-questions@freebsd.org Fri Dec 6 17:37:21 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4C2A41B1712 for ; Fri, 6 Dec 2019 17:37:21 +0000 (UTC) (envelope-from btv1==24364c56f33==tom@invisible-island.net) Received: from smtp-nf-201.his.com (smtp-nf-201.his.com [216.194.196.93]) by mx1.freebsd.org (Postfix) with ESMTP id 47V0CN1zdsz4fdQ for ; Fri, 6 Dec 2019 17:37:19 +0000 (UTC) (envelope-from btv1==24364c56f33==tom@invisible-island.net) Received: from cuda201.his.com (cuda201.his.com [216.194.196.22]) by smtp-nf-201.his.com (Postfix) with ESMTPS id 644BB62823 for ; Fri, 6 Dec 2019 12:37:18 -0500 (EST) X-ASG-Debug-ID: 1575653837-061c417606898cd0001-jLrpzn Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.196.20]) by cuda201.his.com with ESMTP id WWUBfZmQp2sQzm3Y; Fri, 06 Dec 2019 12:37:17 -0500 (EST) X-Barracuda-Envelope-From: tom@invisible-island.net X-Barracuda-RBL-Trusted-Forwarder: 216.194.196.20 Received: from zproxy101.his.com (zproxy101.his.com [18.218.2.49]) by smtp-nf-202.his.com (Postfix) with ESMTPS id CE53960947; Fri, 6 Dec 2019 12:37:17 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id A1CC217B2B4; Fri, 6 Dec 2019 12:37:17 -0500 (EST) X-Barracuda-RBL-IP: 18.218.2.49 X-Barracuda-Effective-Source-IP: zproxy101.his.com[18.218.2.49] X-Barracuda-Apparent-Source-IP: 18.218.2.49 Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id EKBgwe8r1xML; Fri, 6 Dec 2019 12:37:17 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id 8A80E17B2C9; Fri, 6 Dec 2019 12:37:17 -0500 (EST) X-Virus-Scanned: amavisd-new at zproxy101.his.com Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5gfsHKTQcryr; Fri, 6 Dec 2019 12:37:17 -0500 (EST) Received: from prl-debianold-64.jexium-island.net (static-71-246-219-82.washdc.fios.verizon.net [71.246.219.82]) by zproxy101.his.com (Postfix) with ESMTPSA id 727FB17B2B4; Fri, 6 Dec 2019 12:37:17 -0500 (EST) Received: from tom by prl-debianold-64.jexium-island.net with local (Exim 4.89) (envelope-from ) id 1idHXZ-0003Wl-2I; Fri, 06 Dec 2019 12:37:17 -0500 Date: Fri, 6 Dec 2019 12:37:17 -0500 From: Thomas Dickey To: Johan Hendriks , freebsd-questions@freebsd.org Subject: Re: Change the ports dialog colours Message-ID: <20191206173716.ry47ogn5f7l7a3rs@prl-debianold-64.jexium-island.net> X-ASG-Orig-Subj: Re: Change the ports dialog colours Reply-To: dickey@his.com References: <20191206142931.GA95975@thismonkey.com> <9afb4926-a663-2638-3c1b-01faad014cce@gmail.com> <20191206145957.GA43815@thismonkey.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x44vxyeeaqa67aqh" Content-Disposition: inline In-Reply-To: <20191206145957.GA43815@thismonkey.com> User-Agent: NeoMutt/20170113 (1.7.2) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.196.20] X-Barracuda-Start-Time: 1575653837 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-Scan-Msg-Size: 1557 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.78491 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Rspamd-Queue-Id: 47V0CN1zdsz4fdQ X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of btv1==24364c56f33==tom@invisible-island.net designates 216.194.196.93 as permitted sender) smtp.mailfrom=btv1==24364c56f33==tom@invisible-island.net X-Spamd-Result: default: False [-7.88 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[dickey@his.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.194.196.0/22]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[93.196.194.216.list.dnswl.org : 127.0.5.1]; FORGED_SENDER(0.30)[dickey@his.com,btv1==24364c56f33==tom@invisible-island.net]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:11604, ipnet:216.194.196.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[dickey@his.com,btv1==24364c56f33==tom@invisible-island.net]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; IP_SCORE(-3.78)[ip: (-9.91), ipnet: 216.194.196.0/24(-4.96), asn: 11604(-3.97), country: US(-0.05)]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[his.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_SEVEN(0.00)[10] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2019 17:37:21 -0000 --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 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--