[Bug 1360419] Re: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2015-03-03 Thread Adolfo Jayme
** Changed in: gnome-terminal (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1360419 Title: Buffer containing russian Unicode

[Bug 1360419] Re: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2014-10-01 Thread Ivan Zouboff
Thank you a lot, Egmont, of course you're 100% right with that. Massive thanks for helping with fixing in via .bashrc, too. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu.

[Bug 1360419] Re: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2014-08-26 Thread Ivan Zouboff
Egmont, thanks a lot, man, you're made my day! Yeah, the problem was there: in gnome-terminal stty -a reports -iutf8 by default, while on XTerm, UXTerm and LXTerminal it reports iutf8 by default. Command stty iutf8 getting gnome-teminal back on right way! Sadly, I don't know why this situation

[Bug 1360419] Re: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2014-08-26 Thread Ivan Zouboff
All works fine because Egmont Koblinger kindly offered a working solution. ** Changed in: gnome-terminal (Ubuntu) Assignee: (unassigned) = Ivan Zouboff (anotherdiskmag) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to

[Bug 1360419] Re: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2014-08-26 Thread Ivan Zouboff
For those who interested for code solution - here it is: #include stdio.h #include stdlib.h //contains system() function void main() { char buffer[1024]; /*executing of command stty iutf in shell before input begins. this command means assume input characters are UTF-8 encoded.*/ if

[Bug 1360419] Re: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2014-08-26 Thread Egmont Koblinger
Hi Ivan, The feature of setting iutf8 was implemented in gnome-terminal 10 years ago and I've been happily using it ever since. There might be a bug of course, it would be nice to investigate further why it's not set for you. (At this moment I have no idea how it could be wrong for you.) Your

[Bug 1360419] Re: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2014-08-25 Thread Egmont Koblinger
If you're using UTF-8 character set, you need to execute stty iutf8, so that a stty -a reports back iutf8. For non-UTF-8, the command to be executed is stty -iutf8 and accordingly stty -a should report -iutf8. Gnome-terminal sets this according to the initial character set of the terminal, but