-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Display problem when using "less" command #9431
Comments
@TypicalSEE Which version of |
This sounds like #9176. |
"OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5", installed from Windows 10 “Optional Feature”. |
In that case, I suspect that you're hitting the screen size change buffering issue in PowerShell/openssh-portable#426. Even though it doesn't look like the screen size is changing, less is turning on the "alternate buffer" which reports a window resize. OpenSSH, until pull 426, had trouble handling the resize event. If you run OpenSSH 8.1 from the win32-openssh releases page, does it go away? |
Downloaded OpenSSH 8.1 from that page and tried it, the problem still exists. By the way, ssh version of my remote server is "OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017". Should I also upgrade that one? |
Three answers will help the Microsoft (and other) people:
|
I apologize. The pull request that fixes the buffering/repeat issue merged on April 2, 2020 but the 8.1 release came out in Dec 2019. I do not know why I thought it might help. 😄 |
@TypicalSEE There's now an OpenSSH 8.6 (https://github.com/PowerShell/Win32-OpenSSH/releases/tag/V8.6.0.0p1-Beta), mind trying that one? We think that might have the fix |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
I had a similar issue and that version fixed it. |
I'll count that, thanks for confirming! |
Windows: Microsoft Windows [版本 10.0.19041.804]
Terminal: 1.6.10571.0
Hi, I'm using OpenSSH to connect to a remote Linux server under Windows Terminal. But the output of "less -SN" seems not normal. The first screenshot shows it: the 19th line appears besides the 1st line. The second screenshot is the normal output (after I quit and type that command again). Unexpected output were not about a fixed line. Sometimes it's the 1st line overlapping with another line but other times it was some other lines repeating themselves. I had been using Putty to connect to a remote servers before but nerver met this problem so I think it might be a bug of Windows Terminal. Thanks.
![issue](https://user-images.githubusercontent.com/22927497/110595671-47e42900-81b9-11eb-8157-7431ac5bbaa6.png)
The text was updated successfully, but these errors were encountered: