-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Cannot scroll buffer in Terminal with inbox telnet client #6056
Comments
Hi, please make sure you're using the bug report template when you file issues. What SSH client are you using? |
Hi Dustin,
Actually I'm able to scroll through on SSH logins. I'm currently using the
OpenSSH Beta. It's with Telnet that I'm not able to scroll.
Regards,
|
Cool. Which telnet client? |
for telnet i'm using the one that you add on the windows feature.
|
Hi, I'd just like to state that I'm seeing the same issue. I'm using Terminal 1.0.1401.0 It's only happening with telnet, not SSH. I'm using the inbuilt Windows 10 telnet client. It happens with both PowerShell and Command Prompt running in Terminal. I can successfully scroll using the old Console, with both Command Prompt and PowerShell. I hope this helps. |
Hi,
After connecting to ssh, when I edit the source with vi (vim), when I scroll the mouse, strange characters are displayed. I haven't experienced it in other ssh tools. I use the |
Any chance getting this as higher priority? This is a bug that breaks compatibility with Microsoft's own existing functionality (telnet) and it could be a blocking bug that forces people dropping Terminal :( |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I found a temporary solution. Plink from PuTTY works acceptable in this case. As mentioned in PuTTY documentation, "Plink is probably not what you want if you want to run an interactive session in a console window" but it works with Windows Terminal even better than native MS telnet.exe |
Hi, I confirm @shaunthorne 's workaround is working and is an acceptable solution in this case. I've been trying to use Windows Terminal as the default console application for GNS3 network simulation software, and had the same buffering issues everyone is talking about. thx |
This comment was marked as spam.
This comment was marked as spam.
I have the same issue with build-in telnet client. And I think, that I understand reasons for that behavior. Windows console have such thing as screen buffers and build-in telnet client use them. Also old console window does not actually have scroll-back buffer: all scrollable region is part of screen buffer, while in Windows Terminal screen buffer have size of the window. |
The work around I used was wsl. I saw others mention using plink, but when I control+c, plink would exit. Using WSL + telnet does not have this issue. |
For those of you here trying to get GNS3 to use the new Windows Terminal (like me), I just want to leave a note to spare you the hours of frustration I spent trying to get it to work. The command above launches the default WSL instance -- for me, this was a WSL2 instance. The WSL2 instance runs on a special/hidden virtual Switch, while the GNS3 VM on Hyper-V runs on the Default Switch. Communication between these two switches is restricted. The solution is to install a WSL1 instance and specify that instance in the console application:
(use whichever distro you like, note that for Debian I had to Then use this Distro to launch your telnet sessions: (I don't know the significance of including or omitting My final GNS3 Console Command looked like this: |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This solution is not satisfying because plink does not offer command history with arrow up and down. the original issue has not been solved yet. |
I spent some time trying to figure out what's going on under the hood about this Here are sequences I get with and without
CMD:
I don't know if this is helpful at all, but just wanted to share my findings. |
I also don't know if this just magically got better after 1.22, with the big-ol conpty rewrite. |
I think nukoseer's log above is evidence that they're already using the new conpty rewrite. It appears that the Windows telnet client is scrolling the buffer with a This is no better or worse than it was before (well except that it's now a lot more efficient). The fundamental issue is that the conhost buffer in this situation is the same size as the viewport (as has been previously mentioned), so telnet's attempt to scroll just appears to us like it's copying a block of data within the viewport. But with the new conpty translation, it might now be possible to detect that as a special case (i.e. a |
Hi, I love the new Windows Terminal. I've manage to add my routers and switches to it but the only issue I have is that I can't scroll. Once I log into my switch using ssh, I can't seem to scroll up to see what's above. Kindly let me know how I can activate scrolling.
PS. scrolling works for regular CMD or PowerShell.
The text was updated successfully, but these errors were encountered: