libdialog & wide charcter support (Was: Request for testing/comments -- import of new dialog/libdialog)

From: Anonymous <swell.k_at_gmail.com>
Date: Sat, 05 Feb 2011 12:04:18 +0300
Nathan Whitehorn <nwhitehorn_at_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)
_at__at_ -89,3 +89,5 _at__at_
 #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
%%
Received on Sat Feb 05 2011 - 08:04:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC