Variable: xterm-max-cut-length
xterm-max-cut-length is a customizable variable defined in
xterm.el.gz.
Value
100000
Documentation
Maximum number of bytes to cut into xterm using the OSC 52 sequence.
The OSC 52 sequence requires a terminator byte. Some terminals will ignore or mistreat a terminated sequence that is longer than a certain size, usually to protect users from runaway sequences.
This variable allows you to tweak the maximum number of bytes that will be sent using the OSC 52 sequence.
If you select a region larger than this size, it won't be copied to your system clipboard. Since clipboard data is base 64 encoded, the actual number of string bytes that can be copied is 3/4 of this value.
This variable was added, or its default value changed, in Emacs 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/term/xterm.el.gz
(defcustom xterm-max-cut-length 100000
"Maximum number of bytes to cut into xterm using the OSC 52 sequence.
The OSC 52 sequence requires a terminator byte. Some terminals will ignore or
mistreat a terminated sequence that is longer than a certain size, usually to
protect users from runaway sequences.
This variable allows you to tweak the maximum number of bytes that will be sent
using the OSC 52 sequence.
If you select a region larger than this size, it won't be copied to your system
clipboard. Since clipboard data is base 64 encoded, the actual number of
string bytes that can be copied is 3/4 of this value."
:version "25.1"
:type 'integer)