From owner-freebsd-current@FreeBSD.ORG Sat Feb 5 09:04:59 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 350A7106566C for ; Sat, 5 Feb 2011 09:04:59 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B8A498FC0A for ; Sat, 5 Feb 2011 09:04:58 +0000 (UTC) Received: by bwz12 with SMTP id 12so3430657bwz.13 for ; Sat, 05 Feb 2011 01:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-type; bh=L23+MQVdvzr4xE3tZegik8ZlB4rU/q8XAKbiQKgqGmY=; b=ldOWKc1hGTgpeaVvWxz24ZuRcDLsmDq/trW847IqgRG8NBI5oMHMAFCLcxz0UzLMVh MR81d9P5IapdrqXSegCu9PPb1UFxiOcVDCWr6r4bCRZZMUJo1BFhuSEj9NRrLf5HGCDA cWJ/uwMdGYEhpjXV0JKIHxn1tt2yPOC78QXsk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=dT9nZ4ZHPCawHy11oG86UK+zTt6MVVOqyqeXy8hckMvfwOHI86Hwt8AjZJnZSjgP45 0IcY5DtZAAfBqHiD7lhO7rcVemSEBpUjfq9iYqIhjlShury+s/si4aEpYdgkIg7ZgV1y ge6BhkXwKAxLwpoi4vXvtmC/k/hZ2ZPjCmL2s= Received: by 10.204.99.77 with SMTP id t13mr12453029bkn.164.1296896695987; Sat, 05 Feb 2011 01:04:55 -0800 (PST) Received: from localhost (gw.mi2.hr [193.198.207.8]) by mx.google.com with ESMTPS id a17sm872945bku.23.2011.02.05.01.04.51 (version=SSLv3 cipher=RC4-MD5); Sat, 05 Feb 2011 01:04:54 -0800 (PST) From: Anonymous To: Nathan Whitehorn References: <4D25136A.4070107@freebsd.org> Date: Sat, 05 Feb 2011 12:04:18 +0300 Message-ID: <868vxuett9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-current@freebsd.org Subject: libdialog & wide charcter support (Was: Request for testing/comments -- import of new dialog/libdialog) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2011 09:04:59 -0000 Nathan Whitehorn 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 %%