PowerShell / PowerShell/Win32-OpenSSH

Not propagating client resizing

Open
#1,336 0 comments 3 reactions 1 assignee View on GitHub

@bagajjal is already working on this.

Since Jul 16, 2020.

0 - Backlog
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

"OpenSSH for Windows" version
7.6.0.1

Server OperatingSystem
Windows 10 Pro

Client OperatingSystem
macOS 10.14.3 (Darwin Kernel Version 18.2.0)

What is failing
It doesn't appear as if sigwinch (or something like that) is properly being sent. I have it set up to straight into wsl, and that works great, but if I resize my client terminal, the rows and cols doesn't update. I've seen some of the other issues that are maybe related, but like #1039 is talking about ssh.exe, whereas this is from an external non-windows client. So maybe it's different?

Expected output
before resize:

$ echo -e "lines\ncols"|tput -S
24
70

after resize:

$ echo -e "lines\ncols"|tput -S
43
151

Actual output

before resize:

$ echo -e "lines\ncols"|tput -S
24
70

after resize:

$ echo -e "lines\ncols"|tput -S
24
70

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.