Hi Thanks for your work on this.
Although, hmmmm. I'm really not wild about custom tmux escape sequences, although they have obvious advantages. I'll have to think about it. We need a better way to express this kind of stuff since real terminfo flags are so patchy. I think that putting it into tty_update_mode means we may change the cursor where it is unnecessary such as tty_draw_line, but I'm not sure we need to care about this, anyone trying to do this on a vt100 or at 9600 baud really doesn't get to complain. I'm not sure I'll have time to have another look at this until I get back from Japan in two weeks. On Mon, Mar 14, 2011 at 01:07:26PM +0000, Sean Estabrooks wrote: > > 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 > > ------------------------------------------------------------------------------ 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