Skip to content

11;rgb:0c0c/0c0c/0c0c gets printed on terminal when tmux start... seems to be inserted by the bash shell #4642

Closed

Description

@skirsch

Issue description

I created a Debian13 Container on Truenas Scale, and access via Windows Terminal. Starting tmux gives me garbage characters at the initial prompt. These seem to be caused by something in the default .bashrc. I inserted an echo at the start of the bash script and the end to isolate it.

^[]11;rthis is start of bashrc
gb:0c0c/0c0c/0c0c^[\end of bashrc
stk@Debian13:~$ 11;rgb:0c0c/0c0c/0c0c

Here is the debug info inside tmux

stk@Debian13:~$ tmux -V
tmux 3.5a
stk@Debian13:~$ uname -sp
Linux unknown
stk@Debian13:~$ echo $TERM
tmux-256color
stk@Debian13:~$

and outside tmux

stk@Debian13:~$ echo $TERM
xterm-256color

.bashrc is causing something to probe the terminal before it's set up.

This is 100% reproducible ... it's a stock debian13 container and I added tmux.

Happy to assist if you have trouble replicating.

Activity

  1. skirsch commented on Oct 6, 2025

    @skirsch
    Author
    Image image in full glory
  2. nicm commented on Oct 6, 2025

    @nicm
    Member

    No logs and didn't test master. But probably a duplicate of #4634 or #4569 anyway.

  3. skirsch commented on Oct 6, 2025

    @skirsch
    Author

    For reference, this ONLY happens IF you use BOTH:

    1. windows terminal's ssh as the command to log into the host
    2. tmux 3.5a

    All other combinations (such as ssh from WSL, or Windows terminal to a host running tmux 3.3a work fine).

    (but there may be .bashrc differences on the system running tmux 3.3a)

  4. github-actions commented on Nov 6, 2025

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed.

  5. locked as resolved and limited conversation to collaborators on Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions