Similar thing happens when using an escape sequence to change cursor color ie. echo -ne "\e]12;orange1\a". on Gnome Terminal 3.6.2 (and RoxTerm too) but only when attached to a tmux session. xterm escape sequence for cursor colors works with or without tmux.
Attached shows character and 112 sequence occurring in Gnome Terminal using tmux. ** Attachment added: "Screenshot 2016-01-13 15:30:31.png" https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1435905/+attachment/4549570/+files/Screenshot%202016-01-13%2015%3A30%3A31.png -- 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/1435905 Title: gnome-terminal randomly outputs control characters Status in gnome-terminal package in Ubuntu: Confirmed Status in terminator package in Ubuntu: Confirmed 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://superuser.com/questions/864364/tmux-printing-u0x001b-and-112-randomly 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 ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11 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_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-terminal UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1435905/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp