Re: Bug#833116: fgetty: Incorrect keystroke interpretation
>Suppose that we have a working bash shell with UTF-8 console where ñ
>displays properly. Then try this:
>
>LANG=C bash # run a subshell in a non-UTF8 locale
>
>If you press ñ, you will see (arg: 1). The programs (including a
>subshell) also work incorrectly because the locale is not UTF8.
>
>Now execute this:
>
>LANG=..... (some UTF-8 locale)
>
>Now, if you press ñ, you will see (arg: 1) like before. The programs
>(including a subshell), however, will work correctly.
>
>Now execute this:
>
>export LANG
>
>Now also ñ works correctly.
>
>If you are sure that the problem does not come from the locale, another
>
>thing to check is to compare the output of
>
>bind -v
>bind -p
>
>in bash where ñ works properly and in bash where ñ leads to (arg: 1).
>
>Also make sure there are no files ~/.inutrc and the variable INPUTRC is
>unset.
>
>Anton Zinoviev
Thank you for your tips, Anton. I will certainly try your suggestions and let you both know.
Ricardo Peliquero
Reply to: