-
Notifications
You must be signed in to change notification settings - Fork 794
Description
"OpenSSH for Windows" version
8.1.0.0
OpenSSH_for_Windows_8.1p1
Server OperatingSystem
Windows 7 Professional
Client OperatingSystem
Ubuntu Linux 18.04
What is failing
How to reproduce:
- Open on Linux an xterm window of size 80x50
- Type
ssh windows7host
into that xterm window to start an interactive session withcmd.exe
on a Windows 7 machine running OpenSSH sshd 8.1p1.
$ xterm -geometry 80x50 -e 'ssh windows7host'
- Type commands that produce a lot of lines, such as
dir
oripconfig
, repeatedly until the cursor reaches the bottom of the window and starts scrolling. - Observe if the cursor reaches the bottom of the xterm window and starts scrolling the xterm screen content.
Expected output
When enough lines have been output, the cursor should reach the bottom of the xterm window and then cause it to scroll its screen content upwards.
This is indeed what happens if the xterm window is 46 lines or less high.
Actual output
If the xterm window is more than 46 lines high, my installation of sshd 8.1p1 on Windows 7 does not allow the cursor to go below line 46. Once the cursor has reached line 46, it stays in that line, with new lines overwriting previous lines there. As the cursor never reaches the bottom of the xterm window, it does not scroll. Additional command output remains unreadable as a result, until I type cls
to move the cursor back to the top of the screen.