Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2022 15:35:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263084] vt: Paste pads from EOL to end of screen with whitespace characters
Message-ID:  <bug-263084-227-DKg7ih33Lq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263084-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263084-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263084

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|vt newcons: Paste pads from |vt: Paste pads from EOL to
                   |EOL to end of screen with   |end of screen with
                   |whitespace characters       |whitespace characters
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
Can you try this with sc(4) (and a 80 col wide terminal):

$ printf
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxx
x\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
xxxxxxx\nx\n'

then copy and paste, and report whether it is three or four lines? xterm
handles this correctly (as an 81-char line, and then two at 79 and 1).

My suspicion is that sc(4) just strips trailing whitespace, which is not qu=
ite
correct but preferable.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263084-227-DKg7ih33Lq>