2009-04-26 14:40:10 |
®om |
bug |
|
|
added bug |
2009-04-26 14:40:10 |
®om |
attachment added |
|
screenshot of the bug http://launchpadlibrarian.net/25998700/screenshot3.png |
|
2009-04-26 14:43:43 |
®om |
bug watch added |
|
http://bugzilla.gnome.org/show_bug.cgi?id=580297 |
|
2009-04-26 15:19:59 |
®om |
affects |
gnome-terminal (Ubuntu) |
bash (Ubuntu) |
|
2009-04-26 23:08:41 |
Robert Ancell |
bug task added |
|
gnubash |
|
2009-05-13 15:17:10 |
Bug Watch Updater |
gnubash: status |
Unknown |
Invalid |
|
2009-06-23 11:24:34 |
®om |
summary |
gnome-terminal utf-8 characters issue |
bash utf-8 characters issue |
|
2009-08-24 10:57:56 |
Matthias Klose |
bash (Ubuntu): status |
New |
Incomplete |
|
2009-10-09 21:01:32 |
ZelinskiyIS |
attachment added |
|
scren capture of the bug for Jaunty http://launchpadlibrarian.net/33375742/script-80x24.tar.gz |
|
2009-10-09 21:47:50 |
ZelinskiyIS |
attachment added |
|
Script record of reproducing steps 1)-3) for Karmic http://launchpadlibrarian.net/33377384/script-Karmic-80x24.tar.gz |
|
2009-12-17 20:10:39 |
Yann Leprince |
bash (Ubuntu): status |
Incomplete |
Confirmed |
|
2009-12-17 20:24:53 |
Yann Leprince |
affects |
gnubash |
gnome-terminal |
|
2009-12-18 12:02:26 |
Yann Leprince |
bug task added |
|
gnubash |
|
2009-12-18 12:10:33 |
Yann Leprince |
description |
gnome-terminal count bytes instead of chars in prompt for handling the need of new line.
For example, I created a folder "~/Vidéos/ééé".
the char 'é' takes 2 bytes in UTF-8.
When I write something, no problem :
rom@rom-laptop:~/Vidéos/ééé$ echo abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst
uvwxyz
The problem appears when pressing ↑ (up) in the terminal to write again the same command, and editing it : everything is shifted of 4 chars, cursor is not at the right place, and what appears in the command is not the command executed (see attached screenshot). |
Bash/readline handles line editing incorrectly when multibyte characters appear in $PS1 between the "\e]0;" and "\a" escape sequences (which serve to update the title of the virtual terminal window).
For example, I created a folder "~/Vidéos/ééé".
the char 'é' takes 2 bytes in UTF-8.
When I write something, no problem :
rom@rom-laptop:~/Vidéos/ééé$ echo abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst
uvwxyz
The problem appears when pressing ↑ (up) in the terminal to write again the same command, and editing it : everything is shifted of 4 chars, cursor is not at the right place, and what appears in the command is not the command executed (see attached screenshot).
|
|
2010-01-24 17:38:36 |
Yann Leprince |
summary |
bash utf-8 characters issue |
bash utf-8 characters issue in xterm-like virtual terminals |
|
2010-02-11 11:50:24 |
Martin Pulec |
removed subscriber nereus |
|
|
|
2010-09-15 19:09:56 |
Bug Watch Updater |
gnome-terminal: status |
Invalid |
Unknown |
|
2010-09-15 19:09:56 |
Bug Watch Updater |
gnome-terminal: importance |
Unknown |
Medium |
|