I use SSH a lot. I need it for work just about every day. I often have to paste, but being SSH, neither ctrl-v nor ctrl-shift-v work. I usually nvda-shift-left once to the system menu and use nvda-enter to open it, then hit e, p. But why does this not always work? I need to repeat the object nav steps between 0 and 20 times before the menu will open. Rarely, focus will jump to the Windows widgets, just to keep things interesting. I don't get it.
@nsa Windows, but SSH, so the remote host is in charge of most of the keystrokes. I've tried insert combinations before with no luck.
@modulux @alexhall this is very strange. (I'm sighted and not using a screen reader, so I might say stupid things.)
I just tried Windows 11 + cmd.exe (which opens Windows Terminal for me) + ssh.exe; I could paste with shift+insert on a remote session; the hotkeys seem to be handled by Windows Terminal.
Windows Terminal allows changing the paste hotkey, I tried changing it to ctrl+j and it worked too.
@modulux @tspivey Hey! When I checked a bit ago, the option to use ctrl-shift-c/v was checked, as it has been for years. I checked again while searching for the legacy console option, and that option had gotten unchecked. I checked it again, and now ctrl-shift-v works, even over SSH. I guess I just had to turn the option off and back on!
@modulux @alexhall maybe it's a problem with the copying instead of the pasting? Have you tried copying from a different Windows application like Notepad?
(I'm checking now that with Windows Terminal, you can use ctrl+shift+m to activate select mode. Not really sure how to do selections in Windows Terminal with accessibility features...)
(Again, if I'm saying dumb things because I know little about this, feel free to disregard.)
@modulux @alexhall dang, that's weird. I'd poke with trying to change the paste shortcut in Windows Terminal, but I have little faith on that.
I'm really puzzled. There's many things about terminal emulation that can cause issues, like backspace not working, but it's been maybe a decade since I've suffered any significant issue. (Except for programs breaking under GNU Screen, of course.)
I'll go install NVDA, I've always wanted to play with it.
@alexhall @modulux hmmm, well, NVDA under remote desktop is weird.
But what I noticed, with NVDA activated, to paste I have to hold shift, then press ins twice fast enough for paste to work.
But I'm using Windows 11, and running cmd.exe opens a tab in Windows Terminal (with the classic cmd, just using the Windows Terminal user interface). So Windows 10 might be different.
@modulux @alexhall for me, with NVDA, it shift+insert+insert works the same in cmd.exe and within ssh.exe inside cmd.exe.
From what I understand about terminals and SSH, SSH should not make any difference. So it's sounds like this surpasses my knowledge.
I'm following alexhall now and I was already following modulux; if you ever figure it out, I'm supercurious!
(Let me know if I can do anything more, but I think I'm useless right now.)
@yo @alexhall @modulux In case it might be useful to you.
Try the Console Log add-on.
It has a configurable shortcut specifically for those consoles where pasting doesn't work properly.
It also includes other utilities.
If that's the only feature you need, I can extract it into a simple script for the scratchpad folder.
Here is the latest version of the add-on:
https://github.com/nvda-es/consoleLog/releases/download/1.4/consoleLog-1.4.nvda-addon