In a unicode_start console session if I use accented letters (
In a unicode_start console session if I use accented letters (ìèéàù) I can delete prompt header characters in a number equal to number of accented letters used. For example, if I use "normal" chars: mrfree@thot mrfree $ qwerty Using backspace I can delete obtain something like this: mrfree@thot mrfree $ But if I use some accented letters I can use backspace to delete prompt header: mrfree@thot mrfree $ ìùàìùà I can obtain this: mrfree@thot mrf Exacly 6 chars of prompt!!! After a unicode_stop this doesn't happen Reproducible: Always Steps to Reproduce: 1. unicode_start 2. 3. Actual Results: I can delete portions of prompt header after use of accented letters Expected Results: Hey prompt wouldn't have to be erasable ;)
which package is that ?
Ops... the package is sys-apps/kbd (reported by "qpkg -f /usr/bin/unicode_start")
Created attachment 44552 [details, diff] patch for support encoding of unicode characters This patch fixing this problem and add new parametr for running unicode_start The default incoding is iso-8859-1
Hm, from what I remember this is bug of bash. I have same issue, but if I run second bash instanse, or load a terminal in X the problem disapears.
I've tryed the patch but the problem remains :( PS: in your patch there is a missing space if [-z "$3" ] could be if [ -z "$3" ]
Doesnt happen with bash3 and readline5 since they are unicode aware. Also check out: http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8
Thz, Using bash3 and readline5 all works well ;)
Using bash3 and readline5 all works well ;)