Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2007 11:48:08 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Rong-en Fan <grafan@gmail.com>, stable@freebsd.org, Thomas Dickey <dickey@radix.net>, ache@freebsd.org
Subject:   Re: HEADS UP: ncurses is updated
Message-ID:  <20070409184808.GA17933@icarus.home.lan>
In-Reply-To: <20070409182108.GA17450@icarus.home.lan>
References:  <6eb82e0704061105u1f2c2fedr95ceae1393c66b6c@mail.gmail.com> <20070409163354.GA15528@icarus.home.lan> <6eb82e0704091049u256f649ei80537fac7b876a92@mail.gmail.com> <20070409182108.GA17450@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <koitsu@freebsd.org> 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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070409184808.GA17933>