Hi Nicholas,

> Does rxvt support these sequences? I don't think screen does. Probably
> best only to check for xterm.

Good catch.  I really should have thought a bit more before just
copy-n-pasting from tty_set_title.  Have changed the code to only
operate for an xterm by default now.  Also fixed a bug where
the cursor wasn't restored properly when exiting or suspending
the client.

When tmux starts and the termial type is xterm, two terminfo
codes are filled in (if they're empty) with the standard
set and reset codes for xterm.  If the two variables aren't
set by terminfo, or the xterm logic above, they're empty
and no escape sequences will get sent to the underlying
terminal.

This allows the codes to be easily overridden and made to work
in a lot of situations. Having played with it in several
different terminals and environments it seems to work pretty
well, so patch4 attached for review.

Sean

                                          

Attachment: color4.patch
Description: Binary data

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to