possible issue in copy to clipboard from remote linux when lines end in ")" #17302
Unanswered
Marco Guardigli (mgua)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
in WT version 1.20.11271.0 i found a weird behaviour that i can not explain. It has to do with clipboard integration.
steps to reproduce:
I open a remote single window terminal against an ubuntu 22.04 system, using root account. I usually work with vertically split window. i execute remotely a command like:
nmap --dns-servers dns_server -sL 10.10.1.0/24 10.10.3.0/24 | grep -e ")$"
the output on the screen appears fine. It scrolls a few pages. No tmux or screen in between.
I then select (with mouse) the output, and copy it. Then i paste it on another windows app (notepad++)
Some of the lines have wrong line endings, with missing closing ")" and sometime a digit too.
If i execute the same command, directing the output to a file, the lines that are wrong in the paste appear normal.
To me this is quite important since i rely on being able to copy from the terminal to other apps, and need to trust the integrity of the copy.
any hints?
All reactions