bug-ncurses
[Top][All Lists]
Advanced

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

Re: winsch, addch and european characters


From: Thomas Dickey
Subject: Re: winsch, addch and european characters
Date: Sat, 02 Dec 2006 14:16:05 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Nov 16, 2006 at 09:34:12AM +0100, Jean Ribiere wrote:
> I have problems with waddch and winsch with characters > x'07f'
> as european character e acute for instance.
> 
> With ncurses-5.5 (linux, slackware-11.0, KDE)
> if the character is defined by ch='é',

Turning on warnings, I see that gcc tells me the assignment has a
sign-extension problem, which accounts for the reverse-video and
blinking.

> - wadcch adds the character but it appears in reverse video
>   and blinking
> - winsch does nothing
> if the character is defined by a wgetch :
> - waddch is ok
> - winsch does nothing

winsch() is probably doing nothing since the character is nonprintable
(given that your program does not call setlocale()).

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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