🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #666

Re: Terminal dialog box programs: (old) dialog vs (new) whiptail

#666
From: Robert Heller
Date: Sat, 28 Nov 2026 16:40
38 lines
3643 bytes
OK, I will look into that.

At Sat, 28 Nov 2026 17:19:51 +0100 Jan Claeys <lists@janc.be> 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
heller@deepsoft.com       -- Webhosting Services
Technical Details
Message-ID: <O4tCV-eHIi-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O4sQx-eHi5-15@gated-at.bofh.it> <O4ttf-eHEM-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Robert Heller <heller@deepsoft.com>
Newsgroups: linux.debian.user
Subject: Re: Terminal dialog box programs: (old) dialog vs (new) whiptail
Date: Sat, 28 Nov 2026 17:40:01 +0100
Message-ID: <O4tCV-eHIi-1@gated-at.bofh.it>
References: <O4sQx-eHi5-15@gated-at.bofh.it> <O4ttf-eHEM-1@gated-at.bofh.it>
X-Original-To: Jan Claeys <lists@janc.be>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sat Nov 28 16:38:47 2026
Old-Return-Path: <heller@deepsoft.com>
X-Amavis-Spam-Status: No, score=-1.862 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, PP_MIME_FAKE_ASCII_TEXT=0.238]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate:hard: -4.6
MIME-Version: 1.0
Organization: Deepwoods Software
X-Newsreader: TkNews 3.0 (1.2.20)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
              charset="us-ascii"
X-Scanned-By: MIMEDefang 3.3 on 108.161.129.198
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/833087
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261128163834.515AC4C0748@sharky5.deepsoft.com
Approved: robomod@news.nic.it
Lines: 38
Sender: robomod@news.nic.it
X-Original-Cc: debian-user@lists.debian.org
X-Original-Date: Sat, 28 Nov 2026 11:38:34 -0500 (EST)
X-Original-Message-ID: <20261128163834.515AC4C0748@sharky5.deepsoft.com>
X-Original-References: <20261128154115.74E974C01B0@sharky5.deepsoft.com> 
    <07520c3472065bebb161386a3a576a5d395c36de.camel@janc.be>