You are not logged in.

#1 2015-11-10 16:45:03

tunder
Member
From: Bucharest, Romania
Registered: 2015-11-10
Posts: 4
Website

Silly htop tree question

Hi,

My htop (latest version 1.0.3-3) tree view looks like this:
31783ua.png

while on the official site is like this:
214sifs.png

What am I missing? Some configuration, locale, encoding, ncurses, etc.?

Thank you,
I

Offline

#2 2015-11-10 16:56:56

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Silly htop tree question

Which terminal are you using, and in it which font?

Offline

#3 2015-11-10 17:10:16

tunder
Member
From: Bucharest, Romania
Registered: 2015-11-10
Posts: 4
Website

Re: Silly htop tree question

Stefan Husmann wrote:

Which terminal are you using, and in it which font?

thank you for reply.
i'm connecting to that Arch machine over ssh from osx. htop from other servers (not arch) are showing the tree nice (without backticks and pipes). i think it's a server side setting or something.

Offline

#4 2015-11-10 17:15:20

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: Silly htop tree question

It's possible that the terminal information (terminfo) of your OS X terminal do no exist on the server, hence the server has very limited knowledge about what the terminal is able to print, and thus falls back to ASCII-only output.

This is a known issue for rxvt-unicode, for instance: the server needs to have the rxvt-unicode-terminfo package installed in order to cope well with clients connecting inside an rxvt-unicode terminal. However, unfortunately I have no idea how to make Arch recognise the OS X terminal correctly...


pkgs │ hacks │ cfg │ blag

Offline

#5 2015-11-10 17:27:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Silly htop tree question

infocmp $terminal $terminal_info
scp $terminal_info remotebox:
ssh remotebox
sudo tic $terminal_info

# edit: assuming OSX has the same ncurses tools...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-11-10 19:37:16

tunder
Member
From: Bucharest, Romania
Registered: 2015-11-10
Posts: 4
Website

Re: Silly htop tree question

thank you for your help

@ayekat: i have installed rxvt-unicode-terminfo
@jasonwryan: i have compared infocmp output from both local (OS X) and remote (Arch). they have some differences. i tried tic command as well and didn't worked.

also i tried with both terminal and iterm2. both of them have settings on how to "report terminal as". i tried: linux, rxvt, xterm, xterm-256color ... all with no success.

Offline

#7 2015-11-10 19:42:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Silly htop tree question

"didn't worked" is not an error message: https://bbs.archlinux.org/viewtopic.php?id=57855


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2015-11-10 21:55:54

tunder
Member
From: Bucharest, Romania
Registered: 2015-11-10
Posts: 4
Website

Re: Silly htop tree question

didn't worked means that i have same visual result. tic command was executed without errors (or else i would have posted the error log here)

i thought it was an easy way out, maybe something i missed. it is not such a pressing problem.

thank you all for your time.

Offline

Board footer

Powered by FluxBB