Date: Sat, 05 Feb 2011 12:04:18 +0300 From: Anonymous <swell.k@gmail.com> To: Nathan Whitehorn <nwhitehorn@freebsd.org> Cc: freebsd-current@freebsd.org Subject: libdialog & wide charcter support (Was: Request for testing/comments -- import of new dialog/libdialog) Message-ID: <868vxuett9.fsf@gmail.com> References: <4D25136A.4070107@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nathan Whitehorn <nwhitehorn@freebsd.org> writes: > As part of work on a new installer, I would like to update the base > system dialog and libdialog to the newer one provided by Thomas Dickey > (http://invisible-island.net/dialog/, ports as devel/cdialog). This is > a much nicer, fuller featured version of dialog that simplifies the > creation of new dialog-using tools (a longstanding impediment to a new > versions of sade, sysinstall, etc.), and is under a marginally better > license (LGPL2 instead of GPL2). > > Patches to effect the import can be found at: > - http://people.freebsd.org/~nwhitehorn/libdialog-update.diff Unlike devel/cdialog your diff (and r217309) has wide character support disabled. Was this intentional? For example, without it for each UTF-8 character there'd be extra space padding in editobox, inputbox, fselect, dselect, etc. %% Index: gnu/lib/libdialog/dlg_config.h =================================================================== --- gnu/lib/libdialog/dlg_config.h (revision 218313) +++ gnu/lib/libdialog/dlg_config.h (working copy) @@ -89,3 +89,5 @@ #define SYSTEM_NAME "freebsd9.0" #define TIME_WITH_SYS_TIME 1 #define TYPE_CHTYPE_IS_SCALAR 1 +#define USE_WIDE_CURSES 1 +#define _XOPEN_SOURCE_EXTENDED 1 %%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868vxuett9.fsf>