[Bug 604212] Re: infobox does not show

Lee Bigelow 604212 at bugs.launchpad.net
Mon Jan 9 01:37:38 UTC 2023


Still happens here with xubuntu 22.04.1
Can get it to work by setting env variable TERM to something other than an xterm.
Eg, this works:

TERM=ansi whiptail --infobox "hello" 10 10; sleep 2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to newt in Ubuntu.
https://bugs.launchpad.net/bugs/604212

Title:
  infobox does not show

Status in newt package in Ubuntu:
  Confirmed

Bug description:
  A command as simple as
     whiptail --infobox Hello 0 0
  prints nothing in xterm-like terminal emulators while it shoud draw a box with Hello written inside.

  I was able to understand what whiptail is doing with this strace command :
       strace -e t=write -s 5000 -o trace whiptail --infobox Hello 0 0

  When whiptail processes the --infobox option, it does this :
  switch terminal to alternate screen
  draw information box
  switch back to normal screen
  exit

  The effect is that it is not possible to see the information message.
  Infobox messages are supposed to be displayed for a long time...

  whiptail should not switch screen in this case.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: whiptail 0.52.10-5ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-23-generic x86_64
  NonfreeKernelModules: nvidia wl
  Architecture: amd64
  Date: Sun Jul 11 09:09:04 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   PATH=(custom, user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: newt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/newt/+bug/604212/+subscriptions




More information about the foundations-bugs mailing list