OK, I will look into that.

At Sat, 28 Nov 2026 17:19:51 +0100 Jan Claeys <[email protected]> wrote:

>
> On Sat, 2026-11-28 at 10:41 -0500, Robert Heller wrote:
> > I have a problem with whiptail: it appears to be engineered to only
> > work *properly* with a terminal that can display colors, such as an
> > xterm with +cm. For me this is a problem: *I* detest colorized
> > terminals so I run my xterms with the -cm option (color mode
> > disabled).  Various programs (including apt)
>
> I don't think APT uses whiptail/dialog, but debconf does, which is
> probably what you see when you use APT.
>
> > use whiptail to present dialog boxes, but on my terminals, these
> > dialog boxes  are not useable because I have color mode disabled.  I
> > just tested things and the older dialog program is able to create
> > workable dialog boxes on xterms with color mode disabled.
> >
> > My question is:  Is there some hack (environment variable? something
> > in /etc/alternitives, etc.) that can be done to make the program that
> > currently use whiptail use dialog instead?  Or is there something
> > than can make whiptail behave like dialog?  Or behave better when run
> > on an xterm with color mode disabled?  Or am I just screwed?
>
> Debconf has an environment variable DEBCONF_FORCE_DIALOG which should
> do what you want for debconf (not for other programs obviously). See
> the debconf(7) manpage for more information.
>
>

--
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services


Reply via email to