Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I use "htop" command for linux (+F5), layout on 2 my vps different:

First server Second server

Why on my first server I see broken tree?

share|improve this question

2 Answers 2

It's probably to do with your terminal on the vps server. You can check your terminal with

env|grep -i term

They are probably different.

edit 1

and do you have one of those in terminfo database ?

ls -l /lib/terminfo/x/

edit 2

Well different distributions can locate them at different locations. documentation can be read,

man 5 terminfo

less /etc/terminfo/README

man infocmp

share|improve this answer
    
Same answer on both servers: TERM=xterm –  SPnova Mar 16 at 8:50
    
On one my server(correct) I see correct listing: [total 36] But on my another (incorrect) server I see: [No such file or directory] Correct file on this server in another directory: [ls -l /usr/share/terminfo/x] Should I copy this file to [/lib/terminfo/x/] folder and reboot server? –  SPnova Mar 16 at 9:32

I'd interrogate the tool you're using to connect to these servers. This definitely looks like a terminal display issue, and since you're saying the environment variable TERM=xterm is being set identically on both, I'd make sure the options on your terminal emulator are also set consistently.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.