[Desktop-packages] [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 Desktop Packages, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1360419

[Desktop-packages] [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 #include //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 (system("stty iutf8")

[Desktop-packages] [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 Desktop Packages, which is subscribed to gn

[Desktop-packages] [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 situ

[Desktop-packages] [Bug 1360419] [NEW] Buffer containing russian Unicode charecters is not cleaning after pressing Backspace

2014-08-22 Thread Ivan Zouboff
Public bug reported: I'm writing C applications for Ubuntu and I've find out interesting bug. That's a short program showing what's wrong. It reads a line from user and writes that line. "#include void main() { char buffer[1024]; for (;;) { fgets(buffer, sizeof buffer-1, stdin);