Hi,

In tmux 1.5 (obsd patchset #904), a previously hardcoded list of terminal
types which allow xterm-style title setting was replaced with code
handling TSL and FSL. This is good, but only 'xterm*' was re-enabled after
the switch, losing previously supported terminals 'rxvt*' and 'screen'.
The latter is especially important to make tmux-in-tmux title setting
work.

So I'd like the previous defaults to be restored:

diff --git a/options-table.c b/options-table.c
index 0832117..f272143 100644
--- a/options-table.c
+++ b/options-table.c
@@ -375,7 +375,8 @@ const struct options_table_entry session_options_table[] = {
          .default_str = "*88col*:colors=88,*256col*:colors=256"
                         ",xterm*:XT:Ms=\\E]52;%p1%s;%p2%s\\007"
                         ":Cc=\\E]12;%p1%s\\007:Cr=\\E]112\\007"
-                        ":Cs=\\E[%p1%d q:Csr=\\E[2 q"
+                        ":Cs=\\E[%p1%d q:Csr=\\E[2 q,screen:XT"
+                        ",rxvt*:XT"
        },
 
        { .name = "update-environment",

Thanks,
-- 
Romain Francoise <rfranco...@debian.org>
http://people.debian.org/~rfrancoise/


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to