PowerShell / PowerShell/Win32-OpenSSH
Copying output from tmux omits newlines and pads with whitespaces
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
"OpenSSH for Windows" version
ssh.exe from https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v8.1.0.0p1-Beta
Server OperatingSystem
Ubuntu 1804 LTS
Client OperatingSystem
W10 N 1909
What is failing
If you copy a tmux session's output, all newlines are removed and padding whitespaces are added.
Copied text in putty:
benni@majorpurpose:~$ whoami
benni
benni@majorpurpose:~$
Copied text in openssh:
benni@majorpurpose:~$ whoami benni benni@majorpurpose:~$
As you can see, all newlines have been stripped, and there are a lot of padding whitespaces.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the copy operation from a tmux session using ssh.exe on Windows 10 against the reported Ubuntu 18.04 setup, and compare it with the PuTTY output shown in the issue. No source file or test is named; done means copied output preserves line breaks without the added padding spaces.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100