Oh hmm. Remind me why we need to do that?

On Thu, Mar 03, 2011 at 10:31:37AM -0800, Kevin Goodsell wrote:
> On Thu, Mar 3, 2011 at 1:07 AM, Nicholas Marriott
> <nicholas.marri...@gmail.com> wrote:
> > This doesn't seem to work, I'm trying this in xterm:
> >
> > printf '\033Ptmux;\033]12;blue\007\033\\'
> >
> > Looks like it is trimming out the second \033. I don't really
> > have time to investigate much further now, I guess you need a different
> > state function to insert the keys after the escape (or a flag or
> > something)?
> >
> 
> I think you are seeing the expected behavior. An ESC in the DCS string
> simply causes the following character to be taken literally (unless it
> is backslash). In your example, it applies to the following ']' (and
> therefore has basically no effect). You need two ESC chars to produce
> an ESC in the output string.
> 
> -Kevin

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to