bash utf-8 characters issue in xterm-like virtual terminals
Bug #367369 reported by
®om
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Terminal |
Unknown
|
Medium
|
|||
Gnu Bash |
New
|
Undecided
|
Unassigned | ||
bash (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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-
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).
affects: | gnome-terminal (Ubuntu) → bash (Ubuntu) |
Changed in gnubash: | |
status: | Unknown → Invalid |
Changed in bash (Ubuntu): | |
status: | Incomplete → Confirmed |
affects: | gnubash → gnome-terminal |
description: | updated |
summary: |
- bash utf-8 characters issue + bash utf-8 characters issue in xterm-like virtual terminals |
Changed in gnome-terminal: | |
importance: | Unknown → Medium |
status: | Invalid → Unknown |
To post a comment you must log in.
reported upstream : http:// bugzilla. gnome.org/ show_bug. cgi?id= 580297