bug-ncurses
[Top][All Lists]
Advanced

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

Re: Multi_key & ncurses


From: folkert
Subject: Re: Multi_key & ncurses
Date: Sat, 16 Jun 2018 22:23:49 +0200
User-agent: NeoMutt/20170306 (1.8.0)

> > I'm trying to enter multi-characters in an ncurses-application:
> > 
> > I enter before that in the terminal:
> > xmodmap -e "keycode 66 = Multi_key"
> > and then:
> > capslock e =
> > (these 3 keys) gives an euro sign: € <- there you should see an euro
> > sign, see https://en.wikipedia.org/wiki/Euro_sign
> 
> Something's amiss there.  Euro is U+20AC, which doesn't match the characters
> in your message.  This is Euro: "???".
>  
> > In the ncurses application I get garbage or the terminal seems to hang - I 
> > then
> > need to press a couple of keys to-unhang it often that does not work.
> > 
> > #include <ncursesw/curses.h>
> > 
> > int main(int argc, char *argv[])
> > {
> 
> You left out
>       setlocale(LC_ALL,"");

Oh right but it *is* in the real application.
So I think that is not the cause.




reply via email to

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