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: Gerhard H?ring
Subject: Re: wide chars functions don't work
Date: Sat, 16 Feb 2002 16:43:15 +0100
User-agent: Mutt/1.5.0i

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.

> [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.

> >     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.

> [...]
> > Now, are these functions actually implemented in ncurses? As far as I
> > can see in ddd, the wstr functions/macros keep calling themselves
> > recursively.
> 
> mea culpa (in context, this happens if I overlook some of the definitions
> needed to make lib_gen.c build properly).
>  
> > (In the end, I want to use these functions from Python)
> > 
> > Is this a bug?
> 
> that's what is known as a rhetorical question...

Well, in the past it sometimes turned out that the problem really was
PEBKAC :-)

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



reply via email to

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