🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #664

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

#664
From: Robert Heller
Date: Sat, 28 Nov 2026 15:50
21 lines
2833 bytes
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)
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?

--
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: <O4sQx-eHi5-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Robert Heller <heller@deepsoft.com>
Newsgroups: linux.debian.user
Subject: Terminal dialog box programs: (old) dialog vs (new) whiptail
Date: Sat, 28 Nov 2026 16:50:01 +0100
Message-ID: <O4sQx-eHi5-15@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org <debian-user@lists.debian.org>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Sat Nov 28 15:41:47 2026
Old-Return-Path: <heller@deepsoft.com>
X-Amavis-Spam-Status: No, score=-2.099 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, MIME_QP_LONG_LINE=0.001] 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/833085
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261128154115.74E974C01B0@sharky5.deepsoft.com
Approved: robomod@news.nic.it
Lines: 21
Sender: robomod@news.nic.it
X-Original-Date: Sat, 28 Nov 2026 10:41:15 -0500 (EST)
X-Original-Message-ID: <20261128154115.74E974C01B0@sharky5.deepsoft.com>