On Tue, Apr 15, 2014 at 2:22 PM, Nicholas Marriott
<nicholas.marri...@gmail.com> wrote:
> Actually looking at xterm it doesn't have a limit for this escape
> sequence, we can probably make tmux's a lot bigger so long as we reduce
> it back to 32 bytes after the sequence is done. Please try this instead:
>
> diff --git a/input.c b/input.c
> index ee46c98..b6c27cb 100644

Thanks for the new patch! :)  The new copying limit I have observed is:

  bash$ echo -ne "\ePtmux;\e\e]52;c;$(cat * | base64 -w0 | head -c99995)\a\e\\"

This seems to exceed OSC52's specified maximum length of 100,000 bytes.

For instance, the above command has:

  * a 7 byte OSC52 header (\e]52;c;)
  * a 99995 byte base64-encoded OSC52 body
  * a 1 byte OSC52 footer (\a)

which add up to a total of 100,003 bytes for the entire OSC52 sequence.

Thanks for your consideration.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to