dialog 1.1-20110302, busybox 1.18.4

Thanks to Lluamco who advised how to compile dialog with unicode support. I did not copy curses.h, instead solved it a different way:

# export CPPFLAGS='-I/usr/include/ncursesw'

# ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin --libdir=/lib --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --enable-nls --with-ncursesw --enable-widec
# make
# new2dir make install


I have compiled the latest Busybox with more applets, also with unicode support enabled.

This is the first time that dialog and busybox have unicode support enabled. These will be in the upcoming Quirky for testing.

Although compiled in Quirky, both of these are intended to be used in all Woof-built puppies, by putting in entries into variable PKGS_SPECS_TABLE:

yes|busybox||exe
yes|dialog||exe,dev,doc,nls


...the search order will normally find the PETs in the Quirky repo (the distro-fields pet.specs are set to empty so as to match all puppies).

They are uploaded:
http://distro.ibiblio.org/quirky/pet_packages-quirky/busybox-1.18.4-unicode.pet
http://distro.ibiblio.org/quirky/pet_packages-quirky/dialog-1.1-20110302-widechar.pet


Posted on 4 Apr 2011, 8:40


Comments:

Posted on 4 Apr 2011, 19:38 by L18L
dialog utf8 test
My compliments to the Chef !
Here is a little test "script":
dialog --title "utf8 test texts" --msgbox "Spanish\nEl pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y \n\nRussian\nВ чащах юга жил бы цитрус? Да, но фальшивый экземпляр! \n\nHungarian\nÁrvíztűrő tükörfúrógép " 0 0

Texts are from: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/quickbrown.txt
Note, utf8 must be enabled.
In puppy we are used to also display text properly when utf8 is not enabled, working in shell and BaCon. So there should a solution be found for dialog, too which might become the next challenge for the chef?
Kind regards.


Posted on 4 Apr 2011, 19:56 by L18L
dialog utf8 test picture
As PPLOG seems not to be able to let utf8 code upload here the picture


Get script from here