Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2024 16:29:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282647] termcap entries for tmux missing title setting capabilities (also for xterm?)
Message-ID:  <bug-282647-227-Oa5E9Zh0YB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282647-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282647-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282647

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bapt@FreeBSD.org

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Duane from comment #0)
> :ts=3D\E]2;:fs=3D^G:

tmux uses :ts=3D\E]0;:fs=3D^G: per https://github.com/tmux/tmux/commit/295a=
ce682020
which matches xterm+sl per
https://github.com/mirror/ncurses/blob/v6.4/misc/terminfo.src#L5709
FreeBSD homegrown termcap mostly follows terminfo except for POLA or featur=
es
that cannot be translated to termcap. So, this should be easy to fix but I
don't use termcap myself anymore.

(In reply to Duane from comment #3)
> Additionally, neither of the additional entries in terminfo-db contain th=
e ts or fs capabilities so this doesn't solve that issue.

terminfo for tmux has use=3Dxterm+sl but somehow base ncurses picks up term=
cap
unless an entry is only defined in terminfo e.g.,

$ pkg install terminfo-db
$ tmux set -g default-terminal tmux-direct
$ tmux respawn-pane -k
$ (tput ts; echo) | vis -o
\033]0;
$ (tput fs; echo) | vis -b
^G

CC @bapt per base b75fb12b6827 which suggested termcap to be used only as
fallback.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282647-227-Oa5E9Zh0YB>