additional symbols are pasted (ref. to issue 2131) #125

Closed
opened 2026-01-30 21:43:05 +00:00 by claunia · 23 comments
Owner

Originally created by @bitcrazed on GitHub (Feb 16, 2018).

From @alexeyshishkin01 on June 9, 2017 6:21

This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS!

If you have a feature request, please post to the UserVoice. If you're reporting a BSOD, don't post here! Instead, e-mail "secure@microsoft.com", and if possible attach the minidump from "C:\Windows\minidump".

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    D:>ver
    Microsoft Windows [Version 10.0.15063]
    root@Alexey-HP:~# az --version | head -1
    azure-cli (2.0.7)

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
    I copy-paste a command into BashOnWindows and additional symbols are pasted:

  • what was copied is:
    az vm image list-publishers \

--location northeurope
--query "[?starts_with(name, 'Microsoft')]"

  • what was pasted is:
    root@Alexey-HP:~# az vm image list-publishers
    ion> --location northeurope \

--query "[?starts_with(name, 'Microsoft')]"

  • What's wrong / what should be happening instead:
  • additional symbols are pasted
  • no additional symbols are expected
  • Strace of the failing command, if applicable: (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)
    N/A

See our contributing instructions for assistance.

Copied from original issue: Microsoft/WSL#2204

Originally created by @bitcrazed on GitHub (Feb 16, 2018). _From @alexeyshishkin01 on June 9, 2017 6:21_ This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS! If you have a feature request, please post to [the UserVoice](https://wpdev.uservoice.com/forums/266908). If you're reporting a BSOD, don't post here! Instead, e-mail "secure@microsoft.com", and if possible attach the minidump from "C:\Windows\minidump\". * Your Windows build number: (Type `ver` at a Windows Command Prompt) D:\>ver Microsoft Windows [Version 10.0.15063] root@Alexey-HP:~# az --version | head -1 azure-cli (2.0.7) * What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots) I copy-paste a command into BashOnWindows and additional symbols are pasted: - what was copied is: az vm image list-publishers \ > --location northeurope \ > --query "[?starts_with(name, 'Microsoft')]" - what was pasted is: root@Alexey-HP:~# az vm image list-publishers \ ion> --location northeurope \ > --query "[?starts_with(name, 'Microsoft')]" * What's wrong / what should be happening instead: - additional symbols are pasted - no additional symbols are expected * Strace of the failing command, if applicable: (If `<cmd>` is failing, then run `strace -o strace.txt -ff <cmd>`, and post the strace.txt output here) N/A See [our contributing instructions](/CONTRIBUTING.md) for assistance. _Copied from original issue: Microsoft/WSL#2204_
claunia added the Product-ConhostResolution-Fix-Available labels 2026-01-30 21:43:05 +00:00
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @sunjoong on June 9, 2017 8:30

@alexeyshishkin01 - I think.... Screenshots of Get-Clipboard on windwos PowerShell and output of paste like below could be helpful to figure it out;
get-clipboard
Hmm.... and ignore the conents of above screenshots; In there, I pasted ">" to show the output of "i> > --location northeurope".

@bitcrazed commented on GitHub (Feb 16, 2018): _From @sunjoong on June 9, 2017 8:30_ @alexeyshishkin01 - I think.... Screenshots of `Get-Clipboard` on windwos PowerShell and output of paste like below could be helpful to figure it out; ![get-clipboard](https://user-images.githubusercontent.com/2748000/26966985-6683fdaa-4d37-11e7-9d31-0b2d3f4cccc4.png) Hmm.... and ignore the conents of above screenshots; In there, I pasted "`>`" to show the output of "`i> > --location northeurope`".
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on June 9, 2017 9:52

I'm attaching the screens from:

  • notepad
    3
  • power shell
    1
  • bash-on-windows
    2
    the main issue it doesn't repeat all the times - sometimes it does happen, the other time it doesn't
@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on June 9, 2017 9:52_ I'm attaching the screens from: - notepad ![3](https://user-images.githubusercontent.com/28735514/26970436-1a32f764-4d12-11e7-9452-f1b159ceeec1.jpg) - power shell ![1](https://user-images.githubusercontent.com/28735514/26970467-320f218c-4d12-11e7-9fd9-b40866303293.jpg) - bash-on-windows ![2](https://user-images.githubusercontent.com/28735514/26970499-4982b932-4d12-11e7-8b4c-c27b3581e436.jpg) the main issue it doesn't repeat all the times - sometimes it does happen, the other time it doesn't
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on June 9, 2017 9:54

additional symbols also vary

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on June 9, 2017 9:54_ additional symbols also vary
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @sunjoong on June 9, 2017 10:24

@alexeyshishkin01 - I see. You meant "ion" of your description and "_" of your bash-on-windows screenshot before ">", alike "li" and "u" before ">" on the below sceenshot;
ls

@bitcrazed commented on GitHub (Feb 16, 2018): _From @sunjoong on June 9, 2017 10:24_ @alexeyshishkin01 - I see. You meant "ion" of your description and "_" of your bash-on-windows screenshot before ">", alike "li" and "u" before ">" on the below sceenshot; ![ls](https://user-images.githubusercontent.com/2748000/26971550-92cc57fc-4d48-11e7-860b-e6177b5660b4.png)
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on June 9, 2017 10:32

exactly, I also noticed that searching through commands history by pressing up and down arrows can also make additional symbols to appear - it doesn't happen all the time, only from time to time

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on June 9, 2017 10:32_ exactly, I also noticed that searching through commands history by pressing up and down arrows can also make additional symbols to appear - it doesn't happen all the time, only from time to time
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @sunjoong on June 9, 2017 10:54

@alexeyshishkin01 - Hmm.... "garbage characters display" problem.... I prefer "garbage characters" to "additional symbols". I guess it might be related to terminfo database, but think we'll wait Mike as like before.

@bitcrazed commented on GitHub (Feb 16, 2018): _From @sunjoong on June 9, 2017 10:54_ @alexeyshishkin01 - Hmm.... "garbage characters display" problem.... I prefer "garbage characters" to "additional symbols". I guess it might be related to terminfo database, but think we'll wait Mike as like before.
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on June 9, 2017 11:53

ok, let's wait for Mike

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on June 9, 2017 11:53_ ok, let's wait for Mike
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @zadjii-msft on June 9, 2017 16:44

I'll mark it as a bug, this looks liker it's probably related to the other two bugs, #2131 and #2149.

@bitcrazed commented on GitHub (Feb 16, 2018): _From @zadjii-msft on June 9, 2017 16:44_ I'll mark it as a bug, this looks liker it's probably related to the other two bugs, #2131 and #2149.
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on June 9, 2017 21:8

thanks, waiting for the fix

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on June 9, 2017 21:8_ thanks, waiting for the fix
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @sunjoong on June 10, 2017 3:1

it's probably related to the other two bugs, #2131 and #2149.

@zadjii-msft - I feel... this might be from other source. I think this is a "garbage characters display" problem. I found other issue not related to WSL and saw this saying;

The only way you'd get what looks like garbage is if escape sequences are corrupted so a portion of that sequence is mistaken for text.

and thought that saying might be related to #1436 and #27 and this; I had searched "garbage".

@bitcrazed commented on GitHub (Feb 16, 2018): _From @sunjoong on June 10, 2017 3:1_ > it's probably related to the other two bugs, #2131 and #2149. @zadjii-msft - I feel... this might be from other source. I think this is a "garbage characters display" problem. I found [other issue not related to WSL](http://www.classiccmp.org/pipermail/cctalk/2016-September/027017.html) and saw this saying; > The only way you'd get what looks like garbage is if escape sequences are corrupted so a portion of that sequence is mistaken for text. and thought that saying might be related to #1436 and #27 and this; I had searched "garbage".
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on June 12, 2017 20:47

ok, pls. don't suggest to install newer OS version this time :-)

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on June 12, 2017 20:47_ ok, pls. don't suggest to install newer OS version this time :-)
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on July 21, 2017 15:31

any news?

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on July 21, 2017 15:31_ any news?
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @sunilmut on July 27, 2017 2:25

Will have to defer to @zadjii-msft on any update here. But, #2131 is marked fixed in Creators Update (which is what you are running) and #2149 is marked fixed in Windows Insider build 16234 (which is available now if you are on Insider build) or will be eventually on Fall Creators Update.

@bitcrazed commented on GitHub (Feb 16, 2018): _From @sunilmut on July 27, 2017 2:25_ Will have to defer to @zadjii-msft on any update here. But, #2131 is marked fixed in Creators Update (which is what you are running) and #2149 is marked fixed in Windows Insider build 16234 (which is available now if you are on Insider build) or will be eventually on Fall Creators Update.
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @zadjii-msft on July 27, 2017 16:55

Okay I've taken a look. It's not the other bugs I linked, that's for sure. I'm not really sure how it's happening yet, but I am assuming it has something to do with the way we're delivering pasted text to the buffer.

For my own records, the test text is this:

az vm image list-publishers \
--location northeurope \
--query "[?starts_with(name, 'Microsoft')]"

I don't see any weird VT sequences appearing in the output, so it's not that. Just looks like a character showing up in the output out of order. Strange that it's not consistent, nor is it a consistent char from the output either.

Still on the backlog, but it's not making Fall Creator's Update.

@bitcrazed commented on GitHub (Feb 16, 2018): _From @zadjii-msft on July 27, 2017 16:55_ Okay I've taken a look. It's not the other bugs I linked, that's for sure. I'm not really sure how it's happening yet, but I am assuming it has something to do with the way we're delivering pasted text to the buffer. For my own records, the test text is this: ``` az vm image list-publishers \ --location northeurope \ --query "[?starts_with(name, 'Microsoft')]" ``` I don't see any weird VT sequences appearing in the output, so it's not that. Just looks like a character showing up in the output out of order. Strange that it's not consistent, nor is it a consistent char from the output either. Still on the backlog, but it's not making Fall Creator's Update.
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on July 28, 2017 7:16

simple test with your 'az' command on my machine:

root@Alexey-HP:/root# az --version | head -1
azure-cli (2.0.10)
root@Alexey-HP:/root# az vm image list-publishers \

--location northeurope
ft> --query "[?starts_with(name, 'Microsoft')]"
Name Location


Microsoft northeurope
Microsoft.Azure.Applications northeurope
Microsoft.Azure.Backup.Test northeurope
...

you see additional symbols are pasted, next run is different:

root@Alexey-HP:/root# az vm image list-publishers \

--location northeurope
i> --query "[?starts_with(name, 'Microsoft')]"
Name Location


Microsoft northeurope
Microsoft.Azure.Applications northeurope
Microsoft.Azure.Backup.Test northeurope
...

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on July 28, 2017 7:16_ simple test with your 'az' command on my machine: root@Alexey-HP:/root# az --version | head -1 azure-cli (2.0.10) root@Alexey-HP:/root# az vm image list-publishers \ > --location northeurope \ ft> --query "[?starts_with(name, 'Microsoft')]" Name Location ---------------------------------------------------- ----------- Microsoft northeurope Microsoft.Azure.Applications northeurope Microsoft.Azure.Backup.Test northeurope ... you see additional symbols are pasted, next run is different: root@Alexey-HP:/root# az vm image list-publishers \ > --location northeurope \ i> --query "[?starts_with(name, 'Microsoft')]" Name Location ---------------------------------------------------- ----------- Microsoft northeurope Microsoft.Azure.Applications northeurope Microsoft.Azure.Backup.Test northeurope ...
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @benhillis on August 3, 2017 16:46

Fixed in 16257.

@bitcrazed commented on GitHub (Feb 16, 2018): _From @benhillis on August 3, 2017 16:46_ Fixed in 16257.
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on August 3, 2017 18:53

thanks, how to grap the fix?

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on August 3, 2017 18:53_ thanks, how to grap the fix?
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @benhillis on August 3, 2017 18:56

@alexeyshishkin01 - Installing the most recent Windows Insider Fast build: https://blogs.windows.com/windowsexperience/2017/08/02/announcing-windows-10-insider-preview-build-16257-pc-build-15237-mobile/

@bitcrazed commented on GitHub (Feb 16, 2018): _From @benhillis on August 3, 2017 18:56_ @alexeyshishkin01 - Installing the most recent Windows Insider Fast build: https://blogs.windows.com/windowsexperience/2017/08/02/announcing-windows-10-insider-preview-build-16257-pc-build-15237-mobile/
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on August 3, 2017 23:12

got it, installed it, windows rebooted, start testing:

root@Alexey-HP:/root# az vm create
ev> --name imagevm \

--resource-group centosresourcegroup
--image "$imageid"
--location northeurope
--size Standard_DS1
--> --ssh-key-value ~/.ssh/id_rsa.pub
--admin-username azureuser
--authentication-type ssh
--public-ip-address-dns-name imagevm-dnsname
--os-disk-name imagevm-osdisk
--storage-sku Standard_LRS

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on August 3, 2017 23:12_ got it, installed it, windows rebooted, start testing: root@Alexey-HP:/root# az vm create \ ev> --name imagevm \ > --resource-group centosresourcegroup \ > --image "$imageid" \ > --location northeurope \ > --size Standard_DS1 \ --> --ssh-key-value ~/.ssh/id_rsa.pub \ > --admin-username azureuser \ > --authentication-type ssh \ > --public-ip-address-dns-name imagevm-dnsname \ > --os-disk-name imagevm-osdisk \ > --storage-sku Standard_LRS
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on August 4, 2017 11:36

got some more update of Windows Insider Fast build
restarted Windows
started testing the fix

Microsoft Windows [Version 10.0.16257.1]
(c) 2017 Microsoft Corporation. All rights reserved.

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on August 4, 2017 11:36_ got some more update of Windows Insider Fast build restarted Windows started testing the fix Microsoft Windows [Version 10.0.16257.1] (c) 2017 Microsoft Corporation. All rights reserved.
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on August 7, 2017 19:40

no issues so far, still testing

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on August 7, 2017 19:40_ no issues so far, still testing
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

From @alexeyshishkin01 on August 29, 2017 11:28

hello, all!
no issues since the Windows update.

@bitcrazed commented on GitHub (Feb 16, 2018): _From @alexeyshishkin01 on August 29, 2017 11:28_ hello, all! no issues since the Windows update.
Author
Owner

@bitcrazed commented on GitHub (Feb 16, 2018):

Thanks for testing & confirming. Looks like this is fixed so closing for now.

@bitcrazed commented on GitHub (Feb 16, 2018): Thanks for testing & confirming. Looks like this is fixed so closing for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#125