input_dcs_dispatch should log the input string but otherwise this looks fine on a quick read.
I'm a bit tempted to say we should treat OSC and APC the same to be consistent but not sure... On Fri, Jan 28, 2011 at 09:47:00AM -0800, Kevin Goodsell wrote: > This patch allows applications to send control sequences to the > underlying terminal by using DCS. It adds the dcs_escape state to the > input state machine, allowing ESC characters in the dcs_handler state. > Following an ESC, a backslash is interpreted as the end of the DCS > string and any other character is added to the DCS string as-is, to be > passed to the underlying terminal later. > > As discussed in a previous thread, the prefix "tmux;" is used to trigger > this feature. > > In order to write the resulting bytes to the underlying terminal, the > functions screen_write_rawstring and tty_cmd_rawstring have been > introduced. > > This patch depends on my patch for input_clear to allow input_buf to be > cleared on entry to the dcs_enter state. > > Comments and suggestions welcome. > > -Kevin > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users