gnome-terminal randomly outputs control characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
terminator (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Observed behavior:
When using tmux, the terminal occasionally displays the "boxed" version of the 0x001b character followed by two ']' characters either in the cursor's current location or at the end of a refreshed line, or sometimes at an apparently random position on the screen. The times at which this character appears seem to be completely random.
To reproduce:
Get a clean install of tmux and gnome-terminal from the repositories. It is difficult to quantify this, but it appears that the bug will present itself most readily when working in vim or another refresh-heavy cli program.
Why it's not a tmux bug:
The bug appears to affect gnome-terminal and terminator, but not xterm or e.g. sessions connected over putty. In fact, if I open all of these screens side-by-size (using a virtual machine), and simultaneously attach to the same tmux session, only gnome-terminal and terminator show the strange characters, while the other two terminals render the screen as expected.
Please see this superuser discussion for a link to a video of what the bug looks like:
http://
Let me know if there is anything else I can do to help reproduce/solve this, as using xterm is a really bad workaround to have to put up with.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-terminal 3.6.2-0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-43-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
Date: Tue Mar 24 10:30:12 2015
InstallationDate: Installed on 2015-01-11 (71 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)
Could you please get a(n as short as possible) script(1) log of this behavior?
Gnome-terminal handles unknown escape sequences worse than other emulators. We'd need to understand whether tmux emits something incorrect, or gnome-terminal (actually vte) just doesn't understand that sequence.