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

htop fails to render properly on ssh #1851

Closed
hasancemcerit opened this issue Mar 11, 2019 · 15 comments
Closed

htop fails to render properly on ssh #1851

hasancemcerit opened this issue Mar 11, 2019 · 15 comments
Projects
Milestone

Comments

@hasancemcerit
Copy link

@hasancemcerit hasancemcerit commented Mar 11, 2019

Versions

ConEmu build: 190310/x64
OS version: Windows 10/x64
Used shell version: powershell - OpenSSH

Problem description

When connected to a (ubuntu) vm and using OpenSSH and run htop command

Steps to reproduce

  1. Connect to Ubuntu VM terminal using OpenSSH
  2. htop

Actual results

htop displays without any formatting:

htop-NOT-working-build-190310

Expected results

htop displays correctly as it was in previous ConEmu build (190303).

htop-working-build-190303

Additional files

Can be provided upon request.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 12, 2019

Unless you run ssh in connector, all display issues should be addressed to your ssh client authors

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 12, 2019

Same as gh-1846

Loading

@tdihp
Copy link

@tdihp tdihp commented Mar 13, 2019

Hi, I'm not sure if the ssh here is the windows 10 provided ssh?

The SSH client I'm using is, from ConEmu+CMD:

$ ssh -V
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

And after ssh-ing to a remote Ubuntu, htop command works well.
(While byobu doesn't)

My ConEmu is 190303/x64

Loading

@hasancemcerit
Copy link
Author

@hasancemcerit hasancemcerit commented Mar 13, 2019

@tdihp version 190303 was working already. I've even attached screenshot of it working.

The issue is for the newest preview release which is 190310.

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 13, 2019

@hcc1187 Are you sure that now build (190303) works and (190310) doesn't?

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 13, 2019

There is no status bar on screenshots, no build, no screen sizes, no buffer info

Loading

@Maximus5 Maximus5 added the ansi label Mar 13, 2019
@Maximus5 Maximus5 added this to the 190311 milestone Mar 13, 2019
@hasancemcerit
Copy link
Author

@hasancemcerit hasancemcerit commented Mar 13, 2019

@Maximus5 buffer and status attached per your request:

190303-ssh-htop

190310-ssh-htop

Loading

@tdihp
Copy link

@tdihp tdihp commented Mar 14, 2019

@hcc1187 Ahh, now I've also tried 190310+cmd+ssh+htop, I can confirm the screen do act strangely.

Loading

@bazzilic
Copy link

@bazzilic bazzilic commented Mar 18, 2019

I can confirm that 190310 breaks compatibility with htop and some other pseudo-gui apps over SSH

Loading

@Maximus5 Maximus5 added this to To Do in ANSI via automation Mar 24, 2019
@Maximus5 Maximus5 moved this from To Do to Ready for Testing in ANSI Mar 24, 2019
@hasancemcerit
Copy link
Author

@hasancemcerit hasancemcerit commented Mar 25, 2019

@Maximus5 just installed latest version 190324 and confirmed that htop on ssh is back to normal.
👍
However, one little thing now is that when F10 exit, the screen is not clearing.

Loading

@Maximus5 Maximus5 removed this from the 190311 milestone Mar 25, 2019
@Maximus5 Maximus5 added this to the 190318 milestone Mar 25, 2019
@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 30, 2019

when F10 exit, the screen is not clearing.

@hcc1187 Please add some screenshots illustrating that (before, htop, after). StatusBar should be visible of course.

Loading

@hasancemcerit
Copy link
Author

@hasancemcerit hasancemcerit commented Mar 31, 2019

@Maximus5 attached per your request
before htop:
ConEmu-htop-over-ssh-before
after F10 (exit):
ConEmu-htop-over-ssh-after

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 31, 2019

Loading

@hasancemcerit
Copy link
Author

@hasancemcerit hasancemcerit commented Mar 31, 2019

just updated to latest preview version 190331 and there's a substantial lag but it clears the screen.

Loading

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Apr 1, 2019

Of course lag persists. And it depends on the length of the buffer.

To avoid lags - just use ssh versions with connector - wsl, cygwin, etc.

Loading

@Maximus5 Maximus5 closed this Apr 1, 2019
ANSI automation moved this from Ready for Testing to Done Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
ANSI
  
Done
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants