> Readline and bash have some troubles with line editing in UTF-8 mode.
>
> [...]
>
> However, I prefer having a blue prompt:
> PS1=$'\\[\E[1;34m\\]\\u@\\h:\\w\\$ \\[\E[0m\\]'
> This works perfectly in legacy 8-bit mode, but misbehaves when using UTF-8.
> Typing the same sequence ("á" leftarrow "í" leftarrow "ó") yields in "óíá"
> being displayed but the cursor incorrectly stands over "á".
I traced readline's behaviour to find where it behaves differently in the
two cases, for monochrome and for color prompts. This lead to a patch that
seems to fix the problem for me. It should be used together with the
mentioned SUSE patch, I didn't test it on its own. See attachment...
bye,
Egmont