Pasting not working in wsl console


Abdulqadir Ahmad
 

I updated my NVDA today to nvda 2023.1. Immediately after updating, I noticed pasting on wsl console with ctrl-v doesn't work. It works on powershell though. To paste, I am currently using numpad multiply.
I haven't updated any of my add-ons so, non is working i guess. I read the what's new page and nothing was said about something like this. Please any idea what is wrong?
I'm using win 10 22h2 build 1945. NVDA 2023.1 and wsl 1.1.3


Kefas
 

The problem is with the WSL, some times an update of the WSL is enough

Use ctrl +shift +V to paste, or just click the right mouse, and it will automatically paste the content of the clipboard

 

 

Sent from kefaslungu

 

From: Abdulqadir Ahmad
Sent: 29 March 2023 21:23
To: nvda@nvda.groups.io
Subject: [nvda] Pasting not working in wsl console

 

I updated my NVDA today to nvda 2023.1. Immediately after updating, I

noticed pasting on wsl console with ctrl-v doesn't work. It works on

powershell though. To paste, I am currently using numpad multiply.

I haven't updated any of my add-ons so, non is working i guess. I read

the what's new page and nothing was said about something like this.

Please any idea what is wrong?

I'm using win 10 22h2 build 1945. NVDA 2023.1 and wsl 1.1.3

 

 

 

 

 

 


Pranav Lal
 

Hi,

Try ctrl+shift+v for pasting.

Pranav

-----Original Message-----
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Abdulqadir Ahmad
Sent: Thursday, March 30, 2023 1:54 AM
To: nvda@nvda.groups.io
Subject: [nvda] Pasting not working in wsl console

I updated my NVDA today to nvda 2023.1. Immediately after updating, I noticed pasting on wsl console with ctrl-v doesn't work. It works on powershell though. To paste, I am currently using numpad multiply.
I haven't updated any of my add-ons so, non is working i guess. I read the what's new page and nothing was said about something like this.
Please any idea what is wrong?
I'm using win 10 22h2 build 1945. NVDA 2023.1 and wsl 1.1.3


 

On Wed, Mar 29, 2023 at 04:23 PM, Abdulqadir Ahmad wrote:
I updated my NVDA today to nvda 2023.1. Immediately after updating, I noticed pasting on wsl console with ctrl-v doesn't work. It works on powershell though. To paste, I am currently using numpad multiply.
-
Also remember that PowerShell is a part of the native Windows ecosystem itself, so the standard native Windows commands like cut, copy, and paste should be expected to work there.

WSL is a hybrid beast that's best thought of as a kinda-sorta virtual machine that runs sandboxed from Windows itself.  There are special ways to copy in either of those environments, and pass it through to the other.  It sounds like in this case there is a typical cut or copy under Windows that requires a special paste command within WSL to pass that data through.  And it probably works the same in reverse, too.
--

Brian Virginia, USA Windows 11 Pro, 64-Bit, Version 22H2, Build 22621; Office 2016, Version 16.0.15726.20188, 32-bit

It is much easier to be critical than to be correct.

       ~ Benjamin Disraeli, 1804-1881


Abdulqadir Ahmad
 

My main problem with it is that i can't use it in command line text editors. On normal bash interface, I can just click numpad multiply and it will paste but it doesn't work in vim. I'll check if the problem might befrom the wsl.


Abdulqadir Ahmad
 

On 3/30/2023 2:26 AM, Pranav Lal wrote:
Hi,

Try ctrl+shift+v for pasting.

Pranav
--

It doesn't work. I just tried exiting nvda and pasting and it also doesn't work. It might be from wsl. Thanx for


 

See Microsoft Blog article (dating from 2018):  https://devblogs.microsoft.com/commandline/copy-and-paste-arrives-for-linuxwsl-consoles/

The use of CTRL + SHIFT + C/V to work across ecosystems was, at least then, a setting that needed to be activated before using.
--

Brian Virginia, USA Windows 11 Pro, 64-Bit, Version 22H2, Build 22621; Office 2016, Version 16.0.15726.20188, 32-bit

It is much easier to be critical than to be correct.

       ~ Benjamin Disraeli, 1804-1881


Kefas
 

It some times doesn’t work.

What I always do is using the right mouse.

 

Sent from kefaslungu

 

From: Brian Vogel
Sent: 30 March 2023 16:26
To: nvda@nvda.groups.io
Subject: Re: [nvda] Pasting not working in wsl console

 

See Microsoft Blog article (dating from 2018):  https://devblogs.microsoft.com/commandline/copy-and-paste-arrives-for-linuxwsl-consoles/

The use of CTRL + SHIFT + C/V to work across ecosystems was, at least then, a setting that needed to be activated before using.
--

Brian Virginia, USA Windows 11 Pro, 64-Bit, Version 22H2, Build 22621; Office 2016, Version 16.0.15726.20188, 32-bit

It is much easier to be critical than to be correct.

       ~ Benjamin Disraeli, 1804-1881