site  contact  subhomenews

dialog 1.1-20110302, busybox 1.18.4

April 04, 2011 — BarryK
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

Comments

dialog utf8 test
Username: L18L
My compliments to the Chef ! :happy: Here is a little test "script": [code]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[/code] 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 [b]shell[/b] and [b]BaCon[/b]. So there should a solution be found for [b]dialog[/b], too which might become the next challenge for the chef? Kind regards.

dialog utf8 test picture
Username: L18L
"As PPLOG seems not to be able to let utf8 code upload here the picture [img]http://www.extra-inter.net/dialog/dialog_utf8_test.png[/img] Get script from [url=http://www.extra-inter.net/dialog/dialog_utf8_test]here


Tags: quirky