tags 320078 wontfix
thanks

I'm tagging this 'wontfix' as its unfixable.

The problem is that 'characters not in the current locale' are garbage
bytes as far as _any_ software is concerned: if you enter some
'non-locale character' whiptail gets a bunch of uninterpretable bytes.
it can't even reliably figure out what was the last 'real' character
before these. whiptail is not unique in this: it is true of all
software. Its just that whiptail is in the front of the pipeline to
receive and display them.

The solution is to ensure such garbage characters don't get entered into
whiptail, etc. (or other X programs). Use a non C locale, in particular
use UTF-8, and make sure all programs produce UTF-8.

Regards
Alastair


On Máirt, 2005-07-26 at 22:42 +0200, Micha Lenk wrote:
> 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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to