[Bug 263083] vt newcons: Paste fails to paste full marked section, only pastes part of it

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Apr 2022 22:52:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263083

--- Comment #2 from Stefan B. <sblachmann@gmail.com> ---
I also thought of too-small buffer size first.
But considering that apparently the whole lines are being buffered (and not the
actual text, see also PR 263084) and the number of lines being pasted varies
from 4-10, even if the actual text contained is quite small, made me wonder
whether this is the cause.

The screen resolution is FHD, so lines are a bit longer than 80 chars (using
default font). The "traditional paste buffer size" is probably at least 2k
chars, and should probably able to carry a bit more than 4-10 lines only.

Maybe the copypaste buffer should be resized when console gets larger than
previous X/Y dimensions at drm-kmod loading and/or font switching?

Will check the behavior without console switch the next days. Laptop is stashed
in the flight luggage now and it might take a bit until I got wifi internet
access working.

-- 
You are receiving this mail because:
You are the assignee for the bug.