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

Arrow keys to navigate not working in nano when ssh'd with Plink #11599

Closed
SweptWasTaken opened this issue Oct 24, 2021 · 2 comments
Closed

Arrow keys to navigate not working in nano when ssh'd with Plink #11599

SweptWasTaken opened this issue Oct 24, 2021 · 2 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-External For issues that are outside this codebase

Comments

@SweptWasTaken
Copy link

Windows Terminal version (or Windows build number)

1.12.2931.0

Other Software

GNU nano 2.5.3

Steps to reproduce

  1. Create a custom profile in Windows Terminal that uses plink.exe to load a putty profile and ssh into something.
  2. Attempt to modify a text-file with nano.
  3. Try to use the arrow keys to navigate around the text-file.

Expected Behavior

The arrows keys should be working to navigate around the text file.

2021-10-24_12-37-20

Actual Behavior

The arrow keys don't function. ^f etc. are the only ways to replicate the arrow keys.

2021-10-24_12-39-00

@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 Oct 24, 2021
@serd2011
Copy link
Contributor

It's already have been mentioned here #10943 (comment)

Anyway, plink is not intended for interactive use.

After 30 seconds of experimentation - yea that's the impression I get. Arrow keys definitely didn't work, and Ctrl+C did instantly kill plink, instead of get sent to the client. Output seemed generally okay, but that's probably because we're opting them in to VT processing by default for output. (I idly wonder if this would work if we also opted them in to vt input by default)

That being said, the sessions are all listed in Computer\HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions, so enumerating them is easy enough. It's just the input thing that seems wonky.

Also it is not displayed properly
image

@zadjii-msft
Copy link
Member

Yep. Sorry. I wish it weren't the case, but plink doesn't seem to be usable interactively. It'd be great to follow up with putty and file this on them though!

@zadjii-msft zadjii-msft added the Resolution-External For issues that are outside this codebase label Oct 25, 2021
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 Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-External For issues that are outside this codebase
Projects
None yet
Development

No branches or pull requests

3 participants