[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ncurses-bug
Subject:    Re: Trouble with CDK selection and special characters
From:       TheLonelyStar <nabble2 () lonely-star ! org>
Date:       2009-04-05 8:57:01
Message-ID: 22891771.post () talk ! nabble ! com
[Download RAW message or body]


I have just noticed something, which might be important (and find very
strange)!
If I have entries like this:

Nathan Hüsken|nabble2@lonely-star.org

(not many spaces at one place), the problem does not appear.
It only appears when I have a lot of spaces in the entry ...

This is strange.

You can see the effect in the "viewer_ex" example bundled with cdk.
Create a directory with umlaut and losts of spaces in its name, Example:

mkdir "ü                                             berhaupt"

No open the viewer_ex example and go over that directory.
Can you confirm my problem?

Thanks
Nathan

TheLonelyStar wrote:
> 
> Hi,
> 
> I have a CDK selection box. I compiled with cdkw, ncursesw.
> I use special characters (Umlaute: ä,ö,ü).
> While an item with umlaute is selected, it is displayed correctly.
> Example:
> 
> Nathan Hüsken                 |nabble2@lonely-star.org
> 
> But as soon as I move the cursor to another item, it gets corrupeted.
> Example:
> 
> Nathan Hüsken                 ||nabble2@lonely-star.org
> 
> Notice that it draw 2 "|" where there should also be only one.
> Also (I can not display that here) the first | gets drawn in INVERSE mode
> (as if it was still selected).
> 
> So it seems to me, when an item is not selected (by this I mean, the
> curser is over it), Umlaute take a different amount of space ...
> 
> Ideas on how to solve this?
> Thanks!
> Nathan
> 

-- 
View this message in context: \
http://www.nabble.com/Trouble-with-CDK-selection-and-special-characters-tp22891661p22891771.html
 Sent from the Gnu - Ncurses mailing list archive at Nabble.com.



_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ncurses


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic