dialog wide-char enabled

Rodin.s has sent me some files for improving internationalization in Puppy. One of those files is 'dialog' linked against 'libncursesw', for wide-character support (such as UTF-8).

There is some history with regard to 'dialog' and wide-char support. See these two blog posts:
http://bkhome.org/blog/?viewDetailed=02201
http://bkhome.org/blog/?viewDetailed=02204

Despite having created a PET with wide-char support, I backed off and recent Puppies have used 'dialog' linked against 'libncurses' only. I don't recall why I backed off.

Anyway, I have compiled dialog version 1.1-20111020 with wide-char support, configured as per the second link above. Here are the PETs (72KB, 15KB, 17KB):
http://distro.ibiblio.org/quirky/pet_packages-common/dialog-1.1-20111020-widechar-w5c.pet
http://distro.ibiblio.org/quirky/pet_packages-common/dialog_DOC-1.1-20111020-widechar-w5c.pet
http://distro.ibiblio.org/quirky/pet_packages-common/dialog_NLS-1.1-20111020-widechar-w5c.pet

I have put these into the 'common' repo, so that all Woof-built puppies can use them. Note, it does not require 'libtinfo'.

It is unfortunate that UTF-8 has to be enabled before dialog will display wide-characters properly. It really should recognise wide-characters regardless, so this perhaps should be reported as a bug to the dialog developer.


Posted on 30 Jan 2012, 8:26


No comments posted yet.