Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting text while in ssh session drops special characters #8398

Closed
VitalyArtemiev opened this issue Nov 25, 2020 · 2 comments
Closed

Pasting text while in ssh session drops special characters #8398

VitalyArtemiev opened this issue Nov 25, 2020 · 2 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-External For issues that are outside this codebase

Comments

@VitalyArtemiev
Copy link

VitalyArtemiev commented Nov 25, 2020

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.1198]
Windows Terminal version: Windows Terminal Preview 1.5.3242.0 
OR 
Windows Terminal 1.4.3243.0

Steps to reproduce

I expect this bug to be difficult to reproduce since I cannot find any mention of this behaviour anywhere despite being seemingly obvious on my machine. I can provide a video demonstration and necessary system config files if needed.

  1. (Have a second language/keyboard layout installed? - not sure, but I have Russian lang and kb layout installed and have encountered similar issues in the past which seemed to be related to that )
  2. Open Windows Terminal (freshly installed from MS Store)
  3. ssh to remote linux server (tried both Ubuntu 16 and Raspbian on several machines)
  4. Copy the following string:

a{b}c[d]e-f*g/h~i`j%k^l$m#n@o"p'q<r>s

  1. Paste the string into Terminal via right-click or Shift-Insert or Ctrl-Shift-V
  2. Observe as the string turns into the following, losing a bunch of characters:

abcde-f*g/hij%klmno"pqrs

Expected behavior

I expect the text to remain the same.

Actual behavior

Pasted text loses brackets, curly braces, single quotation marks, and other symbols, such as <>^$#&~.
Symbols can still be typed manually (even though I have encountered a bug in Terminal in the past where this was not the case).
Copy-pasting symbols from terminal works fine.
Repeating the same steps in stand-alone cmd or powershell also works fine.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Nov 25, 2020
@DHowett
Copy link
Member

DHowett commented Nov 25, 2020

Thanks for the report! This looks like a /duplicate of PowerShell/Win32-OpenSSH#1505, which is an issue in windows' ssh.exe. It's been fixed and the release is available on their github page.

@ghost
Copy link

ghost commented Nov 25, 2020

Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!

@ghost ghost closed this as completed Nov 25, 2020
@ghost ghost added Resolution-External For issues that are outside this codebase and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 25, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-External For issues that are outside this codebase
Projects
None yet
Development

No branches or pull requests

2 participants