bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wide chars functions don't work


From: Thomas Dickey
Subject: Re: wide chars functions don't work
Date: Sat, 16 Feb 2002 11:12:26 -0500
User-agent: Mutt/1.2.5i

On Sat, Feb 16, 2002 at 04:43:15PM +0100, Gerhard H?ring wrote:
> Le 16/02/02 ? 08:13, Thomas Dickey écrivit:
> > On Sat, Feb 16, 2002 at 10:48:20AM +0100, Gerhard H?ring wrote:
> > > Hello,
> > > 
> > > I begin to wonder if anybody ever has actually used the wide character
> > > functions in ncurses ...
> > 
> > a few
> 
> Apparently none of the prominent programs I use (mutt, mc, slrn),
> though.

well, I don't have much to do with slrn (it doesn't use (n)curses).  Further,
there's no related standard to see how well or complete it is.  With ncurses,
there is - but then there's the problem of learning, subdividing, etc., to
build it up piece by piece.

For mc - I visit that occasionally to make it build properly (I was there
recently, but didn't notice anything related to UTF-8).  As for mutt, I've seen
some comments but haven't seen anything concrete (in contrast to lynx where I
did modify that to use ncursesw).  My excursions into other programs (mc, mutt)
are mainly to check on the programs that I'm working on (ncurses, lynx, xterm,
vile, etc.).  It would be nice, but I can't make other people write code.
 
> > [corrections to C source]
> > >     addwstr(L"hallo");
> >       and this is the bug you're reporting (sorry about that).
> >       It looks as if Skimo's got a patch already.
> 
> Will try that soon.

I'll probably incorporate it into tonight's patch.  A rollup is (over)due,
so that might simplify things.
 
> > >     curs_set(1);
> >       this call isn't needed btw...
> 
> Thanks. As you might have guessed, this was my first curses program in
> C, after an unfinished one in Python. So it could have been just a
> newbie problem.

well, if I ignored things like that, I'd miss most of the bugs, right?

For lib_gen.c, I don't see an easy way to verify that except by reading
through the whole file and making sure that I don't have loops - I thought
it was correct after I fixed one of those in September.  So I'll review
that after adding Skimo's patch, just-in-case.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]