[Bug 282647] termcap entries for tmux missing title setting capabilities (also for xterm?)
Date: Fri, 22 Nov 2024 16:29:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282647 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=\E]2;:fs=^G: tmux uses :ts=\E]0;:fs=^G: per https://github.com/tmux/tmux/commit/295ace682020 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 features 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 the ts or fs capabilities so this doesn't solve that issue. terminfo for tmux has use=xterm+sl but somehow base ncurses picks up termcap 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. -- You are receiving this mail because: You are the assignee for the bug.