[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/53564: tmux: pagination/wordwrap misalingment
The following reply was made to PR misc/53564; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
Subject: Re: misc/53564: tmux: pagination/wordwrap misalingment
Date: Sat, 01 Sep 2018 16:56:36 +0200
Hello Courtney, =
> >Number: 53564
> >Category: misc
> >Synopsis: tmux: pagination/wordwrap misalingment
> >Confidential: no
> >Severity: non-critical
> >Priority: medium
> >Responsible: misc-bug-people
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Fri Aug 31 18:20:00 +0000 2018
> >Originator: Courtney Spencer
> >Release: NetBSD 8.0_RC2
> On a default install, regardles of shell or TERM, tmux
> when reading long lines, writes the output to the terminal
> by breaking up then entire string insets of two line breaks with an
> unread, but added line break. =
> In 8.x, start a tmux session.
> Write a one-line string to the terminal such that the number of =
> characters is greater than
> 2 * $COLUMNS + 1:
> For purposes of demonstration, I'm using 480 characters written to an
> 80 column terminal.
> jot -s "" -b L 480
> Double click to select the output, or click and drag to select.
> When double-clicking, the highlited area will be exactly two lines
> regardless of how long the string is and how much it wraps.
> When highlighting and draging, write the selction to a temp
> file and notice there are multiple lines. In my example above
> 480 characters becomes 3 lines.
I have tested with tmux-2.4^ on NetBSD-current and I can reproduce
the problem you have described... But, good news!, it seems that
it was fixed upstream (fix contained in tmux-2.5) by the following
...and the corresponding diff:
Please let us know if applying the diff fixes the problem!
(Surely this is pretty annoying for copy and paste but I'm not sure
if it's worth to be pulled up to netbsd-8 or not, releng?)
PS: As a workaround, if it is less intrusive, you can also install the
tmux pkgsrc package that should not be affected by this problem.
: AFAIK tmux-2.4 in NetBSD 8.0 should not differ significantly,
except for not using configure.
Main Index |
Thread Index |