Article View: linux.debian.user
Article #665Re: Terminal dialog box programs: (old) dialog vs (new) whiptail
From: Jan Claeys
Date: Sat, 28 Nov 2026 16:30
Date: Sat, 28 Nov 2026 16:30
31 lines
2902 bytes
2902 bytes
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. -- Jan Claeys (please don't CC me when replying to the list)
Technical Details
Message-ID:
<O4ttf-eHEM-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O4sQx-eHi5-15@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Jan Claeys <lists@janc.be> Newsgroups: linux.debian.user Subject: Re: Terminal dialog box programs: (old) dialog vs (new) whiptail Date: Sat, 28 Nov 2026 17:30:01 +0100 Message-ID: <O4ttf-eHEM-1@gated-at.bofh.it> References: <O4sQx-eHi5-15@gated-at.bofh.it> X-Mailbox-Line: From debian-user-request@lists.debian.org Sat Nov 28 16:20:27 2026 Old-Return-Path: <lists@janc.be> X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1.1 MIME-Version: 1.0 X-Mailing-List: <debian-user@lists.debian.org> archive/latest/833086 List-ID: <debian-user.lists.debian.org> List-URL: <https://lists.debian.org/debian-user/> List-Archive: https://lists.debian.org/msgid-search/07520c3472065bebb161386a3a576a5d395c36de.camel@janc.be Approved: robomod@news.nic.it Lines: 31 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 28 Nov 2026 17:19:51 +0100 X-Original-Message-ID: <07520c3472065bebb161386a3a576a5d395c36de.camel@janc.be> X-Original-References: <20261128154115.74E974C01B0@sharky5.deepsoft.com>