Package: whiptail
Version: 0.51.6-28
Severity: wishlist

If I feed my whiptail with characters which aren't present in the
current locale whiptail is unable to handle these characters. You can't
delete the feeded input whithin the input box.

This occurs for instance with the locale LANG=C, LC_CTYPE=C and
characters like '???'.

This problem is somewhat relevant for debconf (with which I discovered
this bug) as debconf accepted a special character and saved it. In a
second run of debconf I wasn't able to fix the bad input of the run
before. Between both debconf runs I didn't touch the locale (locales
haven't been installed at that stage).

For easier understanding of the problem I attached a simple small shell
script which calls whiptail with potentially evil options...

  Micha

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages whiptail depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libnewt0.51                 0.51.6-28    Not Erik's Windowing Toolkit - tex
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  libslang2                   2.0.4-4      The S-Lang programming library - r

whiptail recommends no packages.

-- no debconf information

Attachment: whiptailbug.sh
Description: Bourne shell script

Reply via email to