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
hcc1187 opened this Issue Mar 11, 2019 · 15 comments

Comments

Projects
4 participants
@hcc1187
Copy link

hcc1187 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

This comment has been minimized.

Copy link
Owner

Maximus5 commented Mar 12, 2019

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

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Mar 12, 2019

Same as gh-1846

@Maximus5 Maximus5 added the other-ssh label Mar 12, 2019

@tdihp

This comment has been minimized.

Copy link

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

@hcc1187

This comment has been minimized.

Copy link
Author

hcc1187 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.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Mar 13, 2019

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

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Mar 13, 2019

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

@Maximus5 Maximus5 added the ansi label Mar 13, 2019

@Maximus5 Maximus5 added this to the 190311 milestone Mar 13, 2019

@hcc1187

This comment has been minimized.

Copy link
Author

hcc1187 commented Mar 13, 2019

@Maximus5 buffer and status attached per your request:

190303-ssh-htop

190310-ssh-htop

@tdihp

This comment has been minimized.

Copy link

tdihp commented Mar 14, 2019

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

@bazzilic

This comment has been minimized.

Copy link

bazzilic commented Mar 18, 2019

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

@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

@hcc1187

This comment has been minimized.

Copy link
Author

hcc1187 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.

@Maximus5 Maximus5 modified the milestones: 190311, 190318 Mar 25, 2019

@Maximus5

This comment has been minimized.

Copy link
Owner

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.

@hcc1187

This comment has been minimized.

Copy link
Author

hcc1187 commented Mar 31, 2019

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

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Mar 31, 2019

@hcc1187

This comment has been minimized.

Copy link
Author

hcc1187 commented Mar 31, 2019

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

@Maximus5

This comment has been minimized.

Copy link
Owner

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.

@Maximus5 Maximus5 closed this Apr 1, 2019

ANSI automation moved this from Ready for Testing to Done Apr 1, 2019

DanaMW added a commit to DanaMW/ConEmu that referenced this issue Apr 2, 2019

Merge remote-tracking branch 'upstream/master'
* upstream/master:
  190331 release files
  190331 Chocolatey and Nuget
  Maximus5gh-1851: Restore contents after return from Alternative screen was broken.
  Internal. Add some notes to RefillConsoleAttributes
  Internal. Fix cl warning
  Maximus5gh-1870: Add switch `/t:<temp dir>` to Setupper.
  Internal. Ensure all vars are initialized
  Maximus5gh-1871: Add some logs to WindowPosChaning.
  Internal. Integer arithmetics
  Maximus5gh-1838: Log start/stop command from Far.exe.
  Maximus5gh-1878: Enable log in `ConEmuC /c` when started from Far.exe.
  Internal. Check for invalid arguments
  Internal. Let CLogFunction log begin/end times
  Internal. Prettify logs
  Internal. Define global ConEmuCD_DLL_3264 macro
  Maximus5gh-1877: Option 'Snap to desktop edges' was broken (regression 663a216).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.