Bug 1780785 - tmux preprending stdout with <9d>777;preexec<9c>
Summary: tmux preprending stdout with <9d>777;preexec<9c>
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: tmux
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sven Lankes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-06 22:15 UTC by Adam Miller
Modified: 2020-11-24 18:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-24 18:46:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Miller 2019-12-06 22:15:07 UTC
Description of problem:

When I execute a command, tmux is prepending <9d>777;preexec<9c> to the output but it looks like whitespace until I attempt to copy it.

When I paste into the browser it appears like 777;preexec

However, when I paste it into vim it shows up as <9d>777;preexec<9c>



Version-Release number of selected component (if applicable):
tmux-2.9a-3.fc31.x86_64.rpm

How reproducible:
Always


Steps to Reproduce:
1. Install tmux on Fedora 31 Xfce Spin
2. Run any command ('echo "foo"' is enough to cause the issue)
3.


Additional Information:
I grabbed the tmux-3.0a-1.fc32.src.rpm from koji and rebuilt locally for fedora-31-x86_64 in mock and installed it, the new version resolved the issue so unless there's any backwards compat breakage, this might just need to be an upgrade for f31.

Comment 1 Adam Miller 2019-12-06 22:17:28 UTC
FWIW this looks related, I'm guessing tmux just handled it themselves also in the 3.0 or 3.0a release.

https://github.com/TragicWarrior/libvterm/issues/147

Comment 2 David Both 2019-12-08 13:44:34 UTC
I noticed the following anomaly in non-root screen sessions:

[dboth@david ~]$ echo "Hello world"
777;preexecHello world
[dboth@david ~]$

The extraneous 777;preexec text is inserted in PS1 by the /etc/profile.d/vte.sh script. Commenting out the last few lines, the “case” statement circumvents the problem.

This problem does not appear in root screen sessions or in any non-screen sessions, root or otherwise.

I hope this helps.

Comment 3 Ben Cotton 2020-11-03 15:57:04 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Ben Cotton 2020-11-24 18:46:15 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.