From owner-freebsd-stable@FreeBSD.ORG Mon Apr 9 18:48:09 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8B3616A402; Mon, 9 Apr 2007 18:48:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc12.comcast.net (alnrmhc12.comcast.net [204.127.225.92]) by mx1.freebsd.org (Postfix) with ESMTP id 72D4613C46C; Mon, 9 Apr 2007 18:48:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (alnrmhc12) with ESMTP id <20070409184808b12008k052e>; Mon, 9 Apr 2007 18:48:08 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 0D5A71FA03D; Mon, 9 Apr 2007 11:48:08 -0700 (PDT) Date: Mon, 9 Apr 2007 11:48:08 -0700 From: Jeremy Chadwick To: Rong-en Fan , stable@freebsd.org, Thomas Dickey , ache@freebsd.org Message-ID: <20070409184808.GA17933@icarus.home.lan> Mail-Followup-To: Rong-en Fan , stable@freebsd.org, Thomas Dickey , ache@freebsd.org References: <6eb82e0704061105u1f2c2fedr95ceae1393c66b6c@mail.gmail.com> <20070409163354.GA15528@icarus.home.lan> <6eb82e0704091049u256f649ei80537fac7b876a92@mail.gmail.com> <20070409182108.GA17450@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070409182108.GA17450@icarus.home.lan> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Subject: Re: HEADS UP: ncurses is updated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 18:48:09 -0000 On Mon, Apr 09, 2007 at 11:21:08AM -0700, Jeremy Chadwick wrote: > On Tue, Apr 10, 2007 at 01:49:32AM +0800, Rong-en Fan wrote: > > On 4/10/07, Jeremy Chadwick wrote: > > >The only thing I've found, though, is that dialog(1) does not appear to > > >properly handle UTF-8 encoding. Line drawing characters show up as > > >gibberish (alphanumeric characters). I realise dialog isn't part of > > >ncurses, but it does rely on it. We should consider updating dialog to > > >match this change. > > > > You mean it display sometihng like "tqxu" instead of line drawing > > characters? > > Last time I checked, I thought it is terminal related. When I use screen, it > > uses line drawing character. For PuTTY, see: > > > > http://lists.freebsd.org/pipermail/freebsd-questions/2007-April/146577.html This is quite applicable. I just now got around to reading it (should've done this before I sent my previous Email). Yep, that's the exact problem: /usr/bin/dialog: libdialog.so.5 => /usr/lib/libdialog.so.5 (0x3807e000) libncurses.so.6 => /lib/libncurses.so.6 (0x38099000) libc.so.6 => /lib/libc.so.6 (0x380dd000) At least I have a workaround with NCURSES_NO_UTF8_ACS=1. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |