[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Non-us keyboard layout mishandling.
From: |
Ramil Farkhshatov |
Subject: |
Re: [vile] Non-us keyboard layout mishandling. |
Date: |
Thu, 16 Dec 2010 23:06:40 +0300 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Thomas Dickey <address@hidden> wrote:
> On Thu, 16 Dec 2010, Thomas Dickey wrote:
>
> >>> Is that the wide-character version of ncurses? (libncursesw).
> >>> ncursesw provides get_wch(), which decoded the UTF-8. For instance, I
> >>> use the ncurses test-programs to check this area.
> >>
> >> I linked my test-program against ncursesw. get_wch() just hangs and
> >> does not return for a long time when I enter something cyrillic.
> >> getchar() and getch() returns multiple values for each keypress, which I
> >> decode to ensure that the encoding is UTF-8. Don't know whether this
> >> information is relevant/useful since vile does not use get_wch().
>
> I forgot to ask if your test-program uses setlocale(), e.g.,
> setlocale(LC_ALL, "");
I forgot about setlocale(). With it get_wch() works perfectly. Thanks.
> though I'm unsure what would cause get_wch() to hang. A debug-trace could
> show the problem.
- Re: [vile] Non-us keyboard layout mishandling., Ramil Farkhshatov, 2010/12/10
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/12
- Re: [vile] Non-us keyboard layout mishandling., Ramil Farkhshatov, 2010/12/12
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/12
- Re: [vile] Non-us keyboard layout mishandling., Ramil Farkhshatov, 2010/12/15
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/15
- Re: [vile] Non-us keyboard layout mishandling., Ramil Farkhshatov, 2010/12/15
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/16
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/16
- Re: [vile] Non-us keyboard layout mishandling.,
Ramil Farkhshatov <=
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/16
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/21
- Re: [vile] Non-us keyboard layout mishandling., Ramil Farkhshatov, 2010/12/21
- Re: [vile] Non-us keyboard layout mishandling., Thomas Dickey, 2010/12/21