Hi Nicholas,

>
> Hi
>
> Thanks for your work on this.

Was a nice diversion and the tmux source code is quite a pleasure
to read.

>
> 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.

One nice effect of this design is that the decisions are all made
at init time rather than at each use.  We don't have to decide each
time which codes to send, we just send whatever has been configured.

I think internally the design is a good one, and it leverages the
existing infrastructure within the code.  Perhaps exposing that
information to the users is a mistake and a different configuration
option should be implemented.

> 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.

Note that the sequences are only sent when the cursor colour is changed.
You can set the sequences to something visible (like XXX) and see that
they're hardly ever sent.

>
> I'm not sure I'll have time to have another look at this until I get
> back from Japan in two weeks.

No worries, enjoy your trip.  If you decide you want the problem solved
another way let me know and i'll give it a go if i have the cycles to
spare.

Cheers,
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

Reply via email to