garbage output on start tmux session or attach to running one

Matthias Apitz <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <aQR5vnoflmRrDNga@c720-1400094>
Hello,

I'm using sysutils/tmux for many years already, always compiled from git
ports and into CURRENT jails. I'm facing since some FreeBSD version the
following problem.

On start of a tmux session or attach to running one it gives in the tmux
session terminal some garbage output

$ uname -a
FreeBSD jet 16.0-CURRENT FreeBSD 16.0-CURRENT #0 main-n281256-7d6221ff1447: Sun Oct 19 12:57:22 CEST 2025     guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

$ pkg info tmux
tmux-3.5a_1
Name           : tmux
Version        : 3.5a_1
Installed on   : Wed Oct 22 04:45:41 2025 CEST
Origin         : sysutils/tmux
Architecture   : FreeBSD:16:amd64
Prefix         : /usr/local
Categories     : sysutils
Licenses       : ISCL and GPLv2
Maintainer     : [email protected]
...

$ env | grep TTY
SSH_TTY=/dev/pts/1
$ env | grep TERM
TERM=rxvt-unicode-256color

$ tmux new -s foo

screen gets cleared and in the tmux session 'foo' it says after the
shell prompt:

$ 10;rgb:0000/0000/0000]11;rgb:ffff/ffff/ffff
[root@jet /usr/home/guru]# 10;rgb:0000/0000/0000]11;rgb:ffff/ffff/ffff

One can remove the string '10;rgb:0000/0000/0000]11;rgb:ffff/ffff/ffff'
with DEL keys of Ctrl-C and everthing else works as expected.

	matthias


-- 
Matthias Apitz, ✉ [email protected], http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.