Why htop looks this weird?
Not downloaded yet
This is an image to illustrate the title.
EDIT: also tried with putty, mintty, cygwin and msys2 and they all look the same.
EDIT2: bad news, it's working fine locally, the problem exists only with remote access
Edited 13 Mar 2018. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 100% up
- Kind
- Image
- ID
- 83rm55
20 comments
You're in settings
Look at the header, it's not right, also check the column names like "Setup t colu" and the options like "Meter US (1/"
It's all out of place.
Yeah, i assume this is putty > ssh > htop?
Oh satan, "bash from git"? On Windows? Yeah mate just virtualize Linux or dual boot. I have an actual passionate hatred for Putty on Windows. It's just total shit. Cygwin is better...but it's no substitute for using openssh in a proper Linux terminal emulator. Escape sequences can be handled...really strangely as a carryover from the DOS roots of Windows.
You can stop bashing Windows any time you want. There is a solution, which is https://www.msys2.org/, providing a bash console with Pacman on Windows. If that's not good enough, you can use Microsoft's Linux translation layer to get Linux binary support, with wsltty to get a terminal which isn't shit (the translation layer is win10 and above).
Yes the default console handling is terrible. That's why we use mintty which is by all accounts a good terminal following the same standards as a Linux one.
thanks, didn't know about msys2, will be using this from now own, but still, even with msys2 I got the same thing
Just tried with putty, mitty, cygwin, msys2, and they all look the same.. =[
When I get home I'll try locally because I don't think it's an issue with the terminal itself, but with some config on the machine.
Can you get us the version of your terminal on Windows? If it's mintty, you can right click on the title bar, select options, then About.
If it isn't, your problem is Windows' terrible built in console system. Luckily there is an answer that should be even more appealing as an arch user: https://www.msys2.org/
It's pacman on Windows! It uses mintty, which I've never had any troubles with terminal handling with, and the developer is awesome!
mintty 2.7.3 (i686-pc-msys)
But the thing is that this havent changed since the previous installation, which worked fine..
Just found out about msys2, and it's awesome, I'll be eusing this from now on, but even with it, it's the same.
You need to change your locale settings to UTF-8: https://wiki.archlinux.org/index.php/locale
make sure to run
locale-gen.And set putty to use unicode.
Can confirm that this is the correct solution, thank you very much!
It might not be related but try running
TERM=xterm htopnop, didn't do anything different