Bug#273194: re:#273194 xterm: characters from paste buffer lost at roughly 4kB intervals [kernel pty bug?]

Thomas Dickey <[email protected]> Wed, 3 Jun 2026 18:56:49 -0400
Newsgroups gmane.linux.debian.devel.x
Message-ID <aiCxMSvAsKAf3pGg__21429.5302679361$1780527566$gmane$org@prl-debianold-64.jexium-island.net>
On Wed, Jun 03, 2026 at 06:39:07PM -0400, Thomas Dickey wrote:
> In reviewing this bug, it appears that the 4k limit (in 2004) is not
> an issue any more.  I was able to copy/paste 100k without dropping
> characters.
> 
> ymmv :-)

The more recent comments on this issue are actually unrelated.

If a paste is large enough to fill the shell's line-buffer,
then that will "delay" a ^C.  I've seen a few comments about that,
and it's not due to xterm.  xterm isn't going to detect ^C in
the input and magically honor that in some undocumented out-of-band
signalling mechanism.

The reported issue did not depend on that, so unless someone can
provide detailed instructions on how to bump into a 4000-character
limit on current systems, this can be closed.

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmogsS0ACgkQzCr0RyFn
vgM4SAwAw9kJcuK4vzVWTXl9+vHuBf1Vt5Jy74CoFGS+C2EPB85Fm14wGzduxFpW
1n1iNBsM8TNA9E1C7bysqymw1rBCEYXrB8BLwognPAw3w0qPwMD4N5Ch/Ow9jT1C
K+8qIQTaW9GK6uX6EsTftCHPLlfP1UDuZ9tMAuJMg/e92I+8e13jUG/Wlv/kPeW/
CqnB/44kEcOeUlJyuDuRFqBeKjTv96yAnLHD/c7zC34i7kNfWG+WDdvcBCaQ6Rrz
rN/UoPq0cX968ZtdExQeb41b32voSKcKCkvl+bV6oJ4Th8/80wre9tby6EbzbLkV
+AkUlZikM0JcFhVRDX4Hk32GtZrlpx46i/k5PWlVID3H4mRoeARUoa2yH8oL+ceG
mkePN1FIJVnM+xEg33gtRi50q7hhGgCo/SzKTtVVQh3H7lmae7wYaA1LjO/Aiwb5
VFTNFQm4GiD3qut8m3cpFR3E4oBPZJQ57AvcsylkAVyd0tFhpaNyVZE/FEp4pmre
aYL++vNW
=GEft
-----END PGP SIGNATURE-----